Hi, > > > On a related note, whenever an errenous request is made to the camera, > > > it goes into an error state and won't accept any other commands. Is > > > there a way to clear this error state, or should I just close and > > > reopen the device file? > > > > Which camera are you talking about ? What kind of erroneous request ? > > Please provide more details along with kernel log messages if available. > > I wasn't able to get kernel logging enabled last night for the uvc driver > (but I was pretty tired). I'll spend some more time debugging this and post > more details when I have them. I figured I would ask in case there was a > generic way to clear error states in a webcam I wasn't familiar with.
I spent some more time looking into this. The error occurs when I try to access one of the extension unit controls I've added. When the control adds fine and does not report any errors. I can also read from the control without any errors. Any attempt to write to the control however returns an I/O Error (5). I did some more digging and I found the errors the kernel is seeing. It seems like the error originates in the function usb_start_wait_urb (message.c in the usb core section). I get back both a -32 and a -110, Broken Pipe and Time out respectively. Here's the kernel log... Feb 13 16:32:53 localhost kernel: unknown ioctl 'U', dir=-w, #4 (0x40085504) Feb 13 16:32:53 localhost kernel: uvcvideo: Failed to query (1) UVC control 5 (unit 5) : -110 (exp. 2). Feb 13 16:32:55 localhost kernel: unknown ioctl 'U', dir=-w, #4 (0x40085504) Feb 13 16:32:55 localhost kernel: uvcvideo: Failed to query (1) UVC control 5 (unit 5) : -32 (exp. 2). Feb 13 16:33:56 localhost kernel: unknown ioctl 'U', dir=-w, #4 (0x40085504) Feb 13 16:33:56 localhost kernel: uvcvideo: Failed to query (1) UVC control 5 (unit 5) : -110 (exp. 2). Again, I'm in Fedora 8, kernel 2.6.23.14-115.fc8 I'll be looking into the firmware on my end (since it's custom), but has anyone encountered this kind of error before? Thanks, Nathanael
_______________________________________________ Linux-uvc-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
