pwc
[Top] [All Lists]

Re: [pwc] [PATCH] Report webcam button in sysfs

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] [PATCH] Report webcam button in sysfs
From: Sandy McArthur <>
Date: Sun, 31 Jul 2005 03:28:07 -0400
On Jul 30, 2005, at 7:35 PM, Luc Saillard wrote:

Using the idea that comes from Patrik Jakobsson, i've made a patch to
report status of the button in sysfs. [...] This patch will be in the next daily snapshot (and in the next release) if
nobody found a bug.

+static CLASS_DEVICE_ATTR(button, S_IRUGO | S_IWUSR, show_snapshot_button_status,
+             NULL);

Shouldn't the sysfs device entry be read only? I think you want to remove the S_IWUSR from that line.

--
Sandy McArthur

"He who dares not offend cannot be honest."
- Thomas Paine

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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