Bug 132114

Summary: Logitech USB-headset does not work anymore, causes ALSA errors
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Forgotten User --EoyBps8f <forgotten_--EoyBps8f>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Stable GCC Snapshot1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: snd-usb-audio.ko and snd-usb-lib.ko

Description Forgotten User --EoyBps8f 2005-11-03 10:51:53 UTC
I was using my USB headset with skype and SuSE 9.3 without problems. Using SuSE 10 the micro works, yet the speakers do not anymore. Whenever I try to phone somebody on skype (tried different version) I get:

Oct 23 09:59:52 pc192s kernel: ALSA sound/usb/usbaudio.c:847: timeout: still 2 
active urbs..
Oct 23 09:59:57 pc192s kernel: ALSA sound/usb/usbaudio.c:847: timeout: still 2 
active urbs..
Oct 23 10:00:09 pc192s kernel: martian source 192.168.18.192 from 
83.226.210.240, on dev eth0
Oct 23 10:00:09 pc192s kernel: ll header: 
00:0e:2e:0b:ef:e1:00:0a:cd:02:1a:41:08:00
Oct 23 10:00:32 pc192s kernel: ALSA sound/usb/usbaudio.c:1204: current rate 
48000 is different from the runtime rate 8000
Oct 23 10:00:32 pc192s kernel: ALSA sound/usb/usbaudio.c:1204: current rate 
8000 is different from the runtime rate 48000

I was not sure whether it is not skype that is buggy, as with gnome-meeting the headset does work, maybe because it is not a qt-app, or has a ALSA-plugin. However I am not the only one having problems with USB-headsets and as it seems it is not only a skype problem, as reported on suse-laptop.

If you need any more info, please let me know.
Comment 1 Takashi Iwai 2005-11-07 16:02:36 UTC
Could you try the kernel on ftp.suse.com/pub/people/tiwai/10.0-fixes (if it's kernel-default).  If SMP kernel is needed, please let me know.
Comment 2 Forgotten User --EoyBps8f 2005-11-07 20:28:21 UTC
I installed the 32-Bit kernel and nongpl package and the problem is solved. :)

The only remaining error-messages are:
Nov  7 21:22:09 pc192s kernel: ALSA sound/usb/usbaudio.c:1225: current rate 48000 is different from the runtime rate 8000
Nov  7 21:22:09 pc192s kernel: ALSA sound/usb/usbaudio.c:1225: current rate 8000 is different from the runtime rate 48000

Thanks a bunch for the fix!
Comment 3 Dimitrios Bogiatzoules 2005-11-08 15:23:03 UTC
I can confirm working sound on USB headset with 2.6.13-15.3-default #1 Thu Nov 3 10:57:05 UTC 2005 and Skype 1.2.0.11. No errors or warnings in messages :)

I also use Teamspeak for conferences and have a "choppy" sound on my headset until I play a sound on my primary card. After that the sound in Teamspeak is very clear again. Both, the original and the new kernel show the same reaction. With SUSE 9.3 and its newest kernel update it worked fine. 

FYI: Teamspeak uses OSS for audio and I select, as in Skype, /dev/dsp1 to get the output on my headset.

(My hardware is Thinkpad 42p and Logitech USB 350 headset)

Anyway, thanks a lot for the partial solution! And being curious, what was the cause?
Comment 4 Takashi Iwai 2005-11-08 15:44:35 UTC
It was a bug of usb-audio driver.  The new driver does double-buffering for better performance.  This didn't work well together with the small fragment size on OSS emulation.
I'll try to push this to the next kernel update.
Comment 5 Dimitrios Bogiatzoules 2005-11-08 17:41:48 UTC
..."I'll try to push this to the next kernel update." That would be great!

Does my comment regarding Teamspeak make any sense to you? /dev/dsp and /dev/dsp1 shouldn't interfere...
Comment 6 Dimitrios Bogiatzoules 2005-11-09 18:06:14 UTC
Thanks to Takashi I could compile the modules for 2.6.13-15-default. I needed that because I have 2 pieces of software that need the kernel sources. I'm attaching the tarball without any warranties (just copy snd-usb-audio.ko and snd-usb-lib.ko to /lib/modules/2.6.13-15-default/kernel/sound/usb/).
Comment 7 Dimitrios Bogiatzoules 2005-11-09 18:07:17 UTC
Created attachment 56837 [details]
snd-usb-audio.ko and snd-usb-lib.ko
Comment 8 Forgotten User --EoyBps8f 2005-11-09 21:32:32 UTC
Is there a chance to get the source-rpm? I tried to compile the nvidia-binary driver and it failed, first because it could not find the kernel-sources (they were installed) and then due to some other error. I came to my mind, that the kernel.-sources package I have installed does not fit the kernel-package from this bug. Hence now I have to choose, either sound or graphics.

If the kernel update via YOU is done in a few days, forget this request.
Comment 9 Forgotten User --EoyBps8f 2005-11-14 20:59:38 UTC
Because of bug 129933, I installed the kotd. Using that kernel, the Logitech headset does not work at all, i.e. not even the LED on it is on. Is your patch in the kotd?
Comment 10 Takashi Iwai 2005-11-18 19:40:58 UTC
The patch isn't in KOTD.  No time to work on it yet.

BTW, the whole ALSA patches for the next 10.0-update kernel are found in the directory above.
Comment 11 Takashi Iwai 2005-11-23 17:13:29 UTC
Since it's in 10.0 kernel branch, I close this bug now.