Hi Marco,

On Sunday 05 June 2011 12:42:43 Marco Gulino wrote:
> > Could you please send me the output of lsusb -v (running as root if
> > possible) for your webcam ?
> 
> Sure... you can find it in the attachment.

Thank you. I've updated the supported devices list.

> I also found out (reading another thread in this list:
> https://lists.berlios.de/pipermail/linux-uvc-devel/2011-February/006321.htm
> l ) that the camera does accept some discrete values for exposure control,
> i guess the sensor is exactly the same as Lifecam HD 5000 then.
> I patched v4l2ucp to display a combo in place of a slider to easly setup
> these values, so at least this problem is partially fixed (still annoying,
> but it's usable at least).

OK, problem solved :-)

> > UVC doesn't provide a standard control for this. Some cameras support
> > controlling the LED manually, and implements that using UVC extension
> > units.
> > Without manufacturer documentation it might be difficult to find out how
> > to control the LED, but trial/error is possible (be warned that this
> > could in theory brick the camera).
> 
> I see... it seems kinda hard then...
> Anyway worth trying, it would really help cooling down the camera... Any
> hints on what to try?

According to the USB descriptors, your camera has one extension unit with 8 
controls.

      VideoControl Interface Descriptor:
        bLength                27
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 5
        guidExtensionCode         {29a787c9-d359-6945-8467-ff0849fc19e8}
        bNumControl            16
        bNrPins                 1
        baSourceID( 0)          4
        bControlSize            2
        bmControls( 0)       0xff
        bmControls( 1)       0xff
        iExtension              0 

Using the UVC extension unit API (made public in the 3.0 kernel and documented 
in Documentation/video4linux/uvcvideo.txt) you can query those controls and 
modify them. Have a look at the UVCIOC_CTRL_QUERY ioctl documentation. I still 
need to publish a tool to automate the process.

Be warned that poking XU controls directly might in theory break your device, 
even though chances are low. Chances are also unfortunately low that randomly 
poking controls will turn the LED on or off (but you never know). Can you 
control it manually in Windows ?

-- 
Regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to