- install lm-sensors with your package manager
sensors
If it won't show any fan/speed, continue
sensor-detect
| #!/bin/bash | |
| # 2022-01-01 Charles Godwin | |
| # Derived from https://www.waveshare.com/wiki/PoE_HAT_(B) | |
| # enable i2c interface if necessary | |
| # Read the following for details | |
| # https://gist.github.com/CharlesGodwin/adda3532c070f6f6c735927a5d6e8555#file-waveshare-poe-hat-md | |
| # | |
| IS_I2C=`sudo raspi-config nonint get_i2c` | |
| [ $IS_I2C -ne 0 ]&&sudo raspi-config nonint do_i2c 0 | |
| # install required packages |