[alsa-devel] question to some webcam issue

Alexey Fisher bug-track at fisher-privat.net
Fri Nov 11 09:21:59 CET 2011


Hi all,

i working on some issues of usb webcams, especially my current priority 
is uvcvideo driver. with some previous kernel version i expoirianced 
some really nasty crashes if i used skype. i think the problem was the 
control short timeout for control traffic. i think it was encreesed now 
to 1000 again.

on one side i do not have this problem any more, but on other side i 
think it should be prewented for future.

Description of problem (the way i think it is):
- skype usually use really intensively volume controls for echo 
cancellation and proper record level.
- if webcam sound is used then video traffic encreese control delays for 
audio.
- if usb-audio sees this big delay, it will reset the usb device ... 
complete, even video part.
- in this situation many part will die... uvcvideo will be reseted and 
need to cut access to /dev/video0 the capture programm will freeze for 
ever. pulseaudio freeze as well and some time you need to restart 
computer to bring it all back.

i know, other parts should be more error resistant, but may be we can 
prevent at least a part of it. For example do some sort of usb lock if 
one device has two different interfaces and two of them used, one should 
not kill another one?

Hope you understand my description,

Regards,
Alexey.


More information about the Alsa-devel mailing list