Hi Adrian,
On Wednesday 23 April 2008, Adrian Sergiu Darabant wrote:
> Sorry for multiple postings ...
>
> <!-- DIV {margin:0px;}-->Hi
> I've got this uvcvideo camera that does not work.
> Bus 005 Device 009: ID 174f:8a51
>
> Iguess it is made by syntek ?!?! but not covered by their drivers ? Itis a
> 2 MP camera. It works perfectly with Windows XP without driversbut not in
> Linux. Are there any hopes to make it work ? No device is created as it is
> not recognized correctly
> usb 5-5: USB disconnect, address 9
> usb 5-5: new high speed USB device using ehci_hcd and address 10
> usb 5-5: new device found, idVendor=174f, idProduct=8a51
> usb 5-5: new device strings: Mfr=2, Product=3, SerialNumber=4
> usb 5-5: Product: USB2.0 UVC PC Camera Apr 23 01:24:35 core2
> usb 5-5: Manufacturer: Syntek
> usb 5-5: SerialNumber: 0001
> usb 5-5: configuration #1 chosen from 1
> uvcvideo: Found UVC 1.00 device USB2.0 UVC PC Camera (174f:8a51)
> uvcvideo: Failed to query (135) UVC control 1 (unit 0) : -32 (exp. 26).
This error is not fatal and can probably be ignored.
> uvcvideo: Failed to query (1) UVC control 2 (unit 0) : -110 (exp. 26).
For some reason the device didn't answer a request and the driver timed out.
Either the device got confused or crashed from a previous request, or the
request comes too fast after the previous one.
> uvcvideo: Failed to initialize the device (-5).
>
> Sincerely
> Adrian Darabant
>
> lsusb -v -s 5:9 yields:
> Bus 005 Device 009: ID 174f:8a51
> Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 2.00
> bDeviceClass 239 Miscellaneous Device
> bDeviceSubClass 2 Common Class
> bDeviceProtocol 1 Interface Association
> bMaxPacketSize0 64
> idVendor 0x174f
> idProduct 0x8a51
> bcdDevice 7.13
> iManufacturer 2
> iProduct 3
> iSerial 4
> bNumConfigurations 1
[snip]
> can't get device qualifier: Connection timed out
> can't get debug descriptor: Connection timed out
> cannot read device status, Connection timed out (110)
This is quite interesting as well. Even standard requests to read the
descriptors time out.
Your camera seems really buggy. It might be possible to work around the
problem by adding delays. Could you please add a msleep(1000) at the end of
__uvc_query_ctrl in uvc_ctrl.c and see if it helps (you will have to include
linux/delay.h) ? If it doesn't try to increase the sleep time up to 5000 by
1000 steps.
Best regards,
Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel