View previous topic :: View next topic |
Author |
Message |
Bertram Scharpf n00b

Joined: 27 Apr 2020 Posts: 10
|
Posted: Wed Feb 19, 2025 8:09 pm Post subject: ELAN touchpad not working |
|
|
When I boot an MX Linux, the touchpad works very well.
This is what I get on the command line:
Code: |
# dmesg | grep -i i2c
[ 11.312120] i2c i2c-0: 2/2 memory slots populated (from DMI)
[ 11.368561] elan_i2c i2c-ELAN0637:00: supply vcc not found, using dummy regulator
[ 11.486540] elan_i2c i2c-ELAN0637:00: Elan Touchpad: Module ID: 0x00e4, Firmware: 0x0000, Sample: 0x0000, IAP: 0x0000
[ 11.500127] input: Elan Touchpad as /devices/pci0000:00/0000:00:17.3/i2c_designware.1/i2c-2/i2c-ELAN0637:00/input/input5
# dd if=/dev/input/mouse0 bs=16 | xxd
... [works like a charm]
|
But when I boot my Gentoo kernel, this happens:
Code: |
# dmesg | grep -i i2c
[ 1.696992] i2c_dev: i2c /dev entries driver
[ 1.698973] i2c i2c-8: 2/2 memory slots populated (from DMI)
[ 6.685598] elan_i2c i2c-ELAN0637:00: Elan Touchpad: Module ID: 0x00e4, Firmware: 0x0000, Sample: 0x0000, IAP: 0x0000
[ 6.685739] elan_i2c i2c-ELAN0637:00: cannot register irq=0
[ 6.685888] elan_i2c: probe of i2c-ELAN0637:00 failed with error -16
[ 6.695467] i2c_hid_acpi i2c-ELAN0637:00: HID over i2c has not been provided an Int IRQ
[ 6.695621] i2c_hid_acpi: probe of i2c-ELAN0637:00 failed with error -22
|
As you can see from the timestamps, this is the dynamic modules version.
When I compile the modules in statically, the error message is the same.
What should I try next?
Thanks in advance,
Bertram |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54887 Location: 56N 3W
|
Posted: Wed Feb 19, 2025 8:33 pm Post subject: |
|
|
Bertram Scharpf,
Please pastebin your kernel .config and post your output.
It looks like you have i2c and designware support missing in your kernel.
I'm doing it the hard way. pietinger will be along soon. :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5414 Location: Bavaria
|
|
Back to top |
|
 |
Bertram Scharpf n00b

Joined: 27 Apr 2020 Posts: 10
|
Posted: Thu Feb 20, 2025 12:56 pm Post subject: |
|
|
Thank you so far. Yet, it didn't help. I provide some diagnostic output at http://bertram-scharpf.spdns.de/lenovo-touchpad/:
- info-i2c-lenovo-gentoo-pre - the situation before I posted
- info-i2c-lenovo-gentoo-after - the situation using the settings you proposed
- info-i2c-lenovo-mx - the MX Linux situation
What else could I try? |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5414 Location: Bavaria
|
Posted: Thu Feb 20, 2025 3:21 pm Post subject: |
|
|
Bertram Scharpf wrote: | What else could I try? |
You miss 3 options ... the most important is this module which enables other functions in your machine (also pinctrl and i2c):
Code: | CONFIG_X86_INTEL_LPSS=y |
See here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.12#Platform_support
... together with this one:
Code: | 00:17.3 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 7 [8086:31ba] (rev 06)
Subsystem: Lenovo Celeron/Pentium Silver Processor I2C 7 [17aa:3813]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci |
->
Code: | CONFIG_MFD_INTEL_LPSS_PCI=y |
The third option you need is PINCTRL (because i2c does not work without pinctrl) ... it is not easy to find out which one you will need ... because ... in MX Linux (and also in our GentooLiveCD) some are configured as <M>odule and some are <*> built-in -> (from MX) ->
Code: | CONFIG_PINCTRL_INTEL=y
CONFIG_PINCTRL_ALDERLAKE=m
CONFIG_PINCTRL_BROXTON=y
CONFIG_PINCTRL_CANNONLAKE=y
CONFIG_PINCTRL_CEDARFORK=y
CONFIG_PINCTRL_DENVERTON=y
CONFIG_PINCTRL_ELKHARTLAKE=m
CONFIG_PINCTRL_EMMITSBURG=m
CONFIG_PINCTRL_GEMINILAKE=y
CONFIG_PINCTRL_ICELAKE=y
CONFIG_PINCTRL_JASPERLAKE=m
CONFIG_PINCTRL_LAKEFIELD=m
CONFIG_PINCTRL_LEWISBURG=y
CONFIG_PINCTRL_SUNRISEPOINT=y
CONFIG_PINCTRL_TIGERLAKE=y |
NOW ... now if you boot your MX and do a "lsmod" and you see a PINCTRL-module then you have won ... if not, you now know it must be one of the built-in ... you will need only ONE of them ... but if you dont want to try out, you can savely enable all of them.  _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
 |
Bertram Scharpf n00b

Joined: 27 Apr 2020 Posts: 10
|
Posted: Fri Feb 21, 2025 5:40 am Post subject: Solved |
|
|
pietinger wrote: | You miss 3 options ... the most important is this module which enables other functions in your machine (also pinctrl and i2c):
Code: | CONFIG_X86_INTEL_LPSS=y |
[...]
|
Sorry, that wasn't obvious to me.
Now everything works as expected (except sound and video, but first I'll try to do it for myself). I'm so glad.
Thank you very, very much!
(By the way: The module that has won was PINCTRL_GEMINILAKE.) |
|
Back to top |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5414 Location: Bavaria
|
Posted: Fri Feb 21, 2025 9:10 am Post subject: Re: Solved |
|
|
Bertram Scharpf wrote: | Sorry, that wasn't obvious to me.[...] |
There's no need to apologize, because I didn't know it a few years ago either (and I'm still learning new things today).
Bertram Scharpf wrote: | [...] Now everything works as expected (except sound and video, but first I'll try to do it for myself). I'm so glad. [...] |
... and I am happy to hear that.
Bertram Scharpf wrote: | [...] Thank you very, very much! [...] |
You are very Welcome!
Bertram Scharpf wrote: | (By the way: The module that has won was PINCTRL_GEMINILAKE.) |
And it is precisely this feedback that allows me to gather new experiences and help other users with the same system. Thank you very much for that!  _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
 |
|