[cpia] Re:IntelPlay QX3 lights.
Doug Welch
welch@physics.mcmaster.ca
Fri, 14 Dec 2001 10:45:29 -0500 (EST)
Hi Sam et al,
I did check-out the latest cpia module and compiled it into the
kernel, so I suspect that it is something else that I have failed
to do (or modify). I am using RH 7.1 with the 2.4.9-12 kernel.
So, it appears I fall in with your strategy 2) listed below.
The source makes it appear that I should see the QX3-specific items
such as toplight and bottomlight listed in the /proc/cpia/video output.
Since this does not appear to be the case, I am wondering why not.
Thanks again for your help,
Doug
On Fri, 14 Dec 2001, Sam Hart wrote:
> One thing you have to be aware of with respect to the IntelPlay QX3 and
> it's lights... the cpia module in the current and semi-recent kernels has
> the /proc/cpia interface turned off (I think they said it was for security
> reasons). I actually checked on this very same thing a month or two ago.
>
> You have two options to get it to work:
>
> 1) Find an older kernel which still has it turned on (which is what I did,
> but I have already deployed that machine, so I forget the exact kernel
> version :-/ )
>
> 2) Replace the cpia code in a new or current kernel source with the cpia
> code from their SourceForge CVS, and recompile the kernel (I was told this
> should work, but I did not test it myself ;-)
>
> Once you have a cpia module that's either *fixed* or at least with an
> enabled /proc/cpia interface, then the "echo ... > /proc/cpia/video" will
> work again.
>
> (also, you need a patch to make cpia-control work again with new versions
> of its dependant software. I don't have the patch on me right now, but I
> think it was posted to this list about a month ago, so you should be able
> to find it with a bit of effort... or someone else might have it handy ;-)
>
> --
> Sam Hart
> University/Work addr. <hart@physics.arizona.edu>
> Personal addr. <criswell@geekcomix.com>
>
>
> On Fri, 14 Dec 2001, Doug Welch wrote:
>
> >
> > Hi,
> >
> > Thanks for responding! I tried that, but it doesn't do
> > anything on my machine. None of the QX3-specific items
> > are showing up in /proc/cpia/video0. Any suggestions would
> > be appreciated!
> <snip>
> > On Fri, 14
> > Dec 2001 f.duncan.m.haldane@worldnet.att.net wrote:
> >
> > > To turn on the QX3 lights,
> > >
> > > (assuming your device is /dev/video0)
> > >
> > > echo bottomlight: on > /proc/cpia/video0
> > >
> > > echo toplight: on > /proc/cpia/video0
> > > echo toplight: off > .......
> > > etc.
> > >
> > > or use Peter Prengler's cpia-control utility
> > > from the cpia site http://sourceforge.net/projects/webcam
> > >
> > > Good luck!
>