刚刚将我的 PC 从上一个 LTS Ubuntu 发行版更新到 18.04LTS,我的 Wacom Wireless Bamboo 平板电脑上的触控笔立即失去了所有按钮功能。
系统似乎正在跟踪触控笔本身,因为将其移到触控板上会导致光标在屏幕上移动,但是将触控笔触摸触控板和/或单击触控笔主体上的按钮没有响应。
另一方面,平板电脑本身的触摸板功能分别响应光标移动和点击时的手指拖动和点击。数位板底部的 A/B 按钮不响应,与触控笔按钮相同。如下:
平板电脑型号: Wacom Bamboo Pad(无线),CTH-300/K
系统: Ubuntu 18.04.1 LTS,64 位
设备 > Wacom 数位板:显示“未找到触控笔/请将您的触控笔移动到数位板附近进行配置”,并且对该区域的触控笔光标移动没有响应。Tablet > Wacom Bamboo Pad Wireless > Tracking Mode
是“平板电脑(绝对)”。尝试使用“地图按钮...”设置 A/B 数位板按钮不起作用;它们显示在屏幕上以进行映射,但不响应被按下。
libwacom-list-local-devices:
我注意到一点: Libwacom 将数位板手写笔列为0xfffff;0xffffe
,这是默认标准手写笔和带橡皮擦的手写笔的代码。Bamboo Pad 的手写笔没有橡皮擦或摇杆按钮,应设置为 type 0xffffd
。不确定这是否意味着它与此错误有关。
[Device]
Name=Wacom Bamboo Pad Wireless
DeviceMatch=usb:056a:0319;
Class=Bamboo
Width=4
Height=3
IntegratedIn=
Layout=bamboo-pad.svg
Styli=0xfffff;0xffffe;
[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=true
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=2
[Buttons]
Left=
Right=
Top=
Bottom=A;B;
Touchstrip=
Touchstrip2=
OLEDs=
Ring=
Ring2=
EvdevCodes=0x110;0x111;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0
---------------------------------------------------------------
[Device]
Name=Wacom Bamboo Pad Wireless
DeviceMatch=usb:056a:0319;
Class=Bamboo
Width=4
Height=3
IntegratedIn=
Layout=bamboo-pad.svg
Styli=0xfffff;0xffffe;
[Features]
Reversible=false
Stylus=true
Ring=false
Ring2=false
Touch=true
TouchSwitch=false
StatusLEDs=
NumStrips=0
Buttons=2
[Buttons]
Left=
Right=
Top=
Bottom=A;B;
Touchstrip=
Touchstrip2=
OLEDs=
Ring=
Ring2=
EvdevCodes=0x110;0x111;
RingNumModes=0
Ring2NumModes=0
StripsNumModes=0
---------------------------------------------------------------
xinput --list:
还列出一个不存在的橡皮擦
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft® 2.4GHz Transceiver v7.0 id=9 [slave pointer (2)]
⎜ ↳ Microsoft Microsoft® 2.4GHz Transceiver v7.0 id=10 [slave pointer (2)]
⎜ ↳ Wacom Wireless Bamboo PAD Pen stylus id=11 [slave pointer (2)]
⎜ ↳ Wacom Wireless Bamboo PAD Finger touch id=15 [slave pointer (2)]
⎜ ↳ Wacom Wireless Bamboo PAD Pen eraser id=12 [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)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Microsoft Microsoft® 2.4GHz Transceiver v7.0 id=8 [slave keyboard (3)]
↳ Microsoft Microsoft® 2.4GHz Transceiver v7.0 id=13 [slave keyboard (3)]
↳ Microsoft Microsoft® 2.4GHz Transceiver v7.0 id=14 [slave keyboard (3)]
xinput 道具:
注意到列出的按钮比手写笔实际拥有的要多得多。
/usr/share/libwacom$ xinput --list-props "Wacom Wireless Bamboo PAD Pen stylus"
Device 'Wacom Wireless Bamboo PAD Pen stylus':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (270): 0
Device Accel Constant Deceleration (271): 1.000000
Device Accel Adaptive Deceleration (272): 1.000000
Device Accel Velocity Scaling (273): 10.000000
Device Node (262): "/dev/input/event5"
Wacom Tablet Area (299): 0, 0, 10690, 6680
Wacom Rotation (300): 0
Wacom Pressurecurve (301): 0, 0, 100, 100
Wacom Serial IDs (302): 793, 1, 2, 0, 0
Wacom Serial ID binding (303): 0
Wacom Pressure Threshold (304): 26
Wacom Sample and Suppress (305): 2, 4
Wacom Enable Touch (306): 1
Wacom Hover Click (307): 1
Wacom Enable Touch Gesture (308): 0
Wacom Touch Gesture Parameters (309): 0, 0, 250
Wacom Tool Type (310): "STYLUS" (292)
Wacom Button Actions (311): "Wacom button action 0" (312), "Wacom button action 1" (313), "Wacom button action 2" (314), "None" (0), "None" (0), "None" (0), "None" (0), "Wacom button action 3" (315)
Wacom button action 0 (312): 1572865
Wacom button action 1 (313): 1572866
Wacom button action 2 (314): 1572867
Wacom button action 3 (315): 1572872
Wacom Pressure Recalibration (316): 1
Wacom Panscroll Threshold (317): 1209
Device Product ID (263): 1386, 793
Wacom Debug Levels (318): 0, 0
xinput 测试“Wacom 无线 Bamboo PAD 触控笔”:
笔运动:
motion a[0]=7676 a[1]=3667 a[2]=0 a[3]=0 a[4]=0 a[5]=-900
motion a[0]=7663 a[1]=3660 a[2]=0 a[3]=0 a[4]=0 a[5]=-900
motion a[0]=7656 a[1]=3650 a[2]=0 a[3]=0 a[4]=0 a[5]=-900
motion a[0]=7657 a[1]=3642 a[2]=0 a[3]=0 a[4]=0 a[5]=-900
motion a[0]=7669 a[1]=3637 a[2]=0 a[3]=0 a[4]=0 a[5]=-900
motion a[0]=7688 a[1]=3635 a[2]=0 a[3]=0 a[4]=0 a[5]=-900
(etc.)
笔“点击”/触摸:
motion a[0]=7658 a[1]=3641 a[2]=31164 a[3]=0 a[4]=0 a[5]=-900
笔按钮点击:无明显反应
如果有人对如何进行有任何想法,我将不胜感激。我想尝试删除额外的按钮映射,为平板电脑重新分配 libwacom 的触控笔代码,和/或找出按钮操作代码对应的确切内容,但我很难找到有关如何执行任何操作的信息. (而且我宁愿不杀死我仍然拥有的小功能。)
过去,我在为这款平板电脑分配持久设置时也遇到过问题,但我不确定这是否与现在发生的事情有关。