Skip to content

cmetz/ec-su_axb35-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ec-su_axb35-linux

Linux driver for the embedded controller on the Sixunited AXB35-02 board.

Vendors using that board:

  • GMKtec EVO-X2
  • Bosgame M5
  • FEVM FA-EX9
  • Peladn YO1
  • NIMO AI MiniPC

An update to date list can be found here

For more details, please have a look at the desevens wiki: https://strixhalo-homelab.d7.wtf/Guides/Power-Mode-and-Fan-Control

Build instructions

$ make
$ sudo make install
$ sudo insmod ec_su_axb35

Devices

# Fan devices
/sys/class/ec_su_axb35/fan1/                    - CPU fan 1
/sys/class/ec_su_axb35/fan2/                    - CPU fan 2
/sys/class/ec_su_axb35/fan3/                    - System fan
/sys/class/ec_su_axb35/fanX/rpm            (RO) - current speed in rpm
/sys/class/ec_su_axb35/fanX/mode           (RW) - [auto, fixed, curve]
/sys/class/ec_su_axb35/fanX/level          (RW) - [0-5] (0=0%, 1=20%, ..., 5=100%)
/sys/class/ec_su_axb35/fanX/rampup_curve   (RW) - 5 values (°C thresholds for level 1-5)
/sys/class/ec_su_axb35/fanX/rampdown_curve (RW) - 5 values (°C thresholds for level 1-5)

# Temperature device
/sys/class/ec_su_axb35/temp1/                   - CPU temperature in °C
/sys/class/ec_su_axb35/temp1/temp          (RO) - current
/sys/class/ec_su_axb35/temp1/min           (RO) - min temp measured since dirver load
/sys/class/ec_su_axb35/temp1/max           (RO) - amx temp measured since driver load

# APU device
/sys/class/ec_su_axb35/apu/power_mode      (RW) - [quiet, balanced, performance]

Python GUI app (needs root to write to /sys/class/ec_su_axb35/*)

to test: python ./ec-su_axb35-linux-gui.py

to install: sudo install -m 755 ec-su_axb35-linux-gui.py /usr/local/bin/ec-su_axb35-linux-gui cp ec-fan-control.desktop ~/.local/share/applications/

About

Linux driver for the embedded controller on the Sixunited AXB35-02 board.

Resources

License

Stars

57 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors