Hi Pierre-Yves,

On Saturday 08 September 2007, Pierre-Yves Landuré wrote:
> Hi,
>
> I've recently buy a Asus G2S-7T040C with webcam. The following code
> added to uvc_driver.c can be used to add support to this webcam to the
> trunk of uvcvideo module.
>
>     /* D-MAX Sonix 213 OEM Asus laptop */
>     { .match_flags        = USB_DEVICE_ID_MATCH_DEVICE
>
>                 | USB_DEVICE_ID_MATCH_INT_INFO,
>
>       .idVendor        = 0x174f,
>       .idProduct        = 0x5a35,
>       .bInterfaceClass    = USB_CLASS_VIDEO,
>       .bInterfaceSubClass    = 1,
>       .bInterfaceProtocol    = 0
>     },
>
>
> the use of
>
> .driver_info        = UVC_QUIRK_PROBE_MINMAX
>
> or
>
> .driver_info        = UVC_QUIRK_PROBE_EXTRAFIELDS
>
> seems to make no change, so i don't use these.

>From the information you reported, you shouldn't have needed to change the 
driver at all. Could you please try the unmodified driver and see if it 
works ?

Please send me the output of lsusb -v (using usbutils 0.72 or newer) as well.

> There is only a problem: the webcam is mounted upside down, and the
> resulting video is rotated by 180°. Is there a module option for
> uvcvideo.ko to rotate the video ? or a change in the code before that
> can do the rotation ?

The driver doesn't process video data at all. The rotation will have to be 
done either in userspace (at the application level) or in the camera itself 
(it might have a control to rotate the image). The output of lsusb -v might 
help me to see if an image rotation control is available.

> Thanx for your work and your help

You're welcome.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to