Luc and all,
Here is what appears a solution to the problem with
the SPC900NC leaving its LED on all the time, and
uncontrolable. See below. If you find any issues with
this, please so post follow up. The pwc driver is by
default trying to see the SPC900NC as a 720 model and
the LED cannot be controlled, but if you first change
it to 740 model, and recompile and install, then the
LED works. :)
LED FIX for LX on SPC900NC 9.22.06
--------------------------------------
First to make pwc latest snapshot for v10.0.12 with
SPC900NC support, you need to edit the pwc_ioctl.h
file and change these lines to look like this (comment
the typedef line inside the same comment as the
Compatibility wording):
/* Compatibility ...
typedef _u16 ...
*/
Finally to fix the LED on/off capability you
need to edit the pwc-if.c file and change
line 1530 related to the SPC 900NC webcam,
and change it from type 720 to 740:
type_id = 740;
Then you can do 'make', 'make install'
and copy the pwc.ko file from the usb
modules directory also to the ./pwc
subdirectory under it, and do
'rmmod pwc' to unload current, then
'modprobe pwc' to load the new, and
'lsmod | grep pwc' to see if it loaded
and the video driver is using it.
You can use the 'setpwc' command to
test turning the LED on or off or
make it blink:
setpwc v1.1, (C) 2003-2005 by
-k x set led on-time (0...25500ms
-l y set led off-time
x = 100 y = 0 : LED on
x = 0 y = 100 : LED off
x > 100 y > 200 : LEF blink
Peter Baitz
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|