framework-system: `/dev/cros_ec` does not exist
Failed to open /dev/cros_ec. Because: Os { code: 2, kind: NotFound, message: "No such file or directory" }
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', framework_lib/src/chromium_ec/cros_ec.rs:70:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Using Fedora 40 on my new FW16, the /dev/cros_ec file does not exist. As such, the program fails in the manner indicated for most of the commands.
Is there something that needs to be installed? The README indicates that it should work out of the box so long as Rust is installed (I’m a Rust programmer, so it very much is).
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 17 (3 by maintainers)
portio cannot work with Secureboot/lockdown enabled.
For cros_ec with Intel Core Ultra, you need at least kernel 6.11 with this patch: https://github.com/torvalds/linux/commit/62be134abf4250474a7a694837064bc783d2b291
Same for me, doesnt work for me on Intel Core Ultra 165H and Fedora 40 with kernel
6.10.7-200.fc40.x86_64.