I manage to control the fan speed and it seems possible to remove sensors (which might help
@Ulgracht).
You need to set a user/password for OpenBMC and enable DHCP. Then, you can SSH into OpenBMC. To be clear: instead of SSH to the server itself, you SSH to the IP attached to OpenBMC (the IP attach to the BMC ethernet port).
The SSH credentials is the same user/password of OpenBMC (which you use in the web browser interface).
Then, you can read and modify one file (`/usr/share/swampd/config.json` and can create a copy to `/etc/swampd/config.json`). That file seems to be responsible to control the fan-speed, based on each temperature sensor. MAYBE you can remove the damaged sensor (not a fix, but mitigates the issue) or you can remove the low temperature warning.
In general:
Code:
ssh admin@{open-bmc-ip}
# Change the "setpoints" where it says "temps" (which is CPU, M2, OCP NIC...)
sudo vi /usr/share/swampd/config.json
# Make a copy (not sure if necessary, because I didn't restart)
sudo cp /usr/share/swampd/config.json /etc/swampd/config.json 2>/dev/null || true
# Restart the service
sudo systemctl restart phosphor-pid-control.service
Based on GPT/Claude/Gemini (...), you can also set a specific fan speed, using something like:
busctl set-property xyz.openbmc_project.FanSensor /xyz/openbmc_project/control/fanpwm/Pwm_1 xyz.openbmc_project.Control.FanPWM Target t 50. I don't think it will work, but it's like to have a way to set it.
------
I didn't investigate it further.
I increase some "setpoints" to make the server accept higher temperature... Of course, it will run hotter and the fan will eventually get louder. My issue is "OCP NIC TEMP", I need to somehow improve the cooling of this NIC [help wanted]. Because that is what is causing the fans to go crazy (it's already the max of 95ºC, which I set as target).
However, as a experiment, it worked. Now, we need some smart way to control it AND make the NIC run cooler overall.