Hardware/Framework/Laptop 16: Difference between revisions

Sooyka (talk | contribs)
Prevent wake up in backpack: 'ACTION=="add"' was causing udev rule to trigger only when attaching the device when the computer was already booted. As that, just booting up the computer with the keyboard attached was not preventing waking up with the keyboard.
drop 24.05 compat
Line 53: Line 53:
To disable it add the kernel parameter:
To disable it add the kernel parameter:
  boot.kernelParams = [ "amdgpu.abmlevel=0" ];
  boot.kernelParams = [ "amdgpu.abmlevel=0" ];
=== Touchpad Palm Rejection ===
Prior to libinput 1.26, the Framework 16 keyboard was treated as an external USB device by libinput, causing the touchpad to stay enabled when typing.
NixOS Unstable has updated libinput and is not affected. On NixOS 24.05 and earlier, this can be worked around with a libinput quirk (sourced from here: [https://community.frame.work/t/nixos-on-the-framework-laptop-16/46743/162 community.frame.work] by: [https://community.frame.work/u/sumiflow/summary @sumiflow])
environment.etc = {
<nowiki> </nowiki> "libinput/local-overrides.quirks".text = <nowiki>''</nowiki>
<nowiki> </nowiki>  [Keyboard]
<nowiki> </nowiki>  MatchUdevType=keyboard
<nowiki> </nowiki>  MatchName=Framework Laptop 16 Keyboard Module - ANSI Keyboard
<nowiki> </nowiki>  AttrKeyboardIntegration=internal
<nowiki> </nowiki> <nowiki>''</nowiki>;
};


=== Prevent wake up in backpack ===
=== Prevent wake up in backpack ===