r/linuxfromscratch • • Apr 13 '25

Touchpad driver issue

Hey, I was building LFS and BLFS for the last week. I built it according to the official doc (also, added needed kernel options and built libinput, xinput and synaptics drivers), installed mesa, xorg-server and everything else needed for it to work. It booted normally. But the only thing, my touchpad doesn't seem to work. It is not recognized in /proc/bus/input/devices, not recognized by libinput or xinput. It is connected via I2C and I included it in my kernel config. I made them as modules (also loaded modules)/hardcoded into kernel, nothing worked. Even installed linux-firmware package and set up initrd. Also, it works fine with every other linux distro that i used (debian live, arch, gentoo). I tried using debian's kernel and initrd. It throws a couple of errors but boots pretty much fine. Also, with this kernel it sees my touchpad. My question is: what do i do, guys? I've already spent whole yesterday and today troubleshooting my kernel and everything that my touchpad might depend on. If it helps, my laptop is Dell Latitude 7390

2 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/anh0l Apr 13 '25

By the way is it a big difference between enabling features as a module or as a built in the kernel. Can it affect the whole thing?

1

u/kcirick Apr 13 '25

In general if you need to load a firmware you have to load it as a module (if module is built into the kernel, the firmware also has to be a part of the compiled kernel).

I'm not sure if this is the case but compiling a module into the kernel makes it boot faster than having to load modules at boot.

1

u/anh0l Apr 13 '25

Alright, i see now, thanks. So I enable everything related to the touchpad/i2c/hid as a module just in case anything works