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

Damien Challet linux-thinkpad@linux-thinkpad.org
Thu, 8 May 2008 09:33:18 +0200


On Thursday 08 May 2008 02.38:07 Stefan Monnier wrote:
> =A0 =A0bus/usb/devices/4-2/power/level =3D auto


your email seems to have been mangled. On an x61s, I get

# grep . /sys/bus/usb/devices/*/product
/sys/bus/usb/devices/1-2/product:Biometric Coprocessor
[...]

now=20

# lsusb=20
[...]
Bus 001 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint R=
eader
[...]

which means that lsusb numbers the devices from 1, not 0, I suppose. So far=
, so good.

then=20

# ls /sys/bus/usb/devices/1-2/
1-2:1.0              bDeviceClass     bMaxPacketSize0     busnum         de=
vnum     idVendor      product    uevent
authorized           bDeviceProtocol  bMaxPower           configuration  dr=
iver     manufacturer  quirks     urbnum
bcdDevice            bDeviceSubClass  bNumConfigurations  descriptors    ep=
_00      maxchild      speed      usb_endpoint
bConfigurationValue  bmAttributes     bNumInterfaces      dev            id=
Product  power         subsystem  version

finally=20

# cat /sys/bus/usb/devices/1-2/power/level=20
on

which I changed to auto

echo auto > /sys/bus/usb/devices/1-2/power/level

it seems that echo off, echo 0, and echo disabled do not work, so I guess t=
hat auto is better than nothing.

Thanks for your post!

Damien