Hi Guillaume, On Sunday 30 September 2007, Guillaume Desmottes wrote: > Le samedi 22 septembre 2007 à 00:29 +0200, Laurent Pinchart a écrit : > > The webcam audio interface must be initialised before the video > > interface. Linux will by default initialise the video interface first, so > > you need to remove the uvcvideo.ko module from the /lib/modules > > subdirectory where it gets loaded automatically, and load it manually > > after plugging the webcam. > > Just wondering. Is that ok if I manually unload the uvcvideo driver > after booting, re-plug the device and the re-load the uvcvideo driver? > Or am I fucked as soon the uvcvideo driver was loaded before the > usbaudio during the boot?
It's ok. The only requirement is that the audio driver initialises the camera before the video driver. As the video interface is before the audio interface, the kernel would call the video driver first. That's why you have to make sure the video driver is not loaded (and can't be loaded) when you plug the webcam. > Do you know if we have any chance to see a real fix in the next kernel > releases? I don't know. This is a webcam bug, and it affects the USB subsystem in some weird ways. As all of this is timing-related, I doubt we will see a real fix anytime soon. The patch that has been added to 2.6.22 could be reverted, but it fixes problems for other usbaudio devices, so it should probably stay in. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
