Sandy McArthur wrote:
Attached is a patch to pwc-10.0.7a that adds <sysfs>/class/
video4linux/video#/leds
This patch makes it so that you can set the led status with the
following values:
echo on > leds # solid on
echo off > leds # solid off
echo <on ms> <off ms> > leds # blinking on and off times in milliseconds
It should also make it so `cat leds` shows the current leds value if
your unit supports it. I thought my Logitech QuickCam Pro 3000
supported that feature but it doesn't work for me. I dunno?
------------------------------------------------------------------------
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
Hi, nice patch!
But it won't help me (and probably not Dominik) because the problem
isn't that we don't know how to access the led functionallity but that
the functionallity is broken in the driver for our cameras. I get -32 as
error code (from pwc_set_leds() ) when trying to change the settings.
The error code is recieved from usb_control_msg(), what does it mean?
Patrik Jakobsson
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|