Skip to content

[PACKAGE REQUEST] could you add smx8fancontrol #60

@alber70g

Description

@alber70g

I'm not sure if this is the right place for this request.

To change the fan speeds on a SuperMicro X8 board (I have X8DTL-iF) there's a tool smx8fancontrol

Now there's a few deps that are needed and it's a pain to install them on UnRaid. So far this has been my script to get it to run:

# https://www.ikus-soft.com/en/blog/2017-10-01-supermicro-x8-controle-ventilateur/
# install smx8fancontrol on unraid
# install nerd-pack and enable `python3` and `pip`

# install smbus2
pip install smbus2

# get the script
sudo wget -O /usr/local/bin/smx8fancontrol \
https://gist.githubusercontent.com/alber70g/00f2d87c0db78a3c51db28cc670e261a/raw/2c3ea566826287f0d76a7470060b76b835b943e4/smx8fancontrol

# make it executable
chmod +x /usr/local/bin/smx8fancontrol 

# trigger i2c module
modprobe i2c-dev modprobe

# run it
./usr/local/bin/smx8fancontrol 

# change it (20% fan speed at 20 degrees celcius)
smx8fancontrol -m smart -p 20,30,40,50,60,70,90 -t 20,25,30,35,40,35,50 -H 2

# set tresholds to not get errors in IPMI
# https://www.truenas.com/community/threads/how-to-change-ipmi-sensor-thresholds-using-ipmitool.53620/page-6
# I have the X8DTL-iF and these are squared. So 10 means 10*10 = 100rpm
#ipmitool sensor thresh "FAN 1" lower 10 21 29
#ipmitool sensor thresh "FAN 2" lower 10 21 29
#ipmitool sensor thresh "FAN 3" lower 10 21 29
#ipmitool sensor thresh "FAN 4" lower 10 21 29
#ipmitool sensor thresh "FAN 1" upper 175 178 181
#ipmitool sensor thresh "FAN 2" upper 175 178 181
#ipmitool sensor thresh "FAN 3" upper 175 178 181
#ipmitool sensor thresh "FAN 4" upper 175 178 181

# reset IPMI user ADMIN
#ipmitool -I open user set password 2 ADMIN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions