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

Fan service scripts do not work on PI 5 hardware #11

Open
geekworm-com opened this issue Mar 22, 2024 · 4 comments
Open

Fan service scripts do not work on PI 5 hardware #11

geekworm-com opened this issue Mar 22, 2024 · 4 comments

Comments

@geekworm-com
Copy link
Owner

@pimlie Hello,

Is there any way to get the fan service script to work on PI 5?

@geekworm-com
Copy link
Owner Author

Pioreactor/rpi_hardware_pwm#10

https://forums.raspberrypi.com/viewtopic.php?t=367294

I set PWM_CHANNEL to 1 and CHIP to 2 and it still doesn't work.
Looks like another kernel problem.

@pimlie
Copy link
Contributor

pimlie commented Mar 22, 2024

Unfortunately I dont have a RPi5 yet so Im not sure.

Reading the links you mentioned above it seems you have to make sure you are using at least kernel 6.6.22 (ie run rpi-update) and you have to change the PWM_CHIP_PATH to /sys/class/pwm/pwmchip2 and use gpio12 to control the pwm?

@geekworm-com
Copy link
Owner Author

I also saw the link to this, my current kernel version is 6.6.20, I have tried to upgrade the kernel a few times without success, both online and offline, I will try again today.

@geekworm-com
Copy link
Owner Author

geekworm-com commented Mar 23, 2024

@pimlie
I installed a clash on my Raspberry Pi 5 before I could run rpi-update without problems, which really wasted a lot of my time!

After updating the kernel from 6.6.20 to 6.6.22 the fan started working properly.

As you said, must change the PWM_CHIP_PATH to /sys/class/pwm/pwmchip2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants