I was recently made aware of a tool that Framework has developed for Linux and Windows. It is called Framework-system:
GitHub - FrameworkComputer/framework-system: Rust libraries and tools to interact with the Framework Computer systems
This piece of software allows one to check the EC for values and to make some changes to it. Things like display brightness, fingerprint led, and the battery charging limit can be viewed and changed, without needing a restart.
I’ve got it working on Linux (Ubuntu) without issue, but am having problems getting it working on Windows through a command prompt.
Has anyone had any luck with that? This is the error I’m getting:
cargo run --no-default-features --features “windows” – --test
Finished dev [unoptimized + debuginfo] target(s) in 0.19s
Runningtarget\debug\framework_tool.exe --test
Self-Test
SMBIOS Platform: IntelGen13
SMBIOS is_framework: true
Dump EC memory region
thread ‘main’ panicked at ‘calledResult::unwrap()
on anErr
value: Error { code: 0x80070002, message: The system cannot find the file specified. }’, framework_lib\src\chromium_ec\windows.rs:40:14
note: run withRUST_BACKTRACE=1
environment variable to display a backtrace
error: process didn’t exit successfully:target\debug\framework_tool.exe --test
(exit code: 101)
WSL is not a solution either, it seems, because the virtualized Linux VM does not get direct access to hardware in that state.