Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong/new location for fan info #178

Open
FlyingLemming opened this issue Jun 2, 2024 · 3 comments
Open

Wrong/new location for fan info #178

FlyingLemming opened this issue Jun 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@FlyingLemming
Copy link

On my Raspi 5 with a brand-new installation of Bookworm 64bit, the directory for getting the fan speed info is /sys/devices/platform/cooling_fan/hwmon/hwmon3 instead of .../hwmon2.

No idea about other hardware and OS versions.

@ebaauw ebaauw added the enhancement New feature or request label Jun 2, 2024
@ebaauw
Copy link
Owner

ebaauw commented Jun 2, 2024

That’s new for me; I have seen that sometimes hwmon1 is used, but after a reboot (or power cycle?) of the Pi it reverts to hwmon2. Could you please check a couple of times, what path is used after you reboot / power cycle the Pi?

Also, what fan are you using? The standard standalone fan, the fan in the standard case, or a third-party fan?

On a local Pi, I could probably check which path is used, but on a remote Pi (once pigpiod or an alternative will be running on the Pi5), this needs to be done by the script running gon the remote Pi.

Incidentally, I switched to passive cooling, using a heat sink case. The fan in the standard case makes too much noise for my taste. The standalone fan in the standard case seems fine, but I want to use a case. The standard case (with the lid removed to accommodate the standard fan) blocks the GPIO pins.

@FlyingLemming
Copy link
Author

FlyingLemming commented Jun 2, 2024

Good point. However, I just restarted the Pi three times and the path remains .../hwmon3.

I am using the stand-alone fan ("Raspberry Pi Active Cooler") without any further modifications to it.

In addition, I have a Geekworm X1001 NVMe Shield installed as well as a Geekworm X1200 UPS Shield. Thinking of that – I transferred the OS from the SD card to a NVMe SSD. Might that be the cause...? 🤔

I am only using the software locally. For the time being, I just modfied the path within my RpiInfo.js and it works fine.

ebaauw added a commit that referenced this issue Jun 7, 2024
Try different paths for Pi 5 fan control, see #178.
ebaauw added a commit that referenced this issue Jun 7, 2024
Try different paths for Pi 5 fan control, see #178.
ebaauw added a commit that referenced this issue Jun 7, 2024
Try different paths for Pi 5 fan control, see #178.
@ebaauw
Copy link
Owner

ebaauw commented Jun 7, 2024

On a local Pi, I could probably check which path is used

In v1.8.16.

@ebaauw ebaauw added bug Something isn't working and removed enhancement New feature or request labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants