Luc, Alan, list,
Thanks for your replies.
Alan - the button doesn't appear to show up as an HID device. I have
HID compiled into my kernel but there are no messages in dmesg or
/var/log/messages suggesting it's been found and there are no devices
in /dev/input or similar that I can see.
Luc - excuse me ignorance, but how do I enable the log? I am very new
to Linux, I'm afraid. No new messages appear in dmesg or
/var/log/messages when I push the button (even when the device is
capturing frames).
Cheers,
Andrew.
On 7/8/05, Luc Saillard <> wrote:
> On Fri, Jul 08, 2005 at 10:19:32AM +0100, Andrew Cavers wrote:
> > Hello again.
> >
> > I've spent the last hour poking through Luc's source and found these
> > lines in pwc-if.c:
> >
> > if ((ptr[0] ^ pdev->vmirror) & 0x01) {
> > if (ptr[0] & 0x01)
> > Info("Snapshot button pressed.\n");
> > else
> > Info("Snapshot button released.\n");
> > }
>
> If you enable the log, and you are pressing the button, do you see some
> messages in the log ? if the message doesn't comes, perhaps you need to
> capture some frame while pressing the button. If you see the message, i can
> try to implement a fake input device or something similar.
>
> Luc
>
--
--
Andrew Cavers
www.mution.com
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|