我目前正在尝试禁用 Wacom Bamboo CTH-301/K (USB) 平板电脑的触摸输入,但据我所知,每个人都告诉我使用 xinput 或 xsetwacom。
经过大量测试后,我得出的结论是,笔和橡皮擦可以被识别并且可以工作,但平板电脑却不能。
lsusb:
Bus 002 Device 003: ID 0cf3:e004 Atheros Communications, Inc.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0c45:648d Microdia
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 056a:0318 Wacom Co., Ltd
Bus 003 Device 002: ID 1d57:0006 Xenta Wireless Receiver (RC Laser Pointer)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
新输入:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ HID-complianp Mouse HID-compliant Mouse id=12 [slave pointer (2)]
⎜ ↳ Wacom USB Bamboo PAD Pen stylus id=14 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS GlidePoint id=17 [slave pointer (2)]
⎜ ↳ Wacom USB Bamboo PAD Pen eraser id=19 [slave pointer (2)]
⎜ ↳ Wacom USB Bamboo PAD Finger id=13 [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)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ HID-complianp Mouse HID-compliant Mouse id=11 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD id=15 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
↳ Dell WMI hotkeys id=18 [slave keyboard (3)]
如您所见,lsusb 将其显示为“Wacom Co., Ltd”,据我了解 askubuntu 周围的其他帖子而言,这不是一个好兆头,但 xinput 显示了笔、橡皮擦和手指选项。
虽然这看起来不错,但让我好奇的是 xsetwacom 没有列出手指设备
xsetwacom:
Wacom USB Bamboo PAD Pen stylus id: 14 type: STYLUS
Wacom USB Bamboo PAD Pen eraser id: 19 type: ERASER
当我尝试获取设备 13(Finger)的所有选项时,我收到了以下信息:
xsetwacom --获取 13 全部
Property 'Wacom Tablet Area' does not exist on device.
Property 'Wacom Button Actions' does not exist on device.
Property 'Wacom Button Actions' does not exist on device.
Property 'Wacom Button Actions' does not exist on device.
Property 'Wacom Debug Levels' does not exist on device.
Property 'Wacom Debug Levels' does not exist on device.
Property 'Wacom Sample and Suppress' does not exist on device.
Property 'Wacom Sample and Suppress' does not exist on device.
Property 'Wacom Pressurecurve' does not exist on device.
Option "Mode" "Relative"
Property 'Wacom Hover Click' does not exist on device.
Property 'Wacom Enable Touch' does not exist on device.
Property 'Wacom Hardware Touch Switch' does not exist on device.
Property 'Wacom Enable Touch Gesture' does not exist on device.
Property 'Wacom Touch Gesture Parameters' does not exist on device.
Property 'Wacom Touch Gesture Parameters' does not exist on device.
Property 'Wacom Touch Gesture Parameters' does not exist on device.
Property 'Wacom Proximity Threshold' does not exist on device.
Property 'Wacom Rotation' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Pressure Threshold' does not exist on device.
Property 'Wacom Tool Type' does not exist on device.
Property 'Wacom Serial IDs' does not exist on device.
Property 'Wacom Serial IDs' does not exist on device.
Property 'Wacom Serial IDs' does not exist on device.
Property 'Wacom Serial ID binding' does not exist on device.
Property 'Wacom Serial IDs' does not exist on device.
Property 'Wacom Pressure Recalibration' does not exist on device.
关于我应该如何让 xsetwacom 识别手指部分或者只是禁用触摸部分,有什么线索吗?
附言:如果我在 xinput 上禁用设备 13,它也会禁用笔触摸。