Re: [Linux-uvc-devel] QC fusion almost working in kopete
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Nick W. <ni...@cu...> - 2006-02-14 18:44:25
|
On Monday 13 February 2006 3:06 pm, Alexandre Becoulet wrote: > On Monday 13 February 2006 18:30, Nick Wiltshire wrote: > > Alexandre - could you do a similar patch for r19 ? I'd really like to see > > if it works. > <snip> Ok, the new patch worked :) gambit trunk # patch < uvcvideo-usbreset-r19.patch patching file uvcvideo.c gambit trunk # make Building USB Video Class driver... make[1]: Entering directory `/usr/src/linux-2.6.15.3' CC [M] /home/nick/docs/code/linux-uvc/linux-uvc/trunk/uvcvideo.o Building modules, stage 2. MODPOST CC /home/nick/docs/code/linux-uvc/linux-uvc/trunk/uvcvideo.mod.o LD [M] /home/nick/docs/code/linux-uvc/linux-uvc/trunk/uvcvideo.ko make[1]: Leaving directory `/usr/src/linux-2.6.15.3' gambit trunk # make install Installing USB Video Class driver... make[1]: Entering directory `/usr/src/linux-2.6.15.3' INSTALL /home/nick/docs/code/linux-uvc/linux-uvc/trunk/uvcvideo.ko make[1]: Leaving directory `/usr/src/linux-2.6.15.3' depmod -ae gambit trunk # lsmod Module Size Used by ntfs 104688 1 gambit trunk # modprobe uvcvideo gambit trunk # lsmod Module Size Used by uvcvideo 30916 0 ntfs 104688 1 gambit trunk # dmesg <snip> uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1) usbcore: registered new driver usbvideo USB Video Class driver (v0.1.0) So far so good... I opened Kopete, and it was working. I closed Kopete, re-opened it, and got mangled video... gambit trunk #dmesg <snip> uvcvideo: Failed to query (130) UVC control 1 (unit 0) : -32. uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -32. uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110. uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110. Then I waited a few seconds... usb 1-1: reset high speed USB device using ehci_hcd and address 2 ...and the video went back to normal! This patch gets my vote. Nick |