Hardware/Framework/Laptop 16: Difference between revisions

Msnspk (talk | contribs)
m The link for power-profiles-daemon was for 23.11 and led to an error page. This like should be version-agnostic and always work (hopefully)
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.
Line 70: Line 70:
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:
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>
  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>  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>  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>;
  <nowiki>''</nowiki>;
The Product and Vendor IDs can be found using lsusb.
The Product and Vendor IDs can be found using lsusb.