自从我安装了 Ubuntu 后,我的触摸板就出现了问题。首先在 GNOME/Unity 下,我的触摸板冻结了几秒钟,并出现以下 dmesg 错误:
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
(仅限触摸板/指点杆,但不适用于我的 USB 鼠标)几个月后,我从 Unity 桌面换到了 xfce 桌面,然后又换到了 KDE:我的触摸板和指点杆要么冻结,要么“反应过度”(整个过程直到重新启动):当我触摸触摸板(和指点杆)时,它会通过右键单击或左键单击所有内容,并且光标变得“疯狂”。dmesg:
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
psmouse serio1: issuing reconnect request
psmouse serio1: synaptics: device claims to have extended capabilities, but I'm not able to read them.
psmouse serio1: synaptics: device claims to have extended capability 0x0c, but I'm not able to read it.
psmouse serio1: synaptics: hardware appears to be different: id(149271-149271), model(114865-114865), caps(d047b3-d047b1), ext(b40000-0).
psmouse serio1: bad data from KBC - timeout
我无法通过重新启动 xserver(login-logut)来解决此问题,我必须重新启动 ubuntu 才能使触摸板工作。
但是这是我的 Xorg 日志
[ 37.683] (II) LoadModule: "synaptics"
[ 37.683] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 37.683] (II) Module synaptics: vendor="X.Org Foundation"
[ 37.684] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 37.684] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5888
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4820
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 37.684] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 37.684] (**) synaptics: SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[ 37.684] (**) synaptics: SynPS/2 Synaptics TouchPad: AccelFactor is now 0.036
[ 37.684] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 8465.562] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
(EE) 3: /usr/lib/xorg/modules/input/synaptics_drv.so (0xb6326000+0xcf65) [0xb6332f65]
(EE) 4: /usr/lib/xorg/modules/input/synaptics_drv.so (0xb6326000+0x6c75) [0xb632cc75]
[ 8625.425] (II) UnloadModule: "synaptics"
我使用的是搭载 Ubutnu 12.10 的 Thinkpad L420。(新内核/全部更新。)我测试了很多东西,比如使用 gpointing-device-settings 设置最低加速度,但对我来说不起作用。
有什么想法可以解决这个问题吗?
答案1
我的解决方法:
sudo touch /etc/pm/sleep.d/00_mousereset
sudo nano /etc/pm/sleep.d/00_mousereset
粘贴/输入以下内容并保存:
#!/bin/sh
case "$1" in
hibernate)
;;
suspend)
;;
thaw|resume)
sleep 2
/sbin/rmmod psmouse
sleep 2
/sbin/modprobe psmouse
;;
*) echo "ERROR calling " $0
;;
esac
sudo chmod 755 /etc/pm/sleep.d/00_mousereset
保存,下次暂停/恢复时它就可以工作了。