Hi Carles, On Tuesday 25 September 2007, Carles Pina i Estany wrote: > Hi Laurent, > > On Sep/22/2007, Laurent Pinchart wrote: > > sorry to take some days to answer, I have been out of usual computing > for some days :-) > > > On Friday 21 September 2007, Carles Pina i Estany wrote: > > > Hello! > > > > > > I have a Logitech Quickcam Pro for Notebooks, that seems that is well > > > supported. > > > > > > But is not working. I'm using a Kernel 2.6.22, compiled myself, with > > > Video4Linux enabled. In dmesg I can see: > > > > > > ------------------ > > > Linux video capture interface: v2.00 > > > uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c3) > > > uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -110 (exp. > > > 26). uvcvideo: Failed to query (129) UVC control 1 (unit 0) : -110 > > > (exp. 26). uvcvideo: Failed to initialize the device (-5). > > > usbcore: registered new interface driver uvcvideo > > > USB Video Class driver (v0.1.0) > > > ---------------- > > > /dev/video0 is not created > > > > > > What can I do? I've read something about firmware bug, etc. but last > > > year this camera worked :-) just I have not used and now... not > > > working. > > > > > > Some problem in some kernel option? where I can look? I have been > > > browsing without any success. > > > > Kernel 2.6.22 includes bug fixes in the usbaudio driver that can trigger > > another firmware bug in the webcam. Fortunately this one seems to have a > > workaround, although not a pretty one. > > Wow good! > > > 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. > > I have done, without results... > > > This is not a pretty workaround as it requires manual operations every > > time you plug the camera, but it should work. > > doing an insmod of uvcvideo.ko, tells me: > insmod: error inserting './uvcvideo.ko': -1 Unknown symbol in module > > If I load in usual way (modprobe, etc.) I guess that loads some other > modules and I don't have the "Unkown symbol" error. If I unload and then > I load again, I get the same error in dmesg (Failed to query (135) UVC > control)
You have to make sure the system won't load the module automatically when you plug your webcam in, otherwise uvcvideo.ko will be associated with the camera before usbaudio.ko, and initialisation will fail. > Laurent: what options are related to uvcvideo? and specially, with > uvcvideo and video. Maybe I have some of them inside Kernel and should > be in module way? should I use v4l2_common, no? > > Now I have: > [EMAIL PROTECTED]:~$ lsmod|grep -i video > uvcvideo 44804 0 > compat_ioctl32 1408 1 uvcvideo > videodev 26112 1 uvcvideo > v4l2_common 14464 2 uvcvideo,videodev > usbcore 117896 5 uvcvideo,usb_storage,usbhid,uhci_hcd > [EMAIL PROTECTED]:~$ Try to load videodev and compat_ioctl32 (using modprobe) before you insmod ./uvcvideo.ko. uvcvideo.ko depends on videodev and compat_ioctl32, but insmod doesn't load dependencies automatically. > Thank you very much Laurent for your fast support! You're welcome. Best regards, Laurent Pinchart _______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
