Bug 2079041 - Raspberry Pi 4b case-fan/gpio-fan control: hysteresis not working in f36 IoT
Summary: Raspberry Pi 4b case-fan/gpio-fan control: hysteresis not working in f36 IoT
Keywords:
Status: CLOSED DUPLICATE of bug 2047329
Alias: None
Product: Fedora
Classification: Fedora
Component: bcm283x-firmware
Version: 36
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-26 18:36 UTC by Armin Warda
Modified: 2022-04-27 00:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-04-27 00:34:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Armin Warda 2022-04-26 18:36:56 UTC
Fedora-IoT-36-20220405.0.aarch64.raw.xz
Fedora-IoT-36-20220411.0.aarch64.raw.xz
Fedora-IoT-36-20220413.0.aarch64.raw.xz 
Fedora-IoT-36-20220426.0.aarch64.raw.xz 

/boot/efi/config.txt:
dtoverlay=gpio-fan,gpiopin=14,temp=80000

Raspberry Pi 4b case-fan/gpio-fan control with dtoverlay is working, 
fan is triggered on at temp>80°C, but
HYSTERESIS 70<80°C not working: 
fan is flipping on/off around ~80°C,
fan should NOT be triggered off before temp falls below 70°C!

To compare, I booted Raspian OS:
2022-04-04-raspios-bullseye-arm64-lite.img.xz (Kernel 5.15.32-v8+ aarch64)

/boot/config.txt:
dtoverlay=gpio-fan,gpiopin=14,temp=80000

and here the hysteresis _is_ working as expected:

temp>80°C => case-fan/gpio-fan is switched on
temp<70°C => case-fan/gpio-fan is switched off

If the temp is between 70 and 80°C, the fan is not triggered on/off!

See also https://bugzilla.redhat.com/show_bug.cgi?id=2047329 which was originally reported for Fedora 35, where gpio-fan control did not work at all.

Comment 1 Peter Robinson 2022-04-27 00:34:26 UTC
Having multiple bugs for the same problem is likely not overly useful. Duping to the other bug as there's more info there.

*** This bug has been marked as a duplicate of bug 2047329 ***


Note You need to log in before you can comment on or make changes to this bug.