- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我在使用“AlpsPS/2 ALPS GlidePoint”(HP zBook Studio G4)时遇到问题。它正在工作,但被视为鼠标设备,实际上导致我在“鼠标和触摸板”>“触摸板”中所做的所有设置都被忽略。例如。我可以禁用“点击以单击”但没有效果。我什至可以禁用“启用触摸板”,它仍然可以工作。
这些是 Xorg 日志文件中的相关行:
[ 9.584] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event6)
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchpad catchall"
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchscreen catchall"
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "touchpad catchall"
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "Default clickpad buttons"
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput touchpad catchall"
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput touchscreen catchall"
[ 9.584] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS GlidePoint'
[ 9.584] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[ 9.585] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[ 9.585] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is a touchpad
[ 9.616] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD, id 17)
[ 9.616] (**) AlpsPS/2 ALPS GlidePoint: (accel) selected scheme none/0
[ 9.616] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
[ 9.616] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[ 9.616] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[ 9.616] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is a touchpad
[ 9.616] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse1)
[ 9.616] (**) AlpsPS/2 ALPS GlidePoint: Ignoring device from InputClass "touchpad ignore duplicates"
这是'xinput'的输出:
$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ALP0012:00 044E:120C id=10 [slave pointer (2)]
⎜ ↳ Generic USB Audio id=14 [slave pointer (2)]
⎜ ↳ PixArt Microsoft USB Optical Mouse id=15 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=17 [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)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ HP HD Camera: HP HD Camera id=9 [slave keyboard (3)]
↳ USB Keyboard id=11 [slave keyboard (3)]
↳ USB Keyboard id=12 [slave keyboard (3)]
↳ Sennheiser Sennheiser SC60 for Lync id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
↳ HP Wireless hotkeys id=18 [slave keyboard (3)]
↳ HP WMI hotkeys id=19 [slave keyboard (3)]
↳ Generic USB Audio id=20 [slave keyboard (3)]
我已经手动禁用点击如下(但仍然没有效果):
在此处输入代码
xinput set-prop 'AlpsPS/2 ALPS GlidePoint' 'libinput Tapping Enabled' 0
-->
$ xinput --watch-props 'AlpsPS/2 ALPS GlidePoint'
Device 'AlpsPS/2 ALPS GlidePoint':
Device Enabled (142): 1
Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (296): 0
libinput Tapping Enabled Default (297): 0
libinput Tapping Drag Enabled (298): 1
libinput Tapping Drag Enabled Default (299): 1
libinput Tapping Drag Lock Enabled (300): 0
libinput Tapping Drag Lock Enabled Default (301): 0
libinput Accel Speed (279): 0.996016
libinput Accel Speed Default (280): 0.000000
libinput Natural Scrolling Enabled (284): 1
libinput Natural Scrolling Enabled Default (285): 0
libinput Send Events Modes Available (263): 1, 1
libinput Send Events Mode Enabled (264): 0, 0
libinput Send Events Mode Enabled Default (265): 0, 0
libinput Left Handed Enabled (286): 0
libinput Left Handed Enabled Default (287): 0
libinput Scroll Methods Available (288): 1, 1, 0
libinput Scroll Method Enabled (289): 1, 0, 0
libinput Scroll Method Enabled Default (290): 1, 0, 0
libinput Click Methods Available (302): 1, 1
libinput Click Method Enabled (303): 1, 0
libinput Click Method Enabled Default (304): 1, 0
libinput Middle Emulation Enabled (293): 0
libinput Middle Emulation Enabled Default (294): 0
libinput Disable While Typing Enabled (305): 1
libinput Disable While Typing Enabled Default (306): 1
Device Node (266): "/dev/input/event6"
Device Product ID (267): 2, 8
libinput Drag Lock Buttons (295): <no items>
libinput Horizonal Scroll Enabled (268): 0
任何关于如何让这个东西作为实际触摸板工作的提示都将不胜感激! :)
编辑:这不是特定的 Mint 问题 - 我用最新的 Fedora 进行了测试,那里存在同样的问题(我希望更新的 libinput/gtk/无论什么版本都可能解决这个问题)。
编辑 2:在带有最新 Plasma 的 KDE/Kubuntu 上也不起作用。
最佳答案
我遇到了同样的问题。通过执行以下操作修复它:
sudo modprobe -r psmouse;须藤 modprobe psmouse
在这里找到答案:https://askubuntu.com/a/625064
关于Linux - AlpsPS/2 ALPS GlidePoint 触摸板在 HP zBook Studio G4 上被视为鼠标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48645586/
我在使用“AlpsPS/2 ALPS GlidePoint”(HP zBook Studio G4)时遇到问题。它正在工作,但被视为鼠标设备,实际上导致我在“鼠标和触摸板”>“触摸板”中所做的所有设置
我是一名优秀的程序员,十分优秀!