mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
framework: refactor kmod for improved AMD support
Changes several aspects of framework-laptop-kmod support: - default value has been changed to true when NixOS >= 24.05 and linux kernel >=6.10, and false otherwise - adds required patch for framework AMD enablement when kernel <6.10 - add README section describing usage
This commit is contained in:
@@ -51,6 +51,17 @@ For the Framework 13 laptops, there are common configuration modules available u
|
||||
including some modules specific to AMD- or Intel-based laptops. By preference, there will already be a specialised
|
||||
module for your model's configuration. Otherwise, it can be added alongside the existing modules.
|
||||
|
||||
## OS integration
|
||||
|
||||
`hardware.framework.enableKmod` enables the [community-created Framework kernel
|
||||
module](https://github.com/DHowett/framework-laptop-kmod) which exposes EC functionality like battery charge limit,
|
||||
privacy switches, and system LEDs as standard driver interfaces. This enables, for example, configuring the charge limit
|
||||
using the KDE settings GUI. The option is enabled by default when NixOS `>= 24.05` and linux kernel version `>= 6.10`.
|
||||
|
||||
On AMD Framework 13 and 16, before kernel 6.10, additional kernel patches are required for the kernel module to function
|
||||
properly. Manually setting `hardware.framework.enableKmod = true` will apply the patches, requiring a kernel
|
||||
recompilation.
|
||||
|
||||
## Support Tools
|
||||
|
||||
### fw-ectool
|
||||
|
||||
Reference in New Issue
Block a user