pwc
[Top] [All Lists]

Re: [pwc] patch to add sysfs leds interface to 10.0.7a

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] patch to add sysfs leds interface to 10.0.7a
From: Patrik Jakobsson <>
Date: Fri, 29 Jul 2005 12:07:00 +0200
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

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU