brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: disable_poe_fan=1 skips an I2C probe at Raspberry Pi startup

Hardware
~/tips/tip-raspberry-pi-disable-poe-fan

disable_poe_fan=1

A config.txt line that stops the startup probe for a PoE HAT fan, which saves a little boot time.

Here is a Raspberry Pi setting for a thing I may not even own: a PoE HAT. The firmware still looks for one at every boot, unless you tell it not to.

disable_poe_fan=1

By default the firmware probes the I2C bus at startup, even when no PoE HAT is attached. Setting disable_poe_fan to 1 turns off control of a PoE HAT fan over I2C, on the pins ID_SD and ID_SC. The docs say that if you do not plan to use a PoE HAT, this helps to minimise boot time.

There is a close relative in the same section of the docs:

force_eeprom_read=0

Setting that to 0 stops the firmware from trying to read an I2C HAT EEPROM at power up. The docs point the two options at each other.

The caveats are short. Both options go into config.txt and need a reboot. If you do use a PoE HAT and set disable_poe_fan=1, the firmware no longer controls its fan, so leave the line out in that case. The docs do not give a number for how much time it saves, and I would not expect a dramatic difference.

To check that the line was loaded after the reboot, run vcgencmd get_config int and look for it.

Further reading: config.txt boot options

More Hardware tips sudo dmidecode -s bios-version sudo lshw -short rfkill list udevadm monitor Get-CimInstance Win32_BIOS | Select-Object Manufacturer, SMBIOSBIOSVersion, ReleaseDate, SerialNumber All Hardware tips (8) All topics

Link