There is. At least for the fw13 but I suppose fw16 works the same as fw13 amd.
Take a look at:
- GitHub - FrameworkComputer/framework-system: Rust libraries and tools to interact with the Framework Computer systems
- discussion about ec: Exploring the Embedded Controller - #122 by DHowett
- daemon + gnome extension(develop by @stefanho): GitHub - stefanhoelzl/frameworkd
- same topic/question but regarding fw13: Can the battery charge limit be set from Linux?
On Intel FW everything works fine, but today (as of linux 6.9) this tools are not working out of the box for AMD:
- the
cros-ec
driver won’t work on amd systems (I confirm with regards to amd FW13 but iirc for FW16 is the same) until Re: [PATCH v3 0/4] platform/chrome: cros_ec_lpc: add support for AMD Framework Laptops - patchwork-bot+chrome-platform is merged (you can build your kernel) - the
portio
driver won’t work when kernel lockdown is enforced (always when SecureBoot is active unless you have some custom module or patch the kernel), see Framework 13 AMD Support on Linux · Issue #20 · FrameworkComputer/framework-system · GitHub