您尚未登录。

#1 2024-08-11 23:34:52

Qs315490
会员
注册时间: 2021-05-01
帖子: 5

触摸屏概率无法使用

触摸屏概率出现:
无法操作
只能在当前程序操作(如桌面,在这种情况下,触摸会透过窗口直接传到桌面)
位置异常(目前就ubuntu20.04的设置应用才出现这个问题)
卡死当前程序(有时是整个界面。类似与触摸事件响应时间特长,重新加载驱动就恢复。并且执行卡死之后的操作)(arch特有)

设备 小米平板2
内核 6.10.0-自定义
内核源码:https://github.com/Qs315490/latte_kernel_6.10

出现问题时执行,这两命令其中一个就能恢复

modprobe -r hid_multitouch;modprobe hid_multitouch
modprobe -r i2c-hid-acpi;modprobe i2c-hid-acpi

之前内核会报 i2c_hid_acpi i2c-FTSC1000:00: i2c_hid_get_input: incomplete report (66/12288)
在内核源码 drivers/hid/i2c-hid/i2c-hid-core.c里添加以下内容就不报这个信息了。

// Mipad 2
{ 0x2808, 0x509c, I2C_HID_QUIRK_BAD_INPUT_SIZE},

dmesg:

[  802.570059] input: FTSC1000:00 2808:509C Touchscreen as /devices/pci0000:00/808622C1:04/i2c-4/i2c-FTSC1000:00/0018:2808:509C.0007/input/input36
[  802.572184] input: FTSC1000:00 2808:509C as /devices/pci0000:00/808622C1:04/i2c-4/i2c-FTSC1000:00/0018:2808:509C.0007/input/input38
[  802.578029] input: FTSC1000:00 2808:509C Keyboard as /devices/pci0000:00/808622C1:04/i2c-4/i2c-FTSC1000:00/0018:2808:509C.0007/input/input39
[  802.578327] hid-generic 0018:2808:509C.0007: input,hidraw0: I2C HID v1.00 Keyboard [FTSC1000:00 2808:509C] on i2c-FTSC1000:00
[  802.860159] input: FTSC1000:00 2808:509C as /devices/pci0000:00/808622C1:04/i2c-4/i2c-FTSC1000:00/0018:2808:509C.0007/input/input40
[  802.861927] input: FTSC1000:00 2808:509C UNKNOWN as /devices/pci0000:00/808622C1:04/i2c-4/i2c-FTSC1000:00/0018:2808:509C.0007/input/input42
[  802.863544] input: FTSC1000:00 2808:509C Keyboard as /devices/pci0000:00/808622C1:04/i2c-4/i2c-FTSC1000:00/0018:2808:509C.0007/input/input43
[  802.863881] hid-multitouch 0018:2808:509C.0007: input,hidraw0: I2C HID v1.00 Keyboard [FTSC1000:00 2808:509C] on i2c-FTSC1000:00

离线

页脚