Hello pwc developers and users, if you are a member of the QCUIAG Long eXposure modification group for ToUcam webcams, and others, you can see this post (below) which is a follow up informational message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SUCCESS!!! SPC900NC long exposure mod - where to connect LX wire??? Hello Frank and Matthias, Success at last! SPC900NC LX mod per Matthias Meijer modification specification, using Saillard.org PWC latest snapshot driver altered to use typedef=740 for SPC900NC instead of default 720. This fixes the control of the LED to the point where qAstrocam "TUC led" support, use of the Long Exposure Field (when I type 20 seconds, etc.) it turns ON the LED!!! and after the end of each 0-100% cycle it shuts off the LED. This powers ON and OFF the LX circuitry to accumulate an LX image! A big thank you to all who helped me het this far, and Frank it was your idea to change the typedef, and you both found the LED via. Picture with more info: http://tech.ph.groups.yahoo.com/group/QCUIAG/photos/view/e199?b=3&m=f&o=0 Very excited over here! Peter Baitz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Peter Baitz <[EMAIL PROTECTED]> wrote: > > 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 [EMAIL PROTECTED] > -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 > [email protected] > http://lists.saillard.org/mailman/listinfo/pwc > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ pwc mailing list [email protected] http://lists.saillard.org/mailman/listinfo/pwc
