ryanibbitson
Posts: 6
Joined: Fri May 17, 2019 2:31 pm

PoE Hat Fan Not Working

Fri May 17, 2019 2:37 pm

Hi,

Hopefully someone out there has had this issue and can help.

I've installed a PoE hat on my Raspberry Pi but I can't get the fan to work...

I've ran the following to ensure my software is up to date:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo rpi-update

The PoE works fine, the fan turns on boot but then nothing.

Any help would be much appreciated!

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5657
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: PoE Hat Fan Not Working

Fri May 17, 2019 4:45 pm

what's the output of these commands?

Code: Select all

uname -a
lsmod
sudo vcdbg log msg

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6640
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: PoE Hat Fan Not Working

Fri May 17, 2019 4:51 pm

Is the Pi actually hot enough for the fan to be required? IIRC it kicks in at 55-60degC by default.
"vcgencmd measure_temp"
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
Imperf3kt
Posts: 2212
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: PoE Hat Fan Not Working

Fri May 17, 2019 9:30 pm

ryanibbitson wrote:
Fri May 17, 2019 2:37 pm
I've ran the following to ensure my software is up to date:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo rpi-update
There is no need to use that last one, in fact that last one can bork your entire system. Only ever use it if you know exactly why you are using it, and exactly what it will do, or if you are instructed to by a Raspberry Pi engineer.
Google is ubiquitous - Try it today, it's free!
https://opensource.com/life/16/10/how-ask-technical-questions

ryanibbitson
Posts: 6
Joined: Fri May 17, 2019 2:31 pm

Re: PoE Hat Fan Not Working

Thu May 23, 2019 9:17 am

ShiftPlusOne wrote:
Fri May 17, 2019 4:45 pm
what's the output of these commands?

Code: Select all

uname -a
lsmod
sudo vcdbg log msg
Hi thanks for your response, output as below:

[email protected]:~ $ uname -a

Linux raspberrypi 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux

[email protected]:~ $ lsmod

Module Size Used by
fuse 110592 5
rfcomm 49152 4
bnep 20480 2
hci_uart 40960 1
btbcm 16384 1 hci_uart
serdev 20480 1 hci_uart
bluetooth 385024 29 hci_uart,bnep,btbcm,rfcomm
ecdh_generic 28672 1 bluetooth
brcmfmac 311296 0
brcmutil 16384 1 brcmfmac
sha256_generic 20480 0
cfg80211 614400 1 brcmfmac
snd_bcm2835 24576 2
raspberrypi_hwmon 16384 0
rfkill 28672 6 bluetooth,cfg80211
snd_pcm 102400 1 snd_bcm2835
bcm2835_codec 36864 0
bcm2835_v4l2 45056 0
snd_timer 32768 1 snd_pcm
v4l2_mem2mem 24576 1 bcm2835_codec
snd 73728 7 snd_timer,snd_bcm2835,snd_pcm
bcm2835_mmal_vchiq 32768 2 bcm2835_codec,bcm2835_v4l2
v4l2_common 16384 1 bcm2835_v4l2
videobuf2_dma_contig 20480 1 bcm2835_codec
videobuf2_vmalloc 16384 1 bcm2835_v4l2
videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc
videobuf2_v4l2 24576 3 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
videobuf2_common 45056 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
i2c_bcm2835 16384 0
videodev 200704 6 bcm2835_codec,v4l2_common,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
media 36864 2 videodev,v4l2_mem2mem
vc_sm_cma 24576 1 bcm2835_mmal_vchiq
w1_gpio 16384 0
wire 45056 1 w1_gpio
cn 16384 1 wire
hwmon 16384 2 wire,raspberrypi_hwmon
fixed 16384 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
i2c_bcm2708 16384 0
i2c_dev 16384 0
ip_tables 24576 0
x_tables 32768 1 ip_tables
ipv6 450560 37

[email protected]:~ $ sudo vcdbg log msg

001209.569: brfs: File read: /mfs/sd/config.txt
001210.531: brfs: File read: 1620 bytes
001221.129: HDMI:EDID error reading EDID block 0 attempt 0
001222.433: HDMI:EDID error reading EDID block 0 attempt 1
001223.728: HDMI:EDID error reading EDID block 0 attempt 2
001225.025: HDMI:EDID error reading EDID block 0 attempt 3
001226.321: HDMI:EDID error reading EDID block 0 attempt 4
001227.619: HDMI:EDID error reading EDID block 0 attempt 5
001228.914: HDMI:EDID error reading EDID block 0 attempt 6
001230.212: HDMI:EDID error reading EDID block 0 attempt 7
001231.507: HDMI:EDID error reading EDID block 0 attempt 8
001232.804: HDMI:EDID error reading EDID block 0 attempt 9
001233.864: HDMI:EDID giving up on reading EDID block 0
001249.336: brfs: File read: /mfs/sd/config.txt
001250.185: HDMI:Setting property pixel encoding to Default
001250.242: HDMI:Setting property pixel clock type to PAL
001250.302: HDMI:Setting property content type flag to No data
001250.359: HDMI:Setting property fuzzy format match to enabled
001473.064: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
001474.384: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001474.461: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
001474.808: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001476.115: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001477.417: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001478.719: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001480.021: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001481.326: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001482.628: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001483.930: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001485.232: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001486.534: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001487.599: hdmi: HDMI:EDID giving up on reading EDID block 0
001487.671: hdmi: HDMI: No lookup table for resolution group 0
001487.733: hdmi: HDMI: hotplug attached with DVI support
001487.806: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001488.141: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001489.448: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001490.754: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001492.060: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001493.365: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001494.671: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001495.977: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001497.283: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001498.589: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001499.895: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001500.964: hdmi: HDMI:EDID giving up on reading EDID block 0
001501.044: hdmi: HDMI: hotplug deassert
001501.096: hdmi: HDMI: HDMI is currently off
001501.148: hdmi: HDMI: changing mode to unplugged
001501.212: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001502.725: *** Restart logging
001502.788: brfs: File read: 1620 bytes
001504.200: brfs: File read: /mfs/sd/cmdline.txt
001504.306: Read command line from file 'cmdline.txt':
001504.370: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=0ece56eb-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles'
001504.676: brfs: File read: 187 bytes
001873.367: brfs: File read: /mfs/sd/kernel7.img
001873.430: Loading 'kernel7.img' to 0x8000 size 0x509570
002417.948: No kernel trailer - assuming DT-capable
002418.050: brfs: File read: 5281136 bytes
002422.156: brfs: File read: /mfs/sd/bcm2710-rpi-3-b-plus.dtb
002422.218: Loading 'bcm2710-rpi-3-b-plus.dtb' to 0x511570 size 0x65fc
002573.024: brfs: File read: 26108 bytes
002575.495: brfs: File read: /mfs/sd/config.txt
002576.066: dtparam: i2c_arm=on
002593.148: dtparam: audio=on
002612.900: brfs: File read: 1620 bytes
002625.364: brfs: File read: /mfs/sd/overlays/w1-gpio.dtbo
002634.254: Loaded overlay 'w1-gpio'
003804.815: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
003905.495: Device tree loaded to 0x2eff9400 (size 0x6b4b)
003908.114: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
005149.737: vchiq_core: vchiq_init_state: slot_zero = 0xfad80000, is_master = 1
005153.915: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
008300.354: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
008601.127: camsubs: Camera not found
008601.205: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
008901.978: camsubs: Camera not found
008902.058: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
008902.811: camsubs: Camera not found
008902.886: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
008903.664: camsubs: Camera not found
008903.740: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
008904.497: camsubs: Camera not found
[email protected]:~ $

ryanibbitson
Posts: 6
Joined: Fri May 17, 2019 2:31 pm

Re: PoE Hat Fan Not Working

Thu May 23, 2019 9:19 am

6by9 wrote:
Fri May 17, 2019 4:51 pm
Is the Pi actually hot enough for the fan to be required? IIRC it kicks in at 55-60degC by default.
"vcgencmd measure_temp"
Pi is definitely hot enough, it hit triple figures, and that's in a fairly cool office!

User avatar
DarkPlatinum
Posts: 793
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website

Re: PoE Hat Fan Not Working

Thu May 23, 2019 12:02 pm

ryanibbitson wrote:
Thu May 23, 2019 9:19 am
6by9 wrote:
Fri May 17, 2019 4:51 pm
Is the Pi actually hot enough for the fan to be required? IIRC it kicks in at 55-60degC by default.
"vcgencmd measure_temp"
Pi is definitely hot enough, it hit triple figures, and that's in a fairly cool office!
How did it reach triple figures....? The Pi is supposed to downclock until the temps are ok... Are you using Farenheit?
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): Https://Html.dynu.net

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5657
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: PoE Hat Fan Not Working

Thu May 23, 2019 12:06 pm

It looks like it's not being automatically detected. Remove power and double check that the pins have good contact and there's no dirt or anything on the pins or in the connector.

If that doesn't help, try forcing it to load by adding 'dtoverlay=rpi-poe' to config.txt and rebooting.

ryanibbitson
Posts: 6
Joined: Fri May 17, 2019 2:31 pm

Re: PoE Hat Fan Not Working

Thu May 23, 2019 1:10 pm

ShiftPlusOne wrote:
Thu May 23, 2019 12:06 pm
It looks like it's not being automatically detected. Remove power and double check that the pins have good contact and there's no dirt or anything on the pins or in the connector.

If that doesn't help, try forcing it to load by adding 'dtoverlay=rpi-poe' to config.txt and rebooting.
Pins and connections look fine, I've tried adding to the config and rebooted but still no working fan..

New lines within the log (sudo vcdbg log msg):

002573.438: brfs: File read: 1116 bytes
002582.163: brfs: File read: /mfs/sd/overlays/rpi-poe.dtbo
002598.033: Loaded overlay 'rpi-poe'

vcgencmd measure_temp: temp = 74.1'C

Any further ideas?

Thanks!

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5657
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: PoE Hat Fan Not Working

Thu May 23, 2019 1:27 pm

anything interesting in dmesg?

ryanibbitson
Posts: 6
Joined: Fri May 17, 2019 2:31 pm

Re: PoE Hat Fan Not Working

Thu May 23, 2019 1:45 pm

ShiftPlusOne wrote:
Thu May 23, 2019 1:27 pm
anything interesting in dmesg?
Certainly is:

[ 3.294865] rpi-poe-fan [email protected]: Failed to get default PWM value: -5
[ 3.294902] rpi-poe-fan: probe of [email protected]0 failed with error -5

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5657
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: PoE Hat Fan Not Working

Thu May 23, 2019 2:17 pm

If it's not the connection, then it may be a dead, or for whatever reason, unprogrammed board. If that's the case, I'd ask the seller for a replacement.

ryanibbitson
Posts: 6
Joined: Fri May 17, 2019 2:31 pm

Re: PoE Hat Fan Not Working

Thu May 23, 2019 2:28 pm

ShiftPlusOne wrote:
Thu May 23, 2019 2:17 pm
If it's not the connection, then it may be a dead, or for whatever reason, unprogrammed board. If that's the case, I'd ask the seller for a replacement.
Thanks, I'll get a replacement and post back on here to confirm if that was the issue.

User avatar
Imperf3kt
Posts: 2212
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: PoE Hat Fan Not Working

Thu May 23, 2019 10:01 pm

DarkPlatinum wrote:
Thu May 23, 2019 12:02 pm
ryanibbitson wrote:
Thu May 23, 2019 9:19 am
6by9 wrote:
Fri May 17, 2019 4:51 pm
Is the Pi actually hot enough for the fan to be required? IIRC it kicks in at 55-60degC by default.
"vcgencmd measure_temp"
Pi is definitely hot enough, it hit triple figures, and that's in a fairly cool office!
How did it reach triple figures....? The Pi is supposed to downclock until the temps are ok... Are you using Farenheit?
Also curious about this.
In my experience, a Pi will idle at around 90°F, going into "triple figures" as soon as I do anything significant, such as opening Chromium. This is in free air mind you, so no case to trap the heat, making it hotter.

So I can only conclude either you're using Fahrenheit and experiencing normal operating temperatures, or you're actually seeing abnormally high figures, which indicates your Pi is not throttling as it should be.

To assess the severity, you could give us the temperature you are seeing.
Google is ubiquitous - Try it today, it's free!
https://opensource.com/life/16/10/how-ask-technical-questions

User avatar
rpdom
Posts: 14105
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: PoE Hat Fan Not Working

Thu May 23, 2019 10:10 pm

My Pi hits triple figures all the time. Mind you, that's measured in Kelvin. :lol:
Signature is on holiday.

Return to “HATs and other add-ons”