On Thu, 14 Apr 2011, Justin Piszcz wrote:
On Thu, 14 Apr 2011, Paulo Assis wrote:
Hi,
What is the proper way to disable the LEDs on the Quick Cam Pro 9000 and
You must use logitech extension controls for this,
you can use uvcdynctrl from libwebcam (command line) or guvcview
(gtk), you must be root to add these controls to the driver (libwebcam
installs a udev script to handle them automatically).
Do you have an example?
There are no examples in the man page.
Ah found this:
http://webcache.googleusercontent.com/search?q=cache:Z5XfwRTHPHkJ:forums.quickcamteam.net/showthread.php%3Ftid%3D45+uvcdynctrl+%22LED%22&cd=1&hl=en&ct=clnk&gl=us&source=www.google.com
It fails:
# uvcdynctrl -s 'LED1 Mode' 0
ERROR: Unknown control specified.
Thoughts?
Got it:
# uvcdynctrl -i /usr/share/uvcdynctrl/data/046d/logitech.xml
Importing dynamic controls from file
/usr/share/uvcdynctrl/data/046d/logitech.xml.
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to add
control with GUID {63610682-5070-49ab-b8cc-b3855e8d2250} and selector 5.
ioctl(UVCIOC_CTRL_ADD) failed with return value -1 (error 17: File exists)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to add
control with GUID {63610682-5070-49ab-b8cc-b3855e8d2250} and selector 8.
ioctl(UVCIOC_CTRL_ADD) failed with return value -1 (error 17: File exists)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to add
control with GUID {63610682-5070-49ab-b8cc-b3855e8d221f} and selector 1.
ioctl(UVCIOC_CTRL_ADD) failed with return value -1 (error 17: File exists)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to add
control with GUID {63610682-5070-49ab-b8cc-b3855e8d2256} and selector 3.
ioctl(UVCIOC_CTRL_ADD) failed with return value -1 (error 17: File exists)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to add
control with GUID {63610682-5070-49ab-b8cc-b3855e8d2256} and selector 1.
ioctl(UVCIOC_CTRL_ADD) failed with return value -1 (error 17: File exists)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to add
control with GUID {63610682-5070-49ab-b8cc-b3855e8d2256} and selector 2.
ioctl(UVCIOC_CTRL_ADD) failed with return value -1 (error 17: File exists)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Pan
(relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error
2: No such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map
'Tilt (relative)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1
(error 2: No such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map 'Pan
Reset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No
such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map
'Tilt Reset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error
2: No such file or directory)
/usr/share/uvcdynctrl/data/046d/logitech.xml: error: video0: unable to map
'Pan/tilt Reset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1
(error 2: No such file or directory)
# uvcdynctrl -s 'LED1 Mode' 0
[libwebcam] Unknown V4L2 private control ID encountered: 0x0A046D04
(V4L2_CID_PRIVATE_BASE + 33844484)
Will have to check the LED later, thanks.
Justin.
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel