红联Linux门户
Linux帮助

解决休眠后鼠标无响应问题

发布时间:2007-04-19 00:57:33来源:红联作者:Gpoyinsnbo
Ubuntu Feisty 内核 2.6.20,USB 鼠标,休眠 (suspend to RAM)后发生鼠标失去响应问题,每次要趴到地上重新插拔鼠标。

问题原因是休眠时内核的USB模块停止和重新载入出现问题。解决方法:

1. 确定USB有关内核模块,终端中运行
# lsmod | grep usb
我的显示如下:
usbhid 26592 0
hid 27392 1 usbhid
usbcore 134280 4 ohci_hcd,ehci_hcd,usbhid

2. 修改休眠脚本
# sudo vi /etc/default/acpi-support

找到如下内容,并将上面查到内核模块添加进MODULES 选项,如红字所示

# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
MODULES="usbhid ehci_hcd ohci_hcd"

# Add modules to this list to leave them in the kernel over suspend/resume
MODULES_WHITELIST=""

3 保存退出,问题解决。
不解啊,还Note说USB已经自动卸载,莫非没有自动加载。
文章评论

共有 0 条评论