Carlos Hi,

2011/2/15 Carlos Silva <r3...@r3pek.org>:
> No help on this? :(
>
> On Tue, Feb 1, 2011 at 23:32, Carlos Silva <r3...@r3pek.org> wrote:
>>
>> Hi,
>> I recently bought an HP Pavillion DV3 laptop that has an integrated
>> webcam. After searching a while I found out that the webcam is an UVC webcam
>> but it isn't on the list of supported cams.
>> This is the usb entry of lsusb:
>> Bus 002 Device 004: ID 174f:1118 Syntek
>>
>> I added the usb vendor + product id to the driver like this:
>>         /* Syntek (HP Pavillion dv3) */
>>         { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
>>                                 | USB_DEVICE_ID_MATCH_INT_INFO,
>>           .idVendor             = 0x174f,
>>           .idProduct            = 0x1118,
>>           .bInterfaceClass      = USB_CLASS_VIDEO,
>>           .bInterfaceSubClass   = 1,
>>           .bInterfaceProtocol   = 0,
>>           .driver_info          = UVC_QUIRK_STREAM_NO_FID },
>>

You shouldn't really need to add this, if you want to test driver
quirks just pass them when loading the driver module, in this case:

modprobe uvcvideo quirks=0x00000010

or for a permanent change just create /etc/modprobe.d/uvcvideo.conf
and add the following line:
options uvcvideo quirks=0x00000010

>> The device is recognized by the driver:
>> uvcvideo: Found UVC 1.00 device HP Webcam (174f:1118)
>>
>> Now I have a problem. When I try to use it, the "in use" led from the
>> camera lights up, but software doesn't receive any image (stays black all
>> the time).
>> Here is my dmesg:
>> uvcvideo: Failed to resubmit video URB (-1).
>> uvcvideo: Trying format 0x56595559 (YUYV): 640x480.
>> uvcvideo: Using default frame interval 41666.6 us (24.0 fps).
>> uvcvideo: Setting frame interval to 1/24 (416666).
>> uvcvideo: Trying format 0x56595559 (YUYV): 640x480.
>> ^^ This last 2 lines repeat themself several times (the first one has got
>> my attention but I don't know what's the problem)
>> Attached is a log of "guvcview" program starting and closing. After it
>> starts, it starts printing the errors:
>>  Could not grab image (select timeout): Resource temporarily unavailable
>>  Could not grab image (select timeout): Resource temporarily unavailable
>>  Could not grab image (select timeout): Resource temporarily unavailable
>>  Could not grab image (select timeout): Resource temporarily unavailable
>>  Could not grab image (select timeout): Resource temporarily unavailable
>>
>> Any pointers on how can I help getting this camera supported on the
>> driver?
>


Did you try it without the quirk ? Not all syntek cameras require it:
http://lists.berlios.de/pipermail/linux-uvc-devel/2009-March/004705.html

also increasing the driver verbosity would be helpful, just add
trace=65535 to the driver options.

Regards,
Paulo
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to