Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175715 - [2.6.20 regression] snd-usb-audio not claiming Logitech QC device
Summary: [2.6.20 regression] snd-usb-audio not claiming Logitech QC device
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Daniel Drake (RETIRED)
URL: https://bugtrack.alsa-project.org/als...
Whiteboard: linux-2.6.20-regression
Keywords:
: 175717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-23 16:28 UTC by gglaboussole
Modified: 2007-05-19 05:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg and /proc/bus/usb/devices from both kernel (kernel.log,41.58 KB, text/plain)
2007-04-26 17:53 UTC, gglaboussole
Details
uname -a AND .config of 2.6.20-r6 kernel (uname_AND_.config.txt,42.17 KB, text/plain)
2007-04-26 20:45 UTC, gglaboussole
Details
patch proposed on ubuntu by sergio martinez (patch.txt,624 bytes, patch)
2007-04-27 21:25 UTC, gglaboussole
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gglaboussole 2007-04-23 16:28:45 UTC
Sorry for my bad english,
I have upgraded 2.6.19-r5 to 2.6.20-r6 and udev (i think) don't create my usb micro device anymore....if I come back to 2.6.19-r5 then it's all right..the micro usb is created..
I have upgraded with make menu config (not with make oldconfig) and I have no answer on forum
The camera is ok but not the micro
Nothing interresting in my logs
I have the same issue with the new ubuntu (kernel 2.6.17 ==> 2.6.20...)
that's why I think there is a problem with the new stable kernel...




Reproducible: Always

Steps to Reproduce:
1.upgrading 2.6.19-r5 to 2.6.20-r6
2.
3.

Actual Results:  
with 2.6.20-r6 :

jerome@laboussole ~ $ cat /proc/asound/cards 
 0 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with ALC655 at 0xc800, irq 20


AND

jerome@laboussole ~ $ ls -l /dev/sound/
total 0
crw-rw---- 1 root audio 14, 12 avr 23  2007 adsp
crw-rw---- 1 root audio 14,  4 avr 23  2007 audio
crw-rw---- 1 root audio 14,  3 avr 23  2007 dsp
crw-rw---- 1 root audio 14,  0 avr 23  2007 mixer


Expected Results:  
with 2.6.19-r5 :

jerome@laboussole ~ $ cat /proc/asound/cards
 0 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with ALC655 at 0xc800, irq 20
 1 [Camera         ]: USB-Audio - Camera
                      Camera at usb-0000:00:10.2-2, full speed

AND

jerome@laboussole ~ $ ls -l /dev/sound/
total 0
crw-rw---- 1 root audio 14, 12 avr 23  2007 adsp
crw-rw---- 1 root audio 14,  4 avr 23  2007 audio
crw-rw---- 1 root audio 14, 20 avr 23  2007 audio1
crw-rw---- 1 root audio 14,  3 avr 23  2007 dsp
crw-rw---- 1 root audio 14, 19 avr 23  2007 dsp1
crw-rw---- 1 root audio 14,  0 avr 23  2007 mixer
crw-rw---- 1 root audio 14, 16 avr 23  2007 mixer1


jerome@laboussole ~ $ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r6 i686)
=================================================================
System uname: 2.6.20-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 23 Apr 2007 09:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/voip"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib alsa apache2 asf avi berkdb bitmap-fonts bonobo bzip2 cairo cdparanoia cdr cli cracklib crypt cups curl dbus divx4linux dri dts dvd dvdr dvdread eds emboss encode esd exif expat ffmpeg firefox flac font-server foomaticdb fortran gdbm gif gimp gimpprint glitz gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv idn imagemagick imlib ipv6 isdnlog java jpeg lame lcms ldap libg++ mad matroska midi mikmod mjpeg mmx mmxext mng motif mp3 mpeg musepack mysql nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline real reflection scanner sdl session sox spell spl sse ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis win32codecs x86 xine xml xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

My verion of udev :udev-104-r12  USE="(-selinux)" 184 kB 

My kernel's audio and usb  config :


CONFIG_VIDEO_USBVIDEO=m
CONFIG_USB_QUICKCAM_MESSENGER=m
# USB devices
CONFIG_SND_USB_AUDIO=m
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
# USB Input Devices
CONFIG_USB_HID=y
----------------------------------------------------
# Sound
CONFIG_SOUND=y
# Advanced Linux Sound Architecture
# Open Sound System
# CONFIG_SOUND_PRIME is not set
-----------------------------------------------------------------


snd_usb_audio AND quickcam_messenger  are loaded....

-----------------------------------------------------------------
The same issue is happen when I upgrading ubuntu 6.10 (kernel 2.6.17) to ubuntu 7.04 (kernel 2.6.20)...my micro usb disappeared
Comment 1 gglaboussole 2007-04-23 16:34:28 UTC
*** Bug 175717 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-04-25 17:25:16 UTC
Can you reproduce this problem on the latest development kernel, currently 2.6.21-rc7?
Comment 3 gglaboussole 2007-04-25 20:59:44 UTC
(In reply to comment #2)
> Can you reproduce this problem on the latest development kernel, currently
> 2.6.21-rc7?
> 
unfortunaly yes...I've tested with 2.6.20.7 and 2.6.21-rc7 and I've got the same problem.
For the moment I keep 2.6.19-r5 in order to use my quickcam messenger's micro
 

jerome@laboussole ~ $ uname -r && ls -l /dev/sound/ && cat /proc/asound/cards 
2.6.21-rc7
total 0
crw-rw---- 1 root audio 14, 12 avr 26  2007 adsp
crw-rw---- 1 root audio 14,  4 avr 26  2007 audio
crw-rw---- 1 root audio 14,  3 avr 26  2007 dsp
crw-rw---- 1 root audio 14,  0 avr 26  2007 mixer
 0 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with ALC655 at 0xc800, irq 20
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-04-26 01:07:51 UTC
Please attach dmesg from an affected kernel, where the usb device has been plugged in. Also post /proc/bus/usb/devices from a bad kernel and a good kernel (both times while the device is plugged in).
Comment 5 gglaboussole 2007-04-26 17:53:00 UTC
Created attachment 117321 [details]
dmesg and /proc/bus/usb/devices from both kernel

Hi and thank you very much for your help,
As you can see  /proc/bus/usb/devices shows that the camera has no audio driver
..."01(audio) Sub=01 Prot=00 Driver=(none)"   but snd_usb_audio is loaded
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-04-26 20:22:55 UTC
Please attach your 2.6.20 kernel .config and show the output of "uname -a" while running the affected 2.6.20 kernel.
Comment 7 gglaboussole 2007-04-26 20:45:00 UTC
Created attachment 117339 [details]
uname -a AND .config of 2.6.20-r6 kernel
Comment 8 gglaboussole 2007-04-27 20:19:07 UTC
For information : I have found this bug which concerns ubuntu : https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/93822
What I've noticed too...

Comment 9 gglaboussole 2007-04-27 21:25:33 UTC
Created attachment 117447 [details, diff]
patch proposed on ubuntu by sergio martinez

I've just tested successfully this patch created by sergio martinez on the ubuntu's bug report. It works!
My micro is ok now
Do I have to close this bug ?
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2007-04-27 23:03:44 UTC
Thanks for the info. Don't close it yet - give us a chance to review the patch, ensure it gets accepted upstream, then backported into a gentoo release.
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2007-04-30 03:14:24 UTC
Sent a patch upstream
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2007-05-02 18:31:06 UTC
Patch accepted upstream. Fixed in gentoo-sources-2.6.20-r8, will fix in 2.6.21 for next release
Comment 13 gglaboussole 2007-05-02 18:40:18 UTC
great news !
thx a lot Daniel
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2007-05-08 16:44:03 UTC
please don't close this bug until it is fixed in the 2.6.21 branch
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2007-05-19 05:32:14 UTC
Fixed in gentoo-sources-2.6.21-r1 (genpatches-2.6.21-2)