Bug: "\\.\GLOBALROOT\Device\CrosEC" not found
I'm on Windows 11 24H2, and I'm running the tool to query various data (--thermal, --sensors, --privacy, --intrusion) all of them fail with the same error:
thread 'main' panicked at framework_lib\src\chromium_ec\windows.rs:46:14:
called `Result::unwrap()` on an `Err` value: Error { code: HRESULT(0x80070002), message: "The system cannot find the file specified." }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I checked the line, and it is referencing \\.\GLOBALROOT\Device\CrosEC here
I tried setting RUST_BACKTRACE=1, but it doesn't seem to care, nor change the output of the error. I also tried with admin privileges, same issue.
Also, as a side note, when I first extracted it, Windows Defender decided to scan it, and send a cloud sample, it might have done something, but it's still there, so I don't think so.
It requires a windows driver that implemented this user space interface.
There are some of that online, but they won't without some modification or test signing mode. https://github.com/coolstar/crosecbus/ Or https://github.com/DHowett/FrameworkWindowsUtils/tree/main/CrosEC
We will very soon provide an optimized and signed driver.
Ah, well that would explain that. I was just about to ask you to add that to the README, but I decided to double check, It's here, but it's practically hidden, the header is smaller than the text itself. Can you please make this a H2/3 header or otherwise highlight it, and/or but a banner at the top for windows users?
At the beginning it mentions downloading/installing it from GH Actions and makes no mention of other software, or even a link to the relevant section to the README.
New 2025 platforms Framework 12, Framework Desktop and Framework 13 AMD Ryzen AI 300 will ship with BIOS that exposes this device and a driver bundle that includes the driver.
We're working on backporting it to previous platforms.
I just tested it w/ the new v3.06 BIOS, works flawlessly. Closing for now 👍