mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
framework/12-inch: Fix tabletmode on some kernels
NixOS kernels don't have pinctrl_tigerlake built-in, we need to make sure it loads before soc_button_array. Adding it to the initrd ensures that. Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
This commit is contained in:
parent
cc66fddc6c
commit
df02f4f16a
1 changed files with 6 additions and 0 deletions
|
|
@ -4,4 +4,10 @@
|
|||
../common
|
||||
../../../common/cpu/intel
|
||||
];
|
||||
|
||||
# If this module isn't built into the kernel, we need to make sure it loads
|
||||
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
|
||||
# If correctly loaded, dmesg should show
|
||||
# input: gpio-keys as /devices/platform/INT33D3:00
|
||||
boot.initrd.kernelModules = [ "pinctrl_tigerlake" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue