Using zfsbootmenu breaks my laptop's touchpad #777
Replies: 13 comments 1 reply
-
|
Did you add those options to the KCL of your boot environment or to ZFSBootMenu? They need to be added to ZBM's KCL to keep it from trying to initialize the touchpad. |
Beta Was this translation helpful? Give feedback.
-
|
So this is the output of zbm-kcl: My kernel flags in the config.yaml file for ZBM looks like this: |
Beta Was this translation helpful? Give feedback.
-
That means it's been added to your BE's kernel, in effect disabling it entirely in the booted OS. You'll need to edit either the ZBM EFI bundle or set the appropriate command line in rEFInd, depending on how you boot ZBM itself. After that, remove the flags from the |
Beta Was this translation helpful? Give feedback.
-
|
That makes sense. This is pushing the limits of my knowledge. Does editing the ZBM EFI bundle correspond to editing the ZBM configuration file ( I have removed it from the BE KCL. I currently boot directly into ZBM when testing this without using Refind as an intermediary. Do I need to setup ZBM with any special KCL when doing setup with efibootmgr? |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
I might have misunderstood what actions are needed. My current environment looks like this: I boot into this without using Refind. Now I get the errors in the root OS, and touchpad is not working. |
Beta Was this translation helpful? Give feedback.
-
|
Double check if the i2c drivers are built-in or a module. If it's a module, you'll have to blacklist it. Alternatively, you can try booting one of our binary releases images to see if a different ZBM kernel version helps. I don't have any equivalent hardware to help test on my end. The end goal though is to stop ZBM's kernel from intializing the hardware so it's unmolested by the time the final kernel boots. You might have to blacklist more drivers for your particular hardware; |
Beta Was this translation helpful? Give feedback.
-
|
They are built in on CachyOS according to So when editing the BE's KCL, it works in blacklisting the driver as it removes the error message when booting. However, the touchpad is still broken (or just fully unable to load due to the blacklist). When editing the ZBM KCL, it has no effect and the driver is still loaded into the BE. The error message is still there when booting the BE. |
Beta Was this translation helpful? Give feedback.
-
|
Also found this thread of more people having the same problem: https://community.frame.work/t/touchpad-mouse-not-recognized-arch-linux-amd-13/48704/15 |
Beta Was this translation helpful? Give feedback.
-
|
I also had this issue with a new MSI laptop. Got fixed by using the refind config. cat << EOF > /boot/efi/EFI/zbm/refind_linux.conf
"Boot default" "loglevel=7 zbm.timeout=60 initcall_blacklist=dw_i2c_init_driver,dw_i2c_driver_init"
"Boot to menu" "quiet loglevel=0 zbm.show initcall_blacklist=dw_i2c_init_driver,dw_i2c_driver_init"
EOF |
Beta Was this translation helpful? Give feedback.
-
Nothing else changed? |
Beta Was this translation helpful? Give feedback.
-
|
This did not fix the problem for me. Same thing when fixing refind. |
Beta Was this translation helpful? Give feedback.
-
|
This is not really a ZFSBootMenu bug, but a question of how you can get any Linux kernel to ignore the appropriate device driver at boot. Alternatively, you can figure out how to make the device driver survive a kexec. Moving this to a discussion if people are interested in exploring the options. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
ZFSBootMenu build source
Release EFI
ZFSBootMenu version
ca3a81b
Boot environment distribution
CachyOS (arch)
Problem description
Problem: using zfsbootmenu breaks the touchpad on my laptop (ASUS ROG G14)
Symptoms:
Booting via zfsbootmenu results in this 1 logged error:
The touchpad works when booting via Refind.
I have tried following the instructions here: #347 and modifying my kernel command line accordingly:
When booting with the modified command line, the Synopsys error disappears, but the touchpad is still not discovered.
I have also tried
i2c_designware_pci.blacklist=yeswith no different result.Steps to reproduce
Install zfs on / and pacstrap CachyOS.
Install zfsbootmenu.
Install refind.
Boot using refind and touchpad will work.
Boot using zfsbootmenu and touchpad will not work.
Beta Was this translation helpful? Give feedback.
All reactions