解决Ubuntu 10.10下的ThinkPad T61指纹识别器发热问题

原创
2011/02/27 19:39
阅读数 1.1K

参考:http://blog.163.com/fxf_boy/blog/static/11133884200951114953109/

1、在终端执行

lsusb

显示结果:

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 005 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 008: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

其中

Bus 003 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader

为指纹识别器

2、执行

for i in `find /sys/devices/*/*/usb* -name level` ; do echo -n "$i: " ; cat $i ; done

输出结果:

/sys/devices/pci0000:00/0000:00:1a.0/usb3/power/level: auto

/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/power/level: auto

/sys/devices/pci0000:00/0000:00:1a.1/usb4/power/level: auto

/sys/devices/pci0000:00/0000:00:1a.7/usb1/power/level: auto

/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3/power/level: on

/sys/devices/pci0000:00/0000:00:1d.0/usb5/power/level: auto

/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-2/power/level: on

/sys/devices/pci0000:00/0000:00:1d.1/usb6/power/level: auto

/sys/devices/pci0000:00/0000:00:1d.2/usb7/power/level: auto

/sys/devices/pci0000:00/0000:00:1d.7/usb2/power/level: auto

使用

cat /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/idVendor

//输出0483

cat /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/idProduct

//输出2016

找出USB驱动的路径

3、切换到root的权限

sudo -sH

输入密码后,即切换到root权限了。

sudo passwd root

重新设置root的密码之后,重启系统,就可以用root登录了。

如果要禁用root帐号,则执行:

sudo passwd -l root

4、执行

echo "auto" > /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/power/level

到此即可以阻止指纹识别器过热的问题,但该方法只能保持在当前生命周期。

5、为了保证每次重启后,能自动阻止指纹识别器过热,在终端执行

sudo gedit /etc/init.d/ReaderNoMoreHot
输入
#!/bin/bash
#
echo "auto" > sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2/power/level
保存并退出
6、执行
sudo chmod 755 /etc/init.d/ReaderNoMoreHot 
sudo update-rc.d ReaderNoMoreHot defaults 90

 

展开阅读全文
打赏
0
3 收藏
分享
加载中
更多评论
打赏
0 评论
3 收藏
0
分享
返回顶部
顶部