Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Touchpad not detected on Meteor Lake-P
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 131

PostPosted: Fri Aug 02, 2024 4:53 am    Post subject: [SOLVED] Touchpad not detected on Meteor Lake-P Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Fri Aug 02, 2024 12:57 pm    Post subject: Reply with quote

You give not many informations ... especially we would need the information WHICH LiveCD you have bootet AND which kernel version it had.

MeteorLake is a very new hardware and I think you will need at least kernel version 6.8 because you will need:
Code:
Intel Meteor Point pinctrl and GPIO driver (PINCTRL_METEORPOINT) [N/y/?] (NEW)

which is available in 6.8 ->
https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Kernel_Version_6.8

See also paragraph 7 of https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_4_-_My_recommendations
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 131

PostPosted: Sat Aug 03, 2024 11:34 pm    Post subject: Reply with quote

@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
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 376
Location: Naarm/Melbourne, Australia

PostPosted: Sun Aug 04, 2024 12:59 am    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 131

PostPosted: Sun Aug 04, 2024 9:34 pm    Post subject: Reply with quote

@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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Sun Aug 04, 2024 10:37 pm    Post subject: Reply with quote

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 8O ... 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 :P

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 :lol: )
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
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 131

PostPosted: Mon Aug 05, 2024 12:58 am    Post subject: Reply with quote

@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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4842
Location: Bavaria

PostPosted: Mon Aug 05, 2024 11:24 am    Post subject: Reply with quote

NP_complete wrote:
@pietinger, FINALLY, IT WORKED!

Great to hear that ! :D

NP_complete wrote:
Thanks a bunch!

You are very Welcome ! :D

Have fun with Gentoo ! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum