bisdn / bisdn-linux

Other
9 stars 1 forks source link

allow fans of delta ag7648 to be controlled #92

Open KanjiMonster opened 1 year ago

KanjiMonster commented 1 year ago

currently the fans are only exposed through onlp and configured through raw i2c calls.

The fan controller seems to be a max6639 chip, for which an in-kernel driver exists. The source code comment says max6620, but the register macros names and contents match the max6639 driver's, not the max6620.

Loading the driver to the appropriate register should allow configuring the fans without much effort.

According to the platform i2c library the chips are a at I2C bus 3, addresses 0x2a and 0x29.