framework-system icon indicating copy to clipboard operation
framework-system copied to clipboard

Bug: "\\.\GLOBALROOT\Device\CrosEC" not found

Open CatGamer23 opened this issue 11 months ago • 4 comments

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.

CatGamer23 avatar Feb 19 '25 21:02 CatGamer23

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.

JohnAZoidberg avatar Feb 20 '25 00:02 JohnAZoidberg

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?

Image

CatGamer23 avatar Feb 20 '25 00:02 CatGamer23

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.

CatGamer23 avatar Feb 20 '25 00:02 CatGamer23

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.

JohnAZoidberg avatar May 15 '25 06:05 JohnAZoidberg

I just tested it w/ the new v3.06 BIOS, works flawlessly. Closing for now 👍

CatGamer23 avatar Sep 03 '25 02:09 CatGamer23