所以我最近在我的 Alienware/Dell 上安装了 Ubuntu,一切都很顺利,直到我升级到 16.10。
此后,我的触摸板突然开始像触摸屏(或图形输入板)一样工作,即指针跳转到我触摸触摸板的任何地方(就像它映射到屏幕上一样)。
我尝试了所有能找到的方法,例如重新映射鼠标模块xinput
,甚至删除和添加鼠标模块,psmouse
但都不起作用。我找不到其他解决方案。
输出xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SIGMACHIP Usb Mouse id=10 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Integrated_Webcam_HD id=11 [slave keyboard (3)]
↳ Intel HID events id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ Dell WMI hotkeys id=15 [slave keyboard (3)]
↳ SynPS/2 Synaptics TouchPad
就是我正在谈论的那个。
输出xinput list-props 14
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (165): 1
Coordinate Transformation Matrix (167): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (295): 0
Device Accel Constant Deceleration (296): 1.000000
Device Accel Adaptive Deceleration (297): 1.000000
Device Accel Velocity Scaling (298): 10.000000
Device Product ID (284): 2, 7
Device Node (285): "/dev/input/event6"
Evdev Axis Inversion (299): 0, 0
Evdev Axis Calibration (300): <no items>
Evdev Axes Swap (301): 0
Axis Labels (302): "Abs MT Position X" (292), "Abs MT Position Y" (293), "Abs MT Pressure" (294), "Abs Tool Width" (291), "None" (0), "None" (0), "None" (0)
Button Labels (303): "Button Left" (168), "Button Unknown" (287), "Button Right" (170), "Button Wheel Up" (171), "Button Wheel Down" (172)
Evdev Scrolling Distance (304): 0, 0, 0
Evdev Middle Button Emulation (305): 0
Evdev Middle Button Timeout (306): 50
Evdev Third Button Emulation (307): 0
Evdev Third Button Emulation Timeout (308): 1000
Evdev Third Button Emulation Button (309): 3
Evdev Third Button Emulation Threshold (310): 20
Evdev Wheel Emulation (311): 0
Evdev Wheel Emulation Axes (312): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (313): 10
Evdev Wheel Emulation Timeout (314): 200
Evdev Wheel Emulation Button (315): 4
Evdev Drag Lock Buttons (316): 0
我还注意到有人遇到了与我相反的问题(即他们的触摸屏就像触摸板一样)
请建议该怎么做。
答案1
没有安装用户空间触摸板驱动程序。这就是为什么它被视为相对设备。
跑步
sudo apt install xserver-xorg-input-all
并重新启动会话。
如果你hwe-16.04
安装了软件包,你需要运行
sudo apt install xserver-xorg-input-all-hwe-16.04
答案2
您正在寻找的设置是相对或绝对跟踪模式。
这是硬件特定的,要找到您的设备,请使用命令xinput
(不带任何选项)列出您的设备。查找“从属”设备,即实际设备,而不是虚拟的主设备。
xinput set-mode ABSOLUTE|RELATIVE 将更改模式。设备名称可以是报告的 Xid 编号xinput
或实际名称,包括引号:xinput set-mode "SynPS/2 Synaptics TouchPad" RELATIVE
。Xinput 选项:https://www.x.org/archive/current/doc/man/man1/xinput.1.xhtml
如果您使用的是 Wacom 平板电脑或手写板,只需打开 ubuntu 系统设置中的 Wacom 设置窗口,然后单击相关选项。有关 Wacom 的更多信息,请参阅 help.ubuntu,网址为https://help.ubuntu.com/stable/ubuntu-help/wacom-mode.html