Skip to content

Commit df02f4f

Browse files
committed
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 <[email protected]>
1 parent cc66fdd commit df02f4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

framework/12-inch/13th-gen-intel/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@
44
../common
55
../../../common/cpu/intel
66
];
7+
8+
# If this module isn't built into the kernel, we need to make sure it loads
9+
# before soc_button_array. Otherwise the tablet mode gpio doesn't work.
10+
# If correctly loaded, dmesg should show
11+
# input: gpio-keys as /devices/platform/INT33D3:00
12+
boot.initrd.kernelModules = [ "pinctrl_tigerlake" ];
713
}

0 commit comments

Comments
 (0)