[ltp] Re: T61, Lenovo quality, Linux pre-installed, alternatives

Donald P Kong linux-thinkpad@linux-thinkpad.org
Tue, 13 May 2008 20:27:04 +0800


in which file would i insert this rule?




On Tue, 2008-05-13 at 12:01 +0200,
linux-thinkpad-request@linux-thinkpad.org wrote:
> Message: 16
> To: linux-thinkpad@linux-thinkpad.org
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date:  Mon, 12 May 2008 18:38:17 -0400
> Subject: [ltp] Re: T61, Lenovo quality, Linux pre-installed,
> alternatives
> Reply-To: linux-thinkpad@linux-thinkpad.org
> 
> > In any case I implemented the following udev rule that sets the
> > 'power' attribute to 'auto' when the device is detected by udev:
> 
> > # Set the power mode of the fingerprint reader to auto, ensuring
> that it doesn't draw
> > # power that we otherwise don't care about.
> > SUBSYSTEMS=="usb", ATTR{manufacturer}=="STMicroelectronics",
> ATTR{product}=="Biometric Coprocessor", ATTR{power/level}="auto"
> 
> Cool!  I didn't know you could set attributes directly from udev
> rules.
> I tried it by running some external script, which had all kinds of
> problems.  I'll try this one.
> 
-- 

-------%%@

Donald P Kong
+6019-887-7337
+6016-809-7227

http://nanasbarat.dyndns.org
http://www.foss-solutions.com
http://www.kuchingosc.org