Giter VIP home page Giter VIP logo

Comments (9)

TamtamHero avatar TamtamHero commented on August 10, 2024 1

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.

Ceremony64 avatar Ceremony64 commented on August 10, 2024

I am running into the same issue. I take it @jedfonner is also trying this on an AMD framework? :-)

from fw-fanctrl.

jedfonner avatar jedfonner commented on August 10, 2024

Indeed I am!

from fw-fanctrl.

Mari023 avatar Mari023 commented on August 10, 2024

I have the same issue, running Debian on an 12th Gen Intel framework

from fw-fanctrl.

TamtamHero avatar TamtamHero commented on August 10, 2024

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.

TamtamHero avatar TamtamHero commented on August 10, 2024

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.

TamtamHero avatar TamtamHero commented on August 10, 2024

Should be fixed on main thanks to #21

from fw-fanctrl.

JBetz avatar JBetz commented on August 10, 2024

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.

JBetz avatar JBetz commented on August 10, 2024

Yup, got it working now. Thanks!

from fw-fanctrl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.