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

Invalid default env for Rock 5C #4

Open
MatLegat opened this issue Aug 30, 2024 · 2 comments
Open

Invalid default env for Rock 5C #4

MatLegat opened this issue Aug 30, 2024 · 2 comments

Comments

@MatLegat
Copy link

When trying to install this module on Rock 5C, the application will always crash during boot due to a misconfigured PWM chip number.

It looks like the board is being identified as a Rock 5A, then the rockpi-penta/usr/bin/rockpi-penta/env/rock_5a.env is loaded after installation.

The fix to make it work was to just edit the file /etc/rockpi-penta.env and change the PWMCHIP value to 1

Reporting as an issue so maybe someone updates the detection to differentiate between Rock 5A and Rock 5C, or maybe update the docs so users know to manually change this value

@jardelhnascimento
Copy link

Thanks, my LED was stuck with "Loading..." , the button was not working and the fan speed was not changing. I tried the changes you mentioned and now it seems to work properly.

@BitTim
Copy link

BitTim commented Oct 16, 2024

Thank you! I can confirm that this fixed the issue for me as well

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

3 participants