pwc
[Top] [All Lists]

Re: [pwc] Re: Webcam button

To: Luc Saillard <>
Subject: Re: [pwc] Re: Webcam button
From: Andrew Cavers <>
Date: Fri, 8 Jul 2005 13:38:24 +0100
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

<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