usb-audio regression 3.8.5-3.9.2

2013-05-25 Thread Tobias Diedrich
I've recently upgraded my kernel from 3.8.5 to 3.9.2 and ran into an
issue with usb-audio:
With two different usb-headsets, pulseaudio is now regularily losing the
microphone audio stream (which just gets 'stuck', i.e. the level
indicator bar in pavucontrol doesn't move anymore, but is not at 0).

Every time this happens I get kernel messages like these:
May 25 11:05:01 nukunuku kernel: [43611.510661] delay: estimated 221, actual 0
May 25 11:06:02 nukunuku kernel: [43672.086015] delay: estimated 222, actual 1
May 25 11:06:02 nukunuku kernel: [43672.102018] delay: estimated 133, actual 0
May 25 11:07:03 nukunuku kernel: [43733.814401] delay: estimated 133, actual 0
May 25 11:08:02 nukunuku kernel: [43792.636147] delay: estimated 89, actual 0
May 25 11:10:03 nukunuku kernel: [43913.539550] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539610] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539622] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539630] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539637] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539643] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539658] cannot submit urb (err = -18)
May 25 11:10:03 nukunuku kernel: [43913.539664] cannot submit urb (err = -18)

Now, replugging the headset fixes the issue temporarily until it
happens again, but that's a bit annoying if you're in a video
call...

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 03)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 03)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 11)

usb-audio devices in question:
Bus 003 Device 004: ID 041e:0401 Creative Technology, Ltd 
Bus 004 Device 002: ID 041e:30df Creative Technology, Ltd 
Bus 004 Device 003: ID 047f:c009 Plantronics, Inc. 

Kernel config:
http://uguu.de/~ranma/config-3.8.5
http://uguu.de/~ranma/config-3.9.2

-- 
Tobias  PGP: http://8ef7ddba.uguu.de
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: usb-audio regression 3.8.5-3.9.2

2013-05-29 Thread Tobias Diedrich
Alan Stern wrote:
 On Sat, 25 May 2013, Tobias Diedrich wrote:
 
  I've recently upgraded my kernel from 3.8.5 to 3.9.2 and ran into an
  issue with usb-audio:
  With two different usb-headsets, pulseaudio is now regularily losing the
  microphone audio stream (which just gets 'stuck', i.e. the level
  indicator bar in pavucontrol doesn't move anymore, but is not at 0).
  
  Every time this happens I get kernel messages like these:
  May 25 11:05:01 nukunuku kernel: [43611.510661] delay: estimated 221, 
  actual 0
  May 25 11:06:02 nukunuku kernel: [43672.086015] delay: estimated 222, 
  actual 1
  May 25 11:06:02 nukunuku kernel: [43672.102018] delay: estimated 133, 
  actual 0
  May 25 11:07:03 nukunuku kernel: [43733.814401] delay: estimated 133, 
  actual 0
  May 25 11:08:02 nukunuku kernel: [43792.636147] delay: estimated 89, actual   0
  May 25 11:10:03 nukunuku kernel: [43913.539550] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539610] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539622] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539630] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539637] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539643] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539658] cannot submit urb (err = 
  -18)
  May 25 11:10:03 nukunuku kernel: [43913.539664] cannot submit urb (err = 
  -18)
  
  Now, replugging the headset fixes the issue temporarily until it
  happens again, but that's a bit annoying if you're in a video
  call...
  
  00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
  Controller (rev 03)
  00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
  Controller (rev 03)
  00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
  Controller (rev 11)
  00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
  Controller (rev 11)
  00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
  Controller (rev 11)
  00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
  Controller (rev 11)
  
  usb-audio devices in question:
  Bus 003 Device 004: ID 041e:0401 Creative Technology, Ltd 
  Bus 004 Device 002: ID 041e:30df Creative Technology, Ltd 
  Bus 004 Device 003: ID 047f:c009 Plantronics, Inc. 
 
 Please post the contents of /sys/kernel/debug/usb/devices.

Still happens on 3.9.4 (although it only happened once there so far,
and not (yet?) on the XHCI port, which I previously hadn't compiled
in the drivers for (new board)).

T:  Bus=09 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 3.05
S:  Manufacturer=Linux 3.9.4 xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=:00:10.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=08 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.05
S:  Manufacturer=Linux 3.9.4 xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=:00:10.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=08 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=041e ProdID=0401 Rev= 1.33
S:  Manufacturer=Creative HS-1200 Headset
S:  Product=Creative HS-1200 Headset
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:* If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=01(O) Atr=09(Isoc) MxPS= 288 Ivl=1ms
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=82(I) Atr=05(Isoc) MxPS=  34 Ivl=1ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

T:  Bus=07 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 3.05
S:  Manufacturer=Linux 3.9.4 xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=:00:10.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00

Re: usb-audio regression 3.8.5-3.9.2

2013-05-30 Thread Tobias Diedrich
Alan Stern wrote:
 On Thu, 30 May 2013, Tobias Diedrich wrote:
 
  Alan Stern wrote:
   On Sat, 25 May 2013, Tobias Diedrich wrote:
   
I've recently upgraded my kernel from 3.8.5 to 3.9.2 and ran into an
issue with usb-audio:
With two different usb-headsets, pulseaudio is now regularily losing the
microphone audio stream (which just gets 'stuck', i.e. the level
indicator bar in pavucontrol doesn't move anymore, but is not at 0).

Every time this happens I get kernel messages like these:
May 25 11:05:01 nukunuku kernel: [43611.510661] delay: estimated 221, 
actual 0
May 25 11:06:02 nukunuku kernel: [43672.086015] delay: estimated 222, 
actual 1
May 25 11:06:02 nukunuku kernel: [43672.102018] delay: estimated 133, 
actual 0
May 25 11:07:03 nukunuku kernel: [43733.814401] delay: estimated 133, 
actual 0
May 25 11:08:02 nukunuku kernel: [43792.636147] delay: estimated 89, 
actual 0
May 25 11:10:03 nukunuku kernel: [43913.539550] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539610] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539622] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539630] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539637] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539643] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539658] cannot submit urb (err 
= -18)
May 25 11:10:03 nukunuku kernel: [43913.539664] cannot submit urb (err 
= -18)

Now, replugging the headset fixes the issue temporarily until it
happens again, but that's a bit annoying if you're in a video
call...

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 03)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI 
Controller (rev 03)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI 
Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI 
Controller (rev 11)

usb-audio devices in question:
Bus 003 Device 004: ID 041e:0401 Creative Technology, Ltd 
Bus 004 Device 002: ID 041e:30df Creative Technology, Ltd 
Bus 004 Device 003: ID 047f:c009 Plantronics, Inc. 
   
   Please post the contents of /sys/kernel/debug/usb/devices.
  
  Still happens on 3.9.4 (although it only happened once there so far,
  and not (yet?) on the XHCI port, which I previously hadn't compiled
  in the drivers for (new board)).
 
 It's odd that the devices listing shows only one Creative headset: bus 

The second creative device is just a soundcard, didn't have it
plugged in in this dump.

 8 (which uses xHCI) device 2.  The other headset, Plantronics, is bus 4 
 (OHCI) device 2.  So this problem occurs only when a headset is 
 attached to an OHCI controller, right?

Probably.  I specifically went and compiled in the XHCI driver and
attached the headset there to see if it is controller-specific.
It hasn't happened while plugged into that port so far, but I almost
never use it during the week, only on weekends.

 Can you collect a usbmon trace that shows the error?

I can try it this weekend.

Thanks,

-- 
Tobias  PGP: http://8ef7ddba.uguu.de
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: usb-audio regression 3.8.5-3.9.2

2013-05-30 Thread Tobias Diedrich
Alan Stern wrote:
 On Thu, 30 May 2013, Alan Stern wrote:
 
  On Thu, 30 May 2013, Tobias Diedrich wrote:
  
   Alan Stern wrote:
On Sat, 25 May 2013, Tobias Diedrich wrote:

 I've recently upgraded my kernel from 3.8.5 to 3.9.2 and ran into an
 issue with usb-audio:
 With two different usb-headsets, pulseaudio is now regularily losing 
 the
 microphone audio stream (which just gets 'stuck', i.e. the level
 indicator bar in pavucontrol doesn't move anymore, but is not at 0).
 
 By the way, this may be fixed by commit   
 e1944017839d7dfbf7329fac4bdec8b4050edf5e (USB: fix latency in uhci-hcd 
 and ohci-hcd), which is in the current 3.10-rc kernel and is scheduled 
 to go into 3.9.stable but isn't there yet.  Try it and see.

Sure, will try, thanks.

-- 
Tobias  PGP: http://8ef7ddba.uguu.de
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html