X270: Try to fix nub wakeup issue

This commit is contained in:
fruchti 2023-12-02 20:34:42 +01:00
parent 7d14f4a8df
commit d6f2c33a09

View file

@ -6,6 +6,17 @@
speed = 170; speed = 170;
}; };
# Ensure that trackpoint mouse buttons work after suspend without having
# to touch the trackpoint first
powerManagement = {
powerDownCommands = ''
modprobe -r psmouse
'';
resumeCommands = ''
modprobe psmouse
'';
};
services.xserver.videoDrivers = [ "modesetting" ]; services.xserver.videoDrivers = [ "modesetting" ];
boot.initrd.kernelModules = [ "i915" ]; boot.initrd.kernelModules = [ "i915" ];