Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Elan touchscreen is recognized but touchpad is not

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
21 posts • Page 1 of 1
Author
Message
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

Elan touchscreen is recognized but touchpad is not

  • Quote

Post by user169291 » Mon Aug 08, 2022 8:42 pm

I'm trying to install Gentoo on a Dell XPS 9520 using a kernel that is configured to be as minimal as possible. So far, I've managed to get everything working, except for the touchpad.

I've booted into Kubuntu to debug, and dmesg reports

Code: Select all

[    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
Here 04F3:2D24 represents the touchscreen, and 04F3:311C the touchpad, as identified by libinput list-devices on Kubuntu. I've ascertained the drivers for both (to my surprise) the touchpad and touchscreen (i.e. ELAN2D24:00 04F3:2D24, VEN_04F3:00 04F3:311C Mouse, and VEN_04F3:00 04F3:311C Touchpad) to be hid_multitouch:

Code: Select all

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

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

$ ls -al | grep module
hid_multitouch
On Gentoo, I've enabled I2C_DESIGNWARE_CORE, I2C_DESIGNWARE_PLATFORM and even I2C_DESIGNWARE_PCI (along with, of course hid_multitouch), to no avail. The module does indeed load,

Code: Select all

$ lsmod
Module                  Size  Used by
uhid                   20480  1
hid_sensor_custom      24576  0
hid_sensor_hub         20480  1 hid_sensor_custom
intel_ishtp_hid        24576  0
hid_multitouch         28672  0
hid_generic            16384  0
iwlmvm                421888  0
mac80211              929792  1 iwlmvm
libarc4                16384  1 mac80211
i2c_designware_platform    16384  0
i2c_designware_core    28672  1 i2c_designware_platform
iwlwifi               454656  1 iwlmvm
dell_wmi               20480  0
dell_smbios            16384  1 dell_wmi
dell_wmi_sysman        36864  0
firmware_attributes_class    16384  1 dell_wmi_sysman
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
wmi_bmof               16384  0
intel_tcc_cooling      20480  0
cfg80211              921600  3 iwlmvm,iwlwifi,mac80211
x86_pkg_temp_thermal    20480  0
i2c_i801               28672  0
i2c_smbus              16384  1 i2c_i801
thunderbolt           286720  0
intel_lpss_pci         28672  0
intel_ish_ipc          28672  0
intel_lpss             16384  1 intel_lpss_pci
idma64                 20480  0
intel_ishtp            57344  2 intel_ishtp_hid,intel_ish_ipc
wmi                    28672  5 dell_wmi_sysman,dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
i2c_hid_acpi           16384  0
i2c_hid                28672  1 i2c_hid_acpi
rtc_cmos               24576  1
intel_hid              20480  0
sparse_keymap          16384  2 intel_hid,dell_wmi
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
but only seems to drive the touchscreen.

On Gentoo, dmesg reports

Code: Select all

[   14.035889] input: ELAN2D24:00 04F3:2D24 Touchscreen as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input10
[   14.035942] input: ELAN2D24:00 04F3:2D24 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input11
[   14.035961] input: ELAN2D24:00 04F3:2D24 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input12
[   14.035986] hid-generic 0018:04F3:2D24.0001: input,hidraw0: I2C HID v1.00 Device [ELAN2D24:00 04F3:2D24] on i2c-ELAN2D24:00
[   14.089348] input: ELAN2D24:00 04F3:2D24 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input14
[   14.089373] input: ELAN2D24:00 04F3:2D24 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input15
[   14.089387] input: ELAN2D24:00 04F3:2D24 UNKNOWN as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-15/i2c-ELAN2D24:00/0018:04F3:2D24.0001/input/input16
[   14.089412] hid-multitouch 0018:04F3:2D24.0001: input,hidraw0: I2C HID v1.00 Device [ELAN2D24:00 04F3:2D24] on i2c-ELAN2D24:00
[   14.089748] Loading firmware: iwlwifi-so-a0-gf-a0.pnvm
Occasionally, upon rebooting, using the touchpad produces a seemingly random stream of characters on the TTY. A further curiosity is that the Kubuntu kernel seems to do fine without i2c_designware_*, relying only upon i2c and hid drivers (yet, it somehow still reports i2c_designware.0 and i2c_designware.1 in the dmesg log). Including all of these modules does not help (and, in fact, makes me wonder whether one or multiple conflicts have occurred).

I'm at my wits' end when it comes to this and have no clue as to how to proceed. I'm very new to Linux; help is much appreciated.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Mon Aug 08, 2022 8:50 pm

user169291,

Welcome to Gentoo Forums !

You have already solved the half way (touchpad is connected via i2c and needs hid_multitouch), maybe you are now only missing gpio and pinctrl ... ;-)

In my german article for these touchpads you will find all needed kernel options:
viewtopic-p-8692426.html#8692426
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Aug 08, 2022 9:44 pm

user169291,

Welcome to Gentoo.

Make friends with wgetpaste and use it to share your dmesg and kernel .config file.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Tue Aug 09, 2022 9:56 am

Hi guys,

Unfortunately, copying pietinger's post did not help. Still, only the touchscreen is recognized (and the touchpad is not). Here's my kernel .config and my dmesg output (which hasn't changed).

I also wonder why we need both I2c and SMBus. Furthermore, why GPIO? Are the communications bit banged?

Thank you very much in advance; it's great to know that you're this supportive of new users. I hope to be able to repay the favor.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Tue Aug 09, 2022 11:05 am

Please try to enable:

Code: Select all

# CONFIG_I2C_DESIGNWARE_SLAVE is not set
If this doesnt help I am out of ideas at the moment because all other options you will need are enabled (or I think so) :oops:
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Aug 09, 2022 11:12 am

user169291,

Being old and cynical. I wouldn't rule out needing

Code: Select all

CONFIG_MOUSE_SYNAPTICS_I2C is not set
Synaptics were close to first in the touchpad field. At one time, what they did became a defacto standard.
As a result, its more a protocol than a hardware driver. Lots of vendors need it.

There is a USB version too. Look in lsusb to make sure its not there, or enable both.

I wanted your entire dmesg so I can see what's missing. There is no mention of mouse or *pad.
I can't see what's missing when its filtered.
When the mouse driver picks up your touchpad, functionality is limited. Usually multitouch is missing.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Tue Aug 09, 2022 12:22 pm

I've tried enabling

Code: Select all

CONFIG_MOUSE_SYNAPTICS_I2C
as well as

Code: Select all

CONFIG_I2C_DESIGNWARE_SLAVE
Unfortunately, none of this seems to work.

Lsusb reports

Code: Select all

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 27c6:63ac Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 002: ID 0c45:6732 Microdia Integrated_Webcam_HD
Bus 003 Device 004: ID 8087:0033 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I understand the mouse driver thing; that's why I've intentionally disabled PS/2 mice.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Aug 09, 2022 12:25 pm

user169291,

When you boot into your newest kernel, what does

Code: Select all

uname -a
tell?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Tue Aug 09, 2022 12:32 pm

Hey NeddySeagoon,

Code: Select all

 $ uname -a
Linux localhost 5.18.15-gentoo-XPS-9520 #55 SMP PREEMPT_DYNAMIC Tue Aug 9 14:09:05 CEST 2022 x86_64 12th Gen Intel(R) Core(TM) i7-12700H GenuineIntel GNU/Linux
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Aug 09, 2022 1:18 pm

user169291,

That looks good.
Tue Aug 9 14:09:05 CEST 2022
is the build time of the running kernel, so it looks like the right kernel.

Post your

Code: Select all

lspci -nnk
Lets start with the PCIe bus and work our way down.
Buses are like Siphonaptera. To use the one at the bottom, the entire stack has to be correct.
Even the PCIe bus is not the top of the stack. It's connected to something faster still inside the CPU.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Tue Aug 09, 2022 5:03 pm

Thank you, here's the output you requested:

Code: Select all

$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers [8086:4641] (rev 02)
        Subsystem: Dell 12th Gen Core Processor Host Bridge/DRAM Registers [1028:0b19]
00:01.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 [8086:460d] (rev 02)
        Subsystem: Dell 12th Gen Core Processor PCI Express x16 Controller [1028:0b19]
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P Integrated Graphics Controller [8086:46a6] (rev 0c)
        Subsystem: Dell Alder Lake-P Integrated Graphics Controller [1028:0b19]
        Kernel driver in use: i915
00:04.0 Signal processing controller [1180]: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant [8086:461d] (rev 02)
        Subsystem: Dell Alder Lake Innovation Platform Framework Processor Participant [1028:0b19]
00:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 [8086:464d] (rev 02)
        Subsystem: Dell 12th Gen Core Processor PCI Express x4 Controller [1028:0b19]
        Kernel driver in use: pcieport
00:07.0 PCI bridge [0604]: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 [8086:466e] (rev 02)
        Subsystem: Dell Alder Lake-P Thunderbolt 4 PCI Express Root Port [1028:0b19]
        Kernel driver in use: pcieport
00:07.1 PCI bridge [0604]: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #1 [8086:463f] (rev 02)
        Subsystem: Dell Alder Lake-P Thunderbolt 4 PCI Express Root Port [1028:0b19]
        Kernel driver in use: pcieport
00:08.0 System peripheral [0880]: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator [8086:464f] (rev 02)
        Subsystem: Dell 12th Gen Core Processor Gaussian & Neural Accelerator [1028:0b19]
00:0d.0 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller [8086:461e] (rev 02)
        Subsystem: Dell Alder Lake-P Thunderbolt 4 USB Controller [1028:0b19]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:0d.2 USB controller [0c03]: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 [8086:463e] (rev 02)
        Subsystem: Dell Alder Lake-P Thunderbolt 4 NHI [1028:0b19]
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt
00:12.0 Serial controller [0700]: Intel Corporation Device [8086:51fc] (rev 01)
        Subsystem: Dell Device [1028:0b19]
        Kernel driver in use: intel_ish_ipc
        Kernel modules: intel_ish_ipc
00:14.0 USB controller [0c03]: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller [8086:51ed] (rev 01)
        Subsystem: Dell Alder Lake PCH USB 3.2 xHCI Host Controller [1028:0b19]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Alder Lake PCH Shared SRAM [8086:51ef] (rev 01)
        Subsystem: Dell Alder Lake PCH Shared SRAM [1028:0b19]
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
        Subsystem: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:4090]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
        Subsystem: Dell Alder Lake PCH Serial IO I2C Controller [1028:0b19]
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 [8086:51e9] (rev 01)
        Subsystem: Dell Alder Lake PCH Serial IO I2C Controller [1028:0b19]
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller [0780]: Intel Corporation Alder Lake PCH HECI Controller [8086:51e0] (rev 01)
        Subsystem: Dell Alder Lake PCH HECI Controller [1028:0b19]
        Kernel driver in use: mei_me
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:51bb] (rev 01)
        Subsystem: Dell Device [1028:0b19]
        Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Alder Lake PCH eSPI Controller [8086:5182] (rev 01)
        Subsystem: Dell Alder Lake PCH eSPI Controller [1028:0b19]
00:1f.3 Audio device [0403]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
        Subsystem: Dell Alder Lake PCH-P High Definition Audio Controller [1028:0b19]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Alder Lake PCH-P SMBus Host Controller [8086:51a3] (rev 01)
        Subsystem: Dell Alder Lake PCH-P SMBus Host Controller [1028:0b19]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Alder Lake-P PCH SPI Controller [8086:51a4] (rev 01)
        Subsystem: Dell Alder Lake-P PCH SPI Controller [1028:0b19]
01:00.0 3D controller [0302]: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] [10de:25a0] (rev a1)
        Subsystem: Dell GA107M [GeForce RTX 3050 Ti Mobile] [1028:0b19]
02:00.0 Non-Volatile memory controller [0108]: SK hynix Device [1c5c:1959]
        Subsystem: SK hynix Device [1c5c:1959]
        Kernel driver in use: nvme
a5:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5260 PCI Express Card Reader [10ec:5260] (rev 01)
        Subsystem: Dell RTS5260 PCI Express Card Reader [1028:0b19]
        Kernel driver in use: rtsx_pci
By the way: at what snippet length should I switch to using wgetpaste?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Aug 09, 2022 5:08 pm

user169291,

The forums will crop a post at 64kb. There is no error massage. The end of the past is silently discarded.
wgetpaste is easier to search than a forum post.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Aug 10, 2022 9:31 am

Once I had a touchpad problem here where it was necessary to switch on the touchpad with a key combination; I think it was Fn and F6 ...
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Wed Aug 10, 2022 10:16 am

Unfortunately, that doesn't work either. No mention of any special key combinations in the manuals that I can find, either. It's like this thing is possessed.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Aug 10, 2022 2:21 pm

user169291,

please take a look into viewtopic-p-8736799.html#8736799

The same question for you: Do you really need pinctrl_alderlake ? maybe you need another one ?
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Wed Aug 10, 2022 6:14 pm

That was indeed it. Thank you guys so much for your help!

For future reference: only the Synopsys DesignWare Platform (I2C_DESIGNWARE_PLATFORM), HID over I2C transport layer ACPI (i2c-hid-acpi) and hid_multitouch (HID_MULTITOUCH) drivers are necessary; the DesignWare PCI, LPSS (which is a general-purpose I2C driver), SMBus, GPIO, Input Device Support -> Touchscreens, Input Device Support -> mice, and other drivers are unnecessary.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Aug 10, 2022 6:59 pm

user169291 wrote:For future reference: only the Synopsys DesignWare Platform (I2C_DESIGNWARE_PLATFORM), HID over I2C transport layer ACPI (i2c-hid-acpi) and hid_multitouch (HID_MULTITOUCH) drivers are necessary; the DesignWare PCI, LPSS (which is a general-purpose I2C driver), SMBus, GPIO, Input Device Support -> Touchscreens, Input Device Support -> mice, and other drivers are unnecessary.
user169291,

sorry, I dont understand (I am not a native english speaker). What was it ? (pinctrl_tigerlake?)

If I look to your used semicolon, then I would interpret it as:

"only the Synopsys DesignWare Platform (I2C_DESIGNWARE_PLATFORM), HID over I2C transport layer ACPI (i2c-hid-acpi) and hid_multitouch (HID_MULTITOUCH) drivers are necessary;"

But ... this you had in your kernel config already before !

...and:

"the DesignWare PCI, LPSS (which is a general-purpose I2C driver), SMBus, GPIO, Input Device Support -> Touchscreens, Input Device Support -> mice, and other drivers are unnecessary."

... ? Really ?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Aug 10, 2022 7:14 pm

user169291,

intel-lpss was in use.

Code: Select all

00:15.0 Serial bus controller [0c80]: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 [8086:51e8] (rev 01)
        Subsystem: Dell Alder Lake PCH Serial IO I2C Controller [1028:0b19]
        Kernel driver in use: intel-lpss 
What driver is in use there now?

You may yet need intel-lpss but you haven't found anything broken yet.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Thu Aug 11, 2022 6:39 pm

My apologies if my previous post caused any confusion.

What I meant is that I've recompiled my kernel without

Code: Select all

X86_INTEL_LPSS
I2C_SLAVE
I2C_DESIGNWARE_SLAVE
I2C_DESIGNWARE_PCI
INPUT_MOUSE
INPUT_TOUCHSCREEN
or anything under "GPIO Support", except for GPIO_CDEV, which was forced. Everything I currently need and/or have tested, i.e. backlight, thermal and battery reporting, function keys, bluetooth mouse + earbuds, wifi, trackpad, touchpad, and thunderbolt, has continued to work.

So, indeed, PINCTRL_TIGERLAKE seems to have been the "missing link" necessary to get a minimal setup with MFD_INTEL_LPSS_PCI (which loads the intel_lpss kernel module regardless), I2C_DESIGNWARE_PLATFORM, I2C_HID_ACPI, and HID_MULTITOUCH working. I will experiment further with ACPI/PCI mode once I have more time. And to indeed confirm your suspicion, NeddySeagoon:

Code: Select all

$ cat /sys/devices/pci0000:00/0000:00:15.1/uevent
DRIVER=intel-lpss
PCI_CLASS=C8000
PCI_ID=8086:51E9
PCI_SUBSYS_ID=1028:0B19
PCI_SLOT_NAME=0000:00:15.1
MODALIAS=pci:v00008086d000051E9sv00001028sd00000B19bc0Csc80i00
Not that I have any noteworthy experience with this kind of matter, but none of this make any sense to me from an EE perspective. While I initially thought that this might have been a bug in the Alder Lake pin control driver, I've reverted the kernel to its "broken" state, and saw that the Designware drivers have indeed been loaded from the /sys/devices/ hierarchy. I understand that pin control includes more than multiplexing, e.g. setting load capacitances or drive strength, but how can a pin control driver malfunction in this manner?

On another note: While my reaching out to this forum was initially motivated by necessity, I certainly do plan to stay active on and will continue forwarding all replies to my inbox. Thank you very much for your help. I really hope you can derive a great sense of satisfaction from the community you've helped create.
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Thu Aug 11, 2022 7:26 pm

user169291,

thank you again for your detailed report. I have added this information to my article :-)

Have fun with Gentoo !
Top
user169291
n00b
n00b
Posts: 15
Joined: Mon Aug 08, 2022 8:00 pm

  • Quote

Post by user169291 » Sat Aug 13, 2022 6:48 pm

Thanks!
Top
Post Reply

21 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic