Using zfsbootmenu breaks my laptop's touchpad #777
Replies: 14 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. |
|
So this is the output of zbm-kcl: My kernel flags in the config.yaml file for ZBM looks like this: |
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 |
|
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? |
|
|
|
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. |
|
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; |
|
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. |
|
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 |
|
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 |
Nothing else changed? |
|
This did not fix the problem for me. Same thing when fixing refind. |
|
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. |
|
tl;dr: To add some more information after encountering this issue and poking at it with a fresh install of cachyos:. Neither generate-zbm nor the version from cachyos/zfsbootmenu has the touchpad working automatically, not even with the initcall_blacklist settings above. I've unsuccessfully tried to blacklist the i2c_designware_platform module as well. Band-aid to make the touchpad work until the next reboot: echo "AMDI0010:00" | sudo tee /sys/bus/platform/drivers/i2c_designware/bind
echo "AMDI0010:01" | sudo tee /sys/bus/platform/drivers/i2c_designware/bind
echo "AMDI0010:02" | sudo tee /sys/bus/platform/drivers/i2c_designware/bind
echo "AMDI0010:03" | sudo tee /sys/bus/platform/drivers/i2c_designware/bindi.e. use the AMDI0010:xx numbers from your dmesg error message.
As far as I understand the underlying issue:
Not sure if this is something that has to be fixed by cachyos, or actually by the driver / kernel developers. I've added this here, because it was one of the first places I found while looking at the issue, so hopefully it saves others a bit of time. |
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.
All reactions