[ltp] Re: T61, Lenovo quality, Linux pre-installed, alternatives
Stefan Monnier
linux-thinkpad@linux-thinkpad.org
Mon, 12 May 2008 18:38:17 -0400
> 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.
Stefan