#Fresh install on Lenovo Slim 9i not detecting trackpad in hyprland

1 messages · Page 1 of 1 (latest)

teal trail
#

As the title reads I cannot get omarchy/hyprland to find my touchpad. Ironically enough the touchscreen works fine

#

Confusingly before a reboot I was able to get all devices to list but now it just says my instance signature isn't set

empty kraken
#

don't do sudo

#

just normal hyprctl devices will work

teal trail
#

Oops you're right

#

For reference I did just swap off of ubuntu (with lubuntu installed) and that worked just fine with the touchpad

devout ivy
#

i dont know if this is exactly the same model, so be careful

teal trail
#

I was sadly unable to find this but looks like a good lead! Thanks ❤️

devout ivy
#

I think an exact model number would be helpful in this case - looking up Lenovo Slim 9i is mostly people reporting that the laptop's trackpad is all good

#

also the output of sudo libinput list-devices - not sure exactly of the command but i can find it tomorrow if you cant get it

#

but i think thats it

teal trail
#

I had already checked that one and same issue of the trackpad just not listing

devout ivy
#

is it possibly listed as a mouse instead?

teal trail
#

Nope, no mice or touchpads, etc are listed other than the touchscreen

#

So same list of devices shrugg

devout ivy
#

that confirms the issue is at a lower level than hyprland / libinput

#

at least

teal trail
#

For sanity I did double check the bios to make sure the touchpad wasn't disabled somehow either

devout ivy
#

thats good

#

try dmesg

#

there might be some important messages from the kernel in there

#

dmesg | less will make it easier to scroll up/down and search if you prefer

#

look for stuff like 'i2c' 'hid' 'elan' 'synaptics' 'touchpad'

#

better yet,
dmesg | grep -iE 'i2c|hid|elan|synaptics|touchpad'

teal trail
#

Looks like this is probably it

devout ivy
#

so its failing to bind to the kernel which is pretty common on new laptops

teal trail
#

Definitely a first for me 😆

devout ivy
#

you can try a different kernel, its easy on arch. i heard reports that its good on kernel version 5.8, though maybe try linux-lts first

plus you have system snapshots on omarchy, so if anything goes wrong, roll that bitch back

#

i think its just sudo pacman -S linux-lts or whichever kernel version you want to try

#

alternatively, you can try blacklisting the driver on the bootloader (limine)

add i2c_hid_acpi.blacklist=1 to the end of CMDLINE= in limine.conf then reboot

it'll force linux to use a different driver like hid-multitouch

teal trail
#

Just installing and booting from linux lts worked!

That does mean I am on the latest now so fingers crossed it dosn't blow everything else up

devout ivy
#

woohoo!!

#

i really didnt think that would work, good stuff

teal trail
#

I am surprised too

devout ivy
#

does your touchscreen still work?

teal trail
#

But it's a completely fresh install with like 2 things done so if it blew up it blew up

#

Yup! Touchscreen too

devout ivy
#

awesome

teal trail
#

But tbf I almost never actually use a touchscreen, I forgot it even had one

#

Thanks for the help I really appreciate it
I'll probably have to update my bootloader to make sure to use lts by default but it should be easy

devout ivy
#

make sure to install linux-lts-headers first!!

#

you can actually add linux-lts as a separate entry on the bootloader if you want

#

instead of fucking with the main one that omarchy sets up

#

just copy that block, paste it, rename it and point it at the correct version

teal trail
#

Hmm I just set it to use the default entry to 3 instead of 2 which highlights the right kernel but of course doesn’t use it if I let it automatically select

#

So as long as I press enter it works

devout ivy
#

do you mean it's highlighting the right one (linux-lts) but its defaulting to the default omarchy one if you dont hit enter?

teal trail
devout ivy
#

might be worth checking out dmesg again on a boot that doesnt work

#

and libinput

teal trail
#

Next time it gives me trouble I'll definitely check it out

teal trail
#

Welp, I’m tired and it’s late and I just nuked my install by moving a bin folder to my home folder 😔

#

Didn’t think that one out

devout ivy
#

lollll

#

you definitely havent nuked it, you can move it back by pointing to the mv program directly if its no longer accessible

teal trail
#

More of my system is unresponsive and I just get a black screen after booting in, really fudged this one

devout ivy
#

time to restore!

#

you can do it via cmd or the boot menu

teal trail
#

Yup! I’m hoping I can just restore the bin folder to back to not being destroyed

devout ivy
#

(but maybe get some sleep first)

teal trail
#

Pft what’s a bit more destruction at this point

devout ivy
#

i once overwrote my entire path variable because i forgot to include ":$PATH" at the end of the string in my .bashrc

#

which means i couldnt use any commands

#

it was awesome

teal trail
#

Linux wouldn’t nearly be as fun if you wouldn’t mess it up so easily

devout ivy
#

linux doesnt have viruses because YOU ARE the virus. you cause utter destruction in your wake

teal trail
#

Weird thing is, my install boots fine if I boot the restore which has like everything I added. My actual install is dead

#

Does the restore just do system files 🤔

devout ivy
#

they only store the diffs basically

btrfs (the filesystem of omarchy) does something called copy-on-write, which does exactly as it sounds. when you write something to the disk, it gets copied into a subvolume.

so when you take a new snapshot, it contains a reference to the copied info, as well as system metadata and the directory structure and stuff

#

so when you 'rollback', you boot into that subvolume and then make it the default

#

so boot into it, then run omarchy-snapshot restore to make it permanent

teal trail
#

I see

#

Fun news is I had to reinstall Linux lts and it doesn’t fix the touchpad anymore so I think this is a tomorrow problem, thanks for the laughs and all the help 😆

devout ivy
#

did you reinstall the headers too?