Clevo Fan Control for Linux

Discussion in 'Sager and Clevo' started by Dennismungai, Oct 31, 2018.

  1. debguy

    debguy rip dmr

    Reputations:
    607
    Messages:
    893
    Likes Received:
    4
    Trophy Points:
    31
    Thanks! That's what I wanted to know.
     
  2. cgltower

    cgltower Notebook Enthusiast

    Reputations:
    2
    Messages:
    12
    Likes Received:
    5
    Trophy Points:
    6
    Ive tried building and installing but it wont apt install, have a Clevo PA70ES, and can get UI working without installing and without any fan controls :

    $ sudo dpkg -i output/build/*.deb
    (Reading database ... 314693 files and directories currently installed.)
    Preparing to unpack .../tuxedofancontrol_0.1.8_amd64.deb ...
    Failed to get unit file state for tuxedofancontrol.service: No such file or directory
    Unpacking tuxedofancontrol (0.1.8) over (0.1.8) ...
    Setting up tuxedofancontrol (0.1.8) ...
    _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
    _XSERVTransMakeAllCOTSServerListeners: server already running
    (EE)
    Fatal server error:
    (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
    No TUXEDO device found
    Failed to enable unit: Unit file tuxedofancontrol.service does not exist.
    Warning: The unit file, source configuration file or drop-ins of tuxedofancontrol.service changed on disk. Run 'systemctl daemon-reload' to reload units.
    Job for tuxedofancontrol.service failed because the control process exited with error code.
    See "systemctl status tuxedofancontrol.service" and "journalctl -xe" for details.
    dpkg: error processing package tuxedofancontrol (--install):
    installed tuxedofancontrol package post-installation script subprocess returned error exit status 1
    Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
    Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
    Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for mime-support (3.60ubuntu1) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Errors were encountered while processing:
    tuxedofancontrol

    $ uname -a
    Linux <host> 4.19.19-041919-generic #201901310331 SMP Thu Jan 31 08:33:47 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

    upload_2019-9-8_22-15-41.png
     
  3. Dennismungai

    Dennismungai Notebook Deity

    Reputations:
    733
    Messages:
    894
    Likes Received:
    830
    Trophy Points:
    106
  4. cgltower

    cgltower Notebook Enthusiast

    Reputations:
    2
    Messages:
    12
    Likes Received:
    5
    Trophy Points:
    6
    Building default source myself then manually running with --novendorcheck as in my previous post works, but is a 'view only' of your system fans and temp. You cannot control anything. Attempting to run as a service just does nothing / daemon runs but fans stay running high.

    The dev manual does not help but the hack and rebuild hint by banskt and then install works. Very pleased with my now mildly slightly hotter but significantly quieter Clevo PA70ES running Ubuntu 18.04:
    1. Edit ../src/common/system.ts
    2. Line 94 just change return false to return true on function no matter what.
    /**
    * Check if the device a TUXEDO device
    *
    * @returns A boolean that indicat is a TUXEDO or not
    */
    public static isTuxedoDevice(): boolean
    {
    if(this.getDmiModelVendor().toLocaleLowerCase() === "tuxedo")
    {
    return true;
    }
    return true;
    }
    Makes the check void, and risky for any laptop, so beware.
    3. Build and package and install as instructions / README.md. Daemon should be running and automatically throttling fans. I did not change any default FAN Duty settings or anything, they seem fine.
    4. Watch temperature carefully and slowly stress CPU and GPU separately and make sure fans speed up appropriately.

    So good :D Daemon is running below:
    upload_2019-9-15_22-0-53.png
    upload_2019-9-15_22-3-18.png
     

    Attached Files:

Loading...

Share This Page