View previous topic :: View next topic |
Author |
Message |
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Fri Aug 02, 2024 4:53 am Post subject: [SOLVED] Touchpad not detected on Meteor Lake-P |
|
|
The touchpad is FTCS1000:00 2808:0222. It only shows up (through libinput list-devices) when I boot from live CD. Anybody had a similar problem?
Many thanks.
Last edited by NP_complete on Mon Aug 05, 2024 12:59 am; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Sat Aug 03, 2024 11:34 pm Post subject: |
|
|
@pietinger, thank you for this information. I am using gentoo-sources-6.10.1. I followed your tutorial but could not find "Intel VPU for Meteor Lake and newer" in that version. I did enable pinctrl_lake, but that didn't help. Also, to get the touchpad recognized, I had to boot from the Gentoo Live CD which runs v. 6.6.35 (yes, an EARLIER version) of the kernel. I could then see the cursor on the screen. Sadly, the touchpad still wouldn't work: text could be highlighted but not pasted. In the meantime, an external USB mouse copied and pasted perfectly. |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 440 Location: Naarm/Melbourne, Australia
|
Posted: Sun Aug 04, 2024 12:59 am Post subject: |
|
|
You might like to try diffing the respective kernel configs and looking for differences in the CONFIG_INPUT* and CONFIG_MOUSE* options:
* Boot from the LiveCD, and at the command line, save the running kernel config to a file you'll be able to access from your Gentoo install, such as on a USB stick or a hard disk partition, e.g.:
Code: | # zcat /proc/config.gz > /mnt/usb/kernel-livecd |
* Boot to your Gentoo install, and do the same thing with that system's running kernel:
Code: | # zcat /proc/config.gz > /mnt/usb/kernel-installed |
* Install the `diffutils` package, then run diff(1) on the two files:
Code: | $ diff /mnt/usb/kernel-livecd /mnt/usb/kernel-installed > /mnt/usb/diff.out |
* Open the diff.out file and examine the differences in the CONFIG_INPUT* and CONFIG_MOUSE* options. The '<' symbol at the start of line refers to something in the first file passed to `diff` - in the above example, `kernel-livecd` - and the '>' symbol refers to something in the second file - in the above example, `kernel-installed`. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Sun Aug 04, 2024 8:30 am Post subject: |
|
|
NP_complete wrote: | @pietinger, thank you for this information. I am using gentoo-sources-6.10.1 |
6.10 should be fine. Just give me your kernel .config file (please use wgetpaste for this).
What you can always do: Boot with a LiveCD (Gentoo or Ubuntu or other) WHERE your touchpad works (so, kernel of LiveCD is at least 6.8 ) and then give us the output of:
- lsmod
- lspci -nnk
(from Boot with LiveCD)
With this information we can find out which options are missing in your kernel configuration.
@flexibeast's approach is correct but very difficult if you don't know which are the relevant options and modules that a touchpad needs (e.g. it may also be due to a missing module for a Designware PCI controller). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Sun Aug 04, 2024 9:34 pm Post subject: |
|
|
@pietinger, this is my hardware profile, and this is my kernel config v. 6.10.2. Both are from the regular boot, not a live CD.
After booting from Gentoo Live CD, the hardware profile showed up like this, and lsmod returned this. Gentoo Live CD is where I can see the cursor from the touchpad, and where the touchpad is properly detected, although still not functional, as explained earlier. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Sun Aug 04, 2024 10:37 pm Post subject: |
|
|
NP_complete,
NP_complete wrote: | [...] Gentoo Live CD is where I can see the cursor from the touchpad, and where the touchpad is properly detected, although still not functional, as explained earlier. |
Then you must boot with Ubuntu and check if your touchpad works there. If yes, then compare the output of lsmod with the lsmod-output of GentoCD (or give me).
I see you have already tried to enable the touchpad ... you have enabled almost every i2c module ... and you need only:
CONFIG_I2C_I801=m and CONFIG_PINCTRL_METEORLAKE=m
-----
First of all: You really should enable IOMMU (in every case) - but you have:
Code: | # CONFIG_INTEL_IOMMU is not set
# CONFIG_IRQ_REMAP is not set |
Please see again my wiki article: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_2_-_Slim_kernel
-----
This is a list of needed modules for your touchpad - USUALLY:
Code: | i2c_i801
i2c_smbus 16384 1 i2c_i801
hid_multitouch 28672 0
i2c_hid_acpi 12288 0
i2c_hid 36864 1 i2c_hid_acpi
pinctrl_meteorlake 28672 1 |
You have all that enabled - except ONE: # CONFIG_I2C_HID_ACPI is not set
I suspect that activating this option alone is enough to make your touchpad work.
If not: Some modern notobooks sometimes need also MEI and SPI:
Code: | spi_intel 28672 1 spi_intel_pci
mei 159744 1 mei_me
spi_intel_pci 12288 0 |
You have:
Code: | # CONFIG_SPI is not set
# CONFIG_INTEL_MEI is not set |
Some other things I have seen:
1. I dont think you have CONFIG_I3C=m (disable it)
2. You have USB3 enabled (module: typec) but no PCI Hotplugging. This is necessary for USB3 and thunderbolt. Enable this: # CONFIG_HOTPLUG_PCI is not set
( https://wiki.gentoo.org/wiki/USB/Guide#USB_Type-C_and_Thunderbolt )
3. Yes you have also thunderbolt:
Code: | 00:0d.2 USB controller [0c03]: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #0 [8086:7ec2] (rev 10)
Subsystem: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #0 [8086:7ec2]
Kernel driver in use: thunderbolt |
but not enabled: # CONFIG_USB4 is not set
4. You miss an important module for performance: # CONFIG_INTEL_IDMA64 is not set
5. You have the new:
Code: | 00:0b.0 Processing accelerators [1200]: Intel Corporation Meteor Lake NPU [8086:7d1d] (rev 04) |
This is the NeuralProcessingUnit (Intel VPU for Meteor Lake and newer) and you will find it "1. Additional settings" of:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_4_-_My_recommendations
(but not important for a touchpad )
Just google for "cateee 8086:7d1d" and you will find:
https://cateee.net/lkddb/web-lkddb/DRM_ACCEL_IVPU.html _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
NP_complete Tux's lil' helper
Joined: 21 Mar 2009 Posts: 136
|
Posted: Mon Aug 05, 2024 12:58 am Post subject: |
|
|
@pietinger, FINALLY, IT WORKED! Even without CONFIG_SPI and CONFIG_INTEL_MEI enabled. This has probably been my most painful experience with Gentoo to date. As always with new hardware, so many things are undocumented or under-documented.
Thanks a bunch! And thank you, @flexibeast. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5091 Location: Bavaria
|
Posted: Mon Aug 05, 2024 11:24 am Post subject: |
|
|
NP_complete wrote: | @pietinger, FINALLY, IT WORKED! |
Great to hear that !
NP_complete wrote: | Thanks a bunch! |
You are very Welcome !
Have fun with Gentoo ! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|