Hi there,

I've managed to get the Sanyo Xaxti HD1 working as webcam with your driver 
(revision 127).
uvcvideo: Found UVC 1.00 device SANYO Digital Camera (0474:0238)

With luvcview it is possible to watch the pictures, but only for the first time 
called.
If you want to start luvcview or any v4l2 application a second time you have to 
unplug the cam and plug in once more.
Or you get this error:

dmesg:
uvcvideo: Failed to query (1) UVC control 1 (unit 0) : -110 (exp. 26).

$ luvcview
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
Unable to set format: 5.
 Init v4L2 failed !! exit fatal

I hope this could be helpfull for other users as well.

Thanks for this driver developement!

Lars
diff -u linux-uvc/uvc_driver.c linux-uvc-sanyo/uvc_driver.c
--- linux-uvc/uvc_driver.c      2007-09-24 23:16:29.000000000 +0000
+++ linux-uvc-sanyo/uvc_driver.c        2007-09-24 23:18:32.000000000 +0000
@@ -1755,6 +1755,16 @@
          .bInterfaceProtocol   = 0,
          .driver_info          = UVC_QUIRK_PROBE_MINMAX
        },
+       /* Sanyo Xacti HD1 */
+       { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
+                               | USB_DEVICE_ID_MATCH_INT_INFO,
+         .idVendor             = 0x0474,
+         .idProduct            = 0x0238,
+         .bInterfaceClass      = USB_CLASS_VIDEO,
+         .bInterfaceSubClass   = 1,
+         .bInterfaceProtocol   = 0,
+         .driver_info          = UVC_QUIRK_PROBE_EXTRAFIELDS
+       },
        /* Generic USB Video Class */
        { USB_INTERFACE_INFO(USB_CLASS_VIDEO, 1, 0) },
        {}
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to