如何删除/调试华硕手写笔,自从禁用以来每次笔记本电脑启动时都会发送事件

如何删除/调试华硕手写笔,自从禁用以来每次笔记本电脑启动时都会发送事件

一周前,手写笔以某种方式在设备之间添加了(我已经几个月没有自己的手写笔了),并且每次笔记本电脑启动时都会向我发送垃圾邮件:

$ sudo libinput debug-events | grep event5
-event5   DEVICE_ADDED            ELAN9009:00 04F3:2E36             seat0 default group5  cap:t  size 300x184mm ntouches 10 calib
-event5   TOUCH_DOWN              +69.894s  0 (0) 85.20/92.85 (255.67/170.92mm)
 event5   TOUCH_FRAME             +69.894s  
-event5   TOUCH_UP                +69.909s  0 (0)
 event5   TOUCH_FRAME             +69.909s  
-event5   TOUCH_DOWN              +96.373s  0 (0) 85.23/92.89 (255.75/171.00mm)
 event5   TOUCH_FRAME             +96.373s  
 event5   TOUCH_UP                +96.387s  0 (0)
 event5   TOUCH_FRAME             +96.387s  
-event5   TOUCH_DOWN              +115.360s 0 (0) 85.20/93.12 (255.67/171.42mm)
 event5   TOUCH_FRAME             +115.360s 
-event5   TOUCH_UP                +115.374s 0 (0)
 event5   TOUCH_FRAME             +115.374s 
-event5   TOUCH_DOWN              +129.771s 0 (0) 85.23/92.98 (255.75/171.17mm)
 event5   TOUCH_FRAME             +129.771s 
 event5   TOUCH_UP                +129.786s 0 (0)
 event5   TOUCH_FRAME             +129.786s 
-event5   TOUCH_DOWN              +138.171s 0 (0) 85.23/92.76 (255.75/170.75mm)

因此,每次笔记本电脑重新启动时都会添加设备。

快速解决方案是每个笔记本电脑启动调用:

$ xinput disable "ELAN9009:00 04F3:2E36
$ xinput disable "ELAN9009:00 04F3:2E36 Stylus
$ xinput # when are devices disabled
...
∼ ELAN9009:00 04F3:2E36                     id=9    [floating slave]
∼ ELAN9009:00 04F3:2E36 Stylus              id=10   [floating slave]
...

$ cat /proc/bus/input/devices

I: Bus=0018 Vendor=04f3 Product=2e36 Version=0100
N: Name="ELAN9009:00 04F3:2E36"
P: Phys=i2c-ELAN9009:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN9009:00/0018:04F3:2E36.0001/input/input19
U: Uniq=
H: Handlers=mouse0 event5 
B: PROP=2
B: EV=1b
B: KEY=400 0 0 0 0 0
B: ABS=3273800000000003
B: MSC=20

现在我尝试弄清楚发生了什么以及如何永久删除这个不真实的设备。任何想法?

答案1

解决方案:清洁触摸屏

相关内容