Re: [Linux-uvc-devel] BisonCam, NB Pro (5996:0241) not working
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Pedro F. <em...@gm...> - 2009-10-09 12:59:50
|
Hi Laurent, Here's the steps: 1. hg clone http://linuxtv.org/hg/~pinchartl/uvcvideo/ 2. wget --no-check-certificate -O frame_fix.patch https://lists.berlios.de/pipermail/linux-uvc-devel/attachments/20091001/dba61c45/attachment.bin 3. patch -p1 < ../frame_fix.patch patching file linux/drivers/media/video/uvc/uvc_driver.c 4. Edited DRIVER_VERSION of uvc_driver to make sure i'm loading the right driver 5. make && make install (logs attached) 6. depmod -ae $(uname -r) 7. modprobe -r uvcvideo && modprobe uvcvideo trace=2 8. dmesg|grep uvcvideo uvcvideo: Found format YUV 4:2:2 (YUYV). uvcvideo: - 640x480 (18.0 fps) uvcvideo: - 320x240 (30.0 fps) uvcvideo: - 160x120 (30.0 fps) uvcvideo: - 352x288 (30.0 fps) uvcvideo: - 176x144 (30.0 fps) uvcvideo: - 1280x1024 (7.5 fps) uvcvideo: device 4 videostreaminginterface 1 FRAME error uvcvideo: Found a Status endpoint (addr 82). uvcvideo: Found UVC 1.00 device BisonCam, NB Pro (5986:0241) uvcvideo: No valid video chain found. usbcore: registered new interface driver uvcvideo 9. modinfo uvcvideo|grep ^version version: v0.1.0-framefix 10. (Additional step) Edit /etc/modprobe.conf and add "options uvcvideo trace=2" and reboot. (same result as 8 and 9) Am i missing something? On Thu, 2009-10-08 at 18:00 +0200, Laurent Pinchart wrote: > Hi Pedro, > > On Thursday 01 October 2009 12:22:54 Pedro Fragoso wrote: > > Hi Laurent, > > > > I've applied the patch with the latest hg and it didn't work. > > > > modprobe -r uvcvideo ; modprobe uvcvideo trace=2 gave me: > > > > > > uvcvideo: Found format YUV 4:2:2 (YUYV). > > uvcvideo: - 640x480 (18.0 fps) > > uvcvideo: - 320x240 (30.0 fps) > > uvcvideo: - 160x120 (30.0 fps) > > uvcvideo: - 352x288 (30.0 fps) > > uvcvideo: - 176x144 (30.0 fps) > > uvcvideo: - 1280x1024 (7.5 fps) > > uvcvideo: device 3 videostreaminginterface 1 FRAME error > > uvcvideo: Found a Status endpoint (addr 82). > > uvcvideo: Found UVC 1.00 device BisonCam, NB Pro (5986:0241) > > uvcvideo: No valid video chain found. > > usbcore: registered new interface driver uvcvideo > > Could you please double-check that you load the correct driver ? I've hacked > the code here to inject the bad descriptor data in an otherwise valid UVC > camera and the patch fixes the problem. > |