Comments (9)
Apparently you have to disable secure boot in the bios to get I/O privilege
https://www.howett.net/posts/2021-12-framework-ec/#using-fw-ectool
I didn't know that, I'll add it to the instructions
from fw-fanctrl.
I am running into the same issue. I take it @jedfonner is also trying this on an AMD framework? :-)
from fw-fanctrl.
Indeed I am!
from fw-fanctrl.
I have the same issue, running Debian on an 12th Gen Intel framework
from fw-fanctrl.
Sorry guys, I'm running an intel 11th gen laptop, I can't troobleshoot this for you. fw-fanctrl is quite a simple script, could you guys dive into it and fix it for the newer framework hardware ?
from fw-fanctrl.
Okay, apparently this is because the version of ectool
shipped with this repo is outdated, sorry
There's an ongoing PR with the latest version of the binary, it's not merged yet and there might be some refinements added soon but it should work okay-ish for AMD and okay for Intel : #21
from fw-fanctrl.
Should be fixed on main
thanks to #21
from fw-fanctrl.
I just got an AMD Framework 13 and would love to use this tool, but am getting similar errors as the OP. I'm on Ubuntu 22.04 with an AMD Ryzen™ 7 7840U.
There's also some sort of access issue since there's an additional "Error getting I/O privilege: Operation not permitted" message. And it still happens when I run ectool
directly with root.
● fw-fanctrl.service - FrameWork Fan Controller
Loaded: loaded (/etc/systemd/system/fw-fanctrl.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-05-16 03:48:44 CEST; 41min ago
Main PID: 539463 (python3)
Tasks: 4 (limit: 37430)
Memory: 8.8M
CPU: 22.094s
CGroup: /system.slice/fw-fanctrl.service
└─539463 /usr/bin/python3 /usr/local/bin/fw-fanctrl --config /home/joe/.config/fw-fanctrl/config.json --no-log
mai 16 04:29:54 frameworklaptop python3[632331]: Unable to establish host communication
mai 16 04:29:54 frameworklaptop python3[632331]: Couldn't find EC
mai 16 04:30:00 frameworklaptop python3[632363]: Error getting I/O privilege: Operation not permitted
mai 16 04:30:00 frameworklaptop python3[632363]: Cannot find I2C adapter
mai 16 04:30:00 frameworklaptop python3[632363]: Unable to establish host communication
mai 16 04:30:00 frameworklaptop python3[632363]: Couldn't find EC
mai 16 04:30:06 frameworklaptop python3[632393]: Error getting I/O privilege: Operation not permitted
mai 16 04:30:06 frameworklaptop python3[632393]: Cannot find I2C adapter
mai 16 04:30:06 frameworklaptop python3[632393]: Unable to establish host communication
mai 16 04:30:06 frameworklaptop python3[632393]: Couldn't find EC
$ sudo ectool pwmgetfanrpm all
Error getting I/O privilege: Operation not permitted
Cannot find I2C adapter
Unable to establish host communication
Couldn't find EC
from fw-fanctrl.
Yup, got it working now. Thanks!
from fw-fanctrl.
Related Issues (20)
- Error running after fresh install (config not found) HOT 14
- Cannot open lockfile error HOT 2
- Issues with suspend-then-hibernate due to script in /usr/lib/systemd/system-sleep/ HOT 6
- Can't get value of subfeature curr1_input: Can't read HOT 6
- Occasionally pins CPU to 100% HOT 3
- Nix package HOT 4
- [Feature] Support for Framework 16 HOT 19
- [Feature] Support for AMD Framework 13 HOT 2
- [Question] about the ec tool project and the right version to use HOT 2
- ectool and windows support HOT 2
- Command argument refactoring proposition HOT 4
- Usage of pipfile for requirements.txt replacement HOT 4
- Reading the temperature from the wrong sensor HOT 4
- FileNotFoundError: [Errno 2] No such file or directory on latest commit HOT 13
- No binary embedding HOT 3
- install.sh attempts to stop service during packaging HOT 1
- [BUG] [packaging/AUR] Sleep hook causes 90-second hang on startup / resume from sleep HOT 3
- Is there a way to fully disable this tool and resort to the default fan control? HOT 6
- [BUG] What's going on here? Laptop showed 0 battery power and then shutoff HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fw-fanctrl.