Elan 触摸屏可以识别,但触摸板无法识别

Elan 触摸屏可以识别,但触摸板无法识别

因此,我尝试使用配置尽可能小的内核在 Dell XPS 9520 上安装 Gentoo。到目前为止,除了触摸板之外,我已经成功地让一切正常工作。

我已经启动到 Kubuntu 并dmesg报告

[    1.685836] intel-lpss 0000:00:15.1: enabling device (0000 -> 0002)
[    1.686228] idma64 idma64.1: Found Intel integrated DMA 64-bit
[    1.820546] input: ELAN2D24:00 04F3:2D24 Touchscreen as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input5
[    1.820871] input: ELAN2D24:00 04F3:2D24 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input6
[    1.821015] input: ELAN2D24:00 04F3:2D24 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input7
[    1.821262] hid-generic 0018:04F3:2D24.0001: input,hidraw0: I2C HID v1.00 Device [ELAN2D24:00 04F3:2D24] on i2c-ELAN2D24:00
[    1.822230] input: VEN_04F3:00 04F3:311C Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-VEN_04F3:00/0018:04F3:311C.0002/input/input9
[    1.822506] input: VEN_04F3:00 04F3:311C Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-VEN_04F3:00/0018:04F3:311C.0002/input/input10
[    1.822841] hid-generic 0018:04F3:311C.0002: input,hidraw1: I2C HID v1.00 Mouse [VEN_04F3:00 04F3:311C] on i2c-VEN_04F3:00

这里04F3:2D24代表触摸屏和04F3:311C触摸板,如libinput list-devicesKubuntu 上所标识的那样。我已经确定(令我惊讶的是)触摸板和触摸屏(即ELAN2D24:00 04F3:2D24VEN_04F3:00 04F3:311C MouseVEN_04F3:00 04F3:311C Touchpad)的驱动程序为hid_multitouch

$ ls -l /dev/input/event[...]
[...]

$ cd /sys/dev/char/[major]:[minor]/device/device/driver
[...]

$ ls -al | grep module
hid_multitouch

在 Gentoo 上,我启用了I2C_DESIGNWARE_CORE,I2C_DESIGNWARE_PLATFORM并且甚至 I2C_DESIGNWARE_PCI(当然,还有hid_multitouch),但无济于事。该模块确实加载了,

$ doas lsmod
Module                  Size  Used by
intel_ishtp_hid        24576  0
iwlmvm                421888  0
hid_multitouch         28672  0
hid_generic            16384  0
mac80211              929792  1 iwlmvm
libarc4                16384  1 mac80211
dell_wmi               20480  0
dell_smbios            16384  1 dell_wmi
iwlwifi               454656  1 iwlmvm
dell_wmi_sysman        36864  0
sparse_keymap          16384  1 dell_wmi
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
firmware_attributes_class    16384  1 dell_wmi_sysman
cfg80211              921600  3 iwlmvm,iwlwifi,mac80211
x86_pkg_temp_thermal    20480  0
i2c_i801               28672  0
thunderbolt           286720  0
i2c_smbus              16384  1 i2c_i801
i2c_designware_platform    16384  0
i2c_designware_core    28672  1 i2c_designware_platform
idma64                 20480  0
intel_ish_ipc          28672  0
intel_ishtp            57344  2 intel_ishtp_hid,intel_ish_ipc
wmi                    28672  4 dell_wmi_sysman,dell_wmi,dell_smbios,dell_wmi_descriptor
i2c_hid_acpi           16384  0
i2c_hid                28672  1 i2c_hid_acpi
rtc_cmos               24576  1
efivarfs               16384  1
zfs                  4161536  8
zunicode              335872  1 zfs
zzstd                 569344  1 zfs
zlua                  180224  1 zfs
zavl                   16384  1 zfs
icp                   323584  1 zfs
zcommon               102400  2 zfs,icp
znvpair               106496  2 zfs,zcommon
spl                   110592  6 zfs,icp,zzstd,znvpair,zcommon,zavl
xhci_pci               20480  0
xhci_hcd              258048  1 xhci_pci

但似乎只驱动触摸屏。

更令人好奇的是,Kubuntu 内核似乎在没有驱动程序的情况下运行良好,仅依赖于i2chid驱动程序(然而,它仍然以某种方式在日志中报告i2c_designware.0和)。i2c_designware.1dmesg

当谈到这件事时,我束手无策,不知道如何继续。我对 Linux 还很陌生;非常感谢您的帮助。

编辑:有时,重新启动后,使用触摸板会在 TTY 上产生看似随机的字符流。

答案1

Gentoo 论坛用户的假如以下答案与我链接我自己的问题在那里。备查:

2015 年 5 月 18 日合并的 Alder Lake 引脚控制驱动程序中似乎存在错误。相反,启用 Tiger Lake 驱动程序。另外,仅

  • Synopsys DesignWare 平台 ( I2C_DESIGNWARE_PLATFORM)
  • HID 通过 I2C 传输层 ACPI ( I2C_HID_ACPI) 和
  • hid_multitouch ( HID_MULTITOUCH)

驱动程序是必要的。不必要的是:

  • DesignWare PCI
  • LPSS(通用 I2C 驱动程序)
  • 中小企业总线
  • 通用输入输出接口
  • 输入设备支持
    • 触摸屏
    • 老鼠和其他司机

相关内容