Hardware/Framework/Laptop 16: Difference between revisions

Slips (talk | contribs)
Touchpad palm rejection fix
adding workaround to resolve waking up in backpack issue to →‎Configuration
Line 52: Line 52:
  <nowiki> </nowiki> <nowiki>''</nowiki>;
  <nowiki> </nowiki> <nowiki>''</nowiki>;
  };
  };
=== Prevent wake up in backpack ===
Putting your Framework in a backpack can cause it to wake up due to the screen flexing onto the keyboard. While this is not resolved in Firmware, you can workaround this issue with a udev rule:
services.udev.extraRules = <nowiki>''</nowiki>
<nowiki> </nowiki>  ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0012", ATTR{power/wakeup}="disabled", ATTR{driver/1-1.1.1.4/power/wakeup}="disabled"
<nowiki> </nowiki>  ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="32ac", ATTRS{idProduct}=="0014", ATTR{power/wakeup}="disabled", ATTR{driver/1-1.1.1.4/power/wakeup}="disabled"
<nowiki>''</nowiki>;
The Product and Vendor IDs can be found using lsusb.
This does not prevent the trackpad from waking up the device. This however seems to happen less in a backpack.