Skip to content

Utility to interact with an AMC6821 Fan Controller through I2C

License

Notifications You must be signed in to change notification settings

pldrouin/amc6821_controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amc6821_controller

Utility to interact with an AMC6821 Fan Controller through I2C. This fan controller is notably used by LX2160A system (e.g. SolidRun HoneyComb LX2 system).

Depends on https://github.com/pldrouin/libht and https://github.com/pldrouin/libargs .

To compile, the LIBHTDIR and LIBARGSDIR variables (through environment or make) must respectively point to the installation directories of the two dependencies.

Defining the SHARED variable generates a shared library and a matching executable, while otherwise a static library is generated with a corresponding executable.

On a LX2160A system, an automatic mode can be configured using examples/lx2160a_auto.conf . This automatic mode can be configured, and the fan duty cycle, fan RPM as well as the local and remote temperatures can be queried. For example, if the fan controller slave address is 0x18, the mux slave's address is 0x77 and the fan controller is selected on the mux using register value 0x9:

amc6821 --mux_open /dev/iic0 0x18 0x77 0x9 0xF --config examples/lx2160a_auto.conf --get_dcy --get_tach --get_local_remote_temp_high_res

About

Utility to interact with an AMC6821 Fan Controller through I2C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published