Re: [alsa-devel] Regression in sound/usb/
On 11.07.2012 09:30, Philipp Dreimann wrote:
The camera is now working for a short time: [ 56.421399] usb 2-1.2: new high-speed USB device number 4 using ehci_hcd [ 57.224234] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821) [ 57.237221] input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.2/input/input15 Camera and microphone are working. Some time later we're back to the old issue:
So I found the reason for this breakage now. It's about orphaned packets that are sent over the wire after alt setting 0 has been selected. The chipset doesn't like these at and bails out with protocol errors. Fixing this involves some rework of the logic. The patch is unfortunately a little big, but I see no option than getting it merged for 3.6.
Everyone, please test - and sorry for the trouble caused.
Thanks, Daniel
On 12.07.2012 01:10, Daniel Mack wrote:
On 11.07.2012 09:30, Philipp Dreimann wrote:
The camera is now working for a short time: [ 56.421399] usb 2-1.2: new high-speed USB device number 4 using ehci_hcd [ 57.224234] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0821) [ 57.237221] input: UVC Camera (046d:0821) as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.2/input/input15 Camera and microphone are working. Some time later we're back to the old issue:
So I found the reason for this breakage now. It's about orphaned packets that are sent over the wire after alt setting 0 has been selected. The chipset doesn't like these at and bails out with protocol errors. Fixing this involves some rework of the logic. The patch is unfortunately a little big, but I see no option than getting it merged for 3.6.
I meant 3.5, of course.
Everyone, please test - and sorry for the trouble caused.
To avoid confusion: this patch replaces the other one I sent.
Daniel
participants (1)
-
Daniel Mack