Hardware/Framework/Laptop 16: Difference between revisions
Adding hint for audio compatibility bios configuration |
mNo edit summary |
||
(9 intermediate revisions by 7 users not shown) | |||
Line 10: | Line 10: | ||
|- | |- | ||
!Manufacturer | !Manufacturer | ||
|Framework | |[[Hardware/Framework|Framework]] | ||
|- | |- | ||
!Architecture | !Architecture | ||
Line 37: | Line 37: | ||
== Configuration == | == Configuration == | ||
Framework specific NixOS hardware options are bundled within the nixos-hardware project. | Framework specific NixOS hardware options are bundled within the [https://github.com/NixOS/nixos-hardware nixos-hardware] project. | ||
=== AMD 7040 Series === | === AMD 7040 Series === | ||
It is recommended to use [https://search.nixos.org/options? | It is recommended to use [https://search.nixos.org/options?query=power-profiles-daemon power-profiles-daemon] over <code>tlp</code> for the AMD framework. | ||
* NixOS Hardware module for flakes: <code>nixos-hardware.nixosModules.framework-16-7040-amd</code> | |||
* NixOS Hardware module for channels: <code><nixos-hardware/framework/16-inch/7040-amd></code> | |||
Fix | === Fix Color accuracy in Power Saving modes === | ||
[https://docs.kernel.org/gpu/amdgpu/module-parameters.html?highlight=abmlevel Active Backlight Management] is used to reduce [https://community.frame.work/t/solved-color-issues-in-linux-6-9/52158/34 battery power consumption] causing the colors of the screen to be inaccurate. | |||
Some desktop environments may already be able to modify this setting. | |||
To disable it add the kernel parameter: | |||
boot.kernelParams = [ "amdgpu.abmlevel=0" ]; | |||
=== Prevent wake up in backpack === | === 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: | 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> | <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> | <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>; | ||
{| class="wikitable" | |||
|+ | |||
!Product | |||
!Vendor and Product ID | |||
|- | |||
|RGB Macropad | |||
|32ac 0013 | |||
|- | |||
|Backlit keyboard ISO | |||
|32ac 0018 | |||
|} | |||
Other 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. | This does not prevent the trackpad from waking up the device. This however seems to happen less in a backpack. | ||
Line 70: | Line 79: | ||
== External resources == | == External resources == | ||
There is [https://community.frame.work/t/nixos-on-the-framework-laptop-16/46743 a | There is [https://community.frame.work/t/nixos-on-the-framework-laptop-16/46743 a NixOS thread on the Framework forum], where you can find additional help, guidance and example configurations. |