华硕 TUF F15(2021 版)上的触摸板无法使用

华硕 TUF F15(2021 版)上的触摸板无法使用

我在 ASUS TUF F15 FX506HM_FX566HM 上使用 Kubuntu 21.04。在“设置”和“设置”中均未检测到触摸板xinput。输出xinput

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Asus Wireless Radio Control               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)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD           id=11   [slave  keyboard (3)]
    ↳ Intel HID events                          id=12   [slave  keyboard (3)]
    ↳ Intel HID 5 button array                  id=13   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=14   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=15   [slave  keyboard (3)]

输出lspci

0000:00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
0000:00:01.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller #1 (rev 05)
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
0000:00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 05)
0000:00:06.0 System peripheral: Intel Corporation Device 09ab
0000:00:07.0 PCI bridge: Intel Corporation Tiger Lake-H Thunderbolt 4 PCI Express Root Port #0 (rev 05)
0000:00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 05)
0000:00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
0000:00:0d.0 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 USB Controller (rev 05)
0000:00:0d.2 USB controller: Intel Corporation Tiger Lake-H Thunderbolt 4 NHI #0 (rev 05)
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
0000:00:14.0 USB controller: Intel Corporation Tiger Lake-H USB 3.2 Gen 2x1 xHCI Host Controller (rev 11)
0000:00:14.2 RAM memory: Intel Corporation Tiger Lake-H Shared SRAM (rev 11)
0000:00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H Serial IO I2C Controller #0 (rev 11)
0000:00:16.0 Communication controller: Intel Corporation Tiger Lake-H Management Engine Interface (rev 11)
0000:00:1c.0 PCI bridge: Intel Corporation Device 43bf (rev 11)
0000:00:1d.0 PCI bridge: Intel Corporation Device 43b6 (rev 11)
0000:00:1f.0 ISA bridge: Intel Corporation Tiger Lake-H LPC/eSPI Controller (rev 11)
0000:00:1f.3 Audio device: Intel Corporation Tiger Lake-H HD Audio Controller (rev 11)
0000:00:1f.4 SMBus: Intel Corporation Tiger Lake-H SMBus Controller (rev 11)
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-H SPI Controller (rev 11)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
0000:01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
0000:2d:00.0 Network controller: MEDIATEK Corp. Device 7961
0000:2e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
10000:e0:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller #0 (rev 05)
10000:e1:00.0 Non-Volatile memory controller: SK hynix Device 174a

我将内核从 5.11 更新到 5.12.5,以修复上述 wifi 问题这里wifi 开始工作(重启后无法工作,只能关闭),但触摸板无法工作。已将内核更新至版本 5.13.1、5.13.2 和 5.13.4、5.13.6、5.14-rc2、5.14-rc3,但仍然无法工作。

为了让 Kubuntu 使用 synaptic 而不是 libinput(正如我在其他地方读到的),我安装xserver-xorg-input-synaptics并删除了它libinput,但重启后,键盘和鼠标停止工作,所以我不得不再次安装 libinput。保留两者的安装,但增加 synaptic 的优先级(正如我在其他地方读到的这里) 也无济于事。

还尝试修改 grub,添加i8042.reset如下GRUB_CMDLINE_LINUX_DEFAULT=内容这里但不起作用。

我认为我的触摸板品牌是 ELAN,因为我看到其他一些华硕触摸板问题(打开和关闭 askubuntu),Linux 提到 ELAN,目录/sys/bus/i2c/devices/显示一个文件i2c-ELAN1203:00。更多信息

$ cat /sys/bus/i2c/devices/i2c-ELAN1203\:00/name
ELAN1203:00

$ cat /sys/bus/i2c/devices/i2c-ELAN1203\:00/modalias
acpi:ELAN1203:PNP0C50: 

查看输出dmesg,我看到以下日志

[ 0.861200] genirq: Setting trigger mode 8 for irq 167 failed (intel_gpio_irq_type+0x0/0x130)
[ 0.862657] tigerlake-pinctrl INT34C6:00: pin 226 cannot be used as IRQ
[ 0.862658] genirq: Setting trigger mode 8 for irq 167 failed (intel_gpio_irq_type+0x0/0x130)
[ 0.862688] i2c_hid_acpi i2c-ELAN1203:00: Could not register for ELAN1203:00 interrupt, irq = 167, ret = -1
[ 0.862712] i2c_hid_acpi: probe of i2c-ELAN1203:00 failed with error -1
[ 0.876848] i915 0000:00:02.0: [drm] VT-d active for gfx access

其他论坛上报告的问题

我还遇到了其他问题,例如蓝牙无法工作以及睡眠模式消耗大量电量,导致电池在 6-8 小时内耗尽,但我会为它们解决另一个问题。

答案1

这个问题可以通过使用内核补丁来解决这里。用它来修补内核版本 5.14-rc4,触摸板就可以正常工作了。

该补丁已在内核版本 5.14-rc6 中发布。使用以下命令安装 rc6主线并且触摸板可以工作。

相关内容