2007-11-16, 04:16
Dear Linux users,
The new version of libwebcam hasn't quite made it yet, but there are some new dynamic controls available for Logitech webcams! The latest version of the logitech.xml configuration file (0.13) adds the following new controls:
You can find the updated logitech.xml on the new libwebcam website, together with a list of planned changes:
http://www.quickcamteam.net/software/libwebcam/
Have a look at the XML file to see how the controls work (the content of the <description> tags). Once you've imported the configuration file using uvcdynctrl, you can test it using the commands below. Obviously, for some commands your hardware needs to support the corresponding features, but LED control should work for everyone. :-)
The new version of libwebcam hasn't quite made it yet, but there are some new dynamic controls available for Logitech webcams! The latest version of the logitech.xml configuration file (0.13) adds the following new controls:
- Focus motor control for cameras that support it (QuickCam Pro 9000, QuickCam Pro for Notebooks, QuickCam Orbit/Sphere AF).
- Pan/tilt reset control for the QuickCam Orbit/Sphere series.
- Control the LED mode (on, off, blinking, auto).
You can find the updated logitech.xml on the new libwebcam website, together with a list of planned changes:
http://www.quickcamteam.net/software/libwebcam/
Have a look at the XML file to see how the controls work (the content of the <description> tags). Once you've imported the configuration file using uvcdynctrl, you can test it using the commands below. Obviously, for some commands your hardware needs to support the corresponding features, but LED control should work for everyone. :-)
Code:
# Macro focus
uvcdynctrl -s 'Focus' 255
# Infinity focus
uvcdynctrl -s 'Focus' 0
# LED on
uvcdynctrl -s 'LED1 Mode' 1
# LED blinking
uvcdynctrl -s 'LED1 Mode' 2
# LED off
uvcdynctrl -s 'LED1 Mode' 0
# LED auto mode
uvcdynctrl -s 'LED1 Mode' 3
# Pan/tilt reset
uvcdynctrl -s 'Pan/tilt Reset' 3
# Pan reset
uvcdynctrl -s 'Pan/tilt Reset' 1
# Tilt reset
uvcdynctrl -s 'Pan/tilt Reset' 2
(An honorable mention on the website for the first person to upload a video of a dancing and blinking webcam to Youtube. ;-)
Stay tuned for more updates!
Cheers,
Martin