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

How to control the red/green LEDs on Orange Pi Zero LTS with the latest master (Styhead) meta-sunxi? #423

Open
ChristianReese opened this issue Nov 15, 2024 · 1 comment

Comments

@ChristianReese
Copy link

ChristianReese commented Nov 15, 2024

I'm no longer seeing the file directories needed to control the red LED - before we had been writing to /sys/devices/platform/leds/leds/orangepi:red:status/brightness, but it seems that file no longer exists (since we updated from Hardknott to Mickledore). I have since updated to Styhead (master), but it still isn't there. Did the file directory change, or is this a new bug?

@nandra
Copy link
Collaborator

nandra commented Nov 18, 2024

GPIO_SYSFS is deprecated from some kernel version (see: https://www.thegoodpenguin.co.uk/blog/stop-using-sys-class-gpio-its-deprecated/). You can still enable it in kernel config but I would suggest to switch to gpiod

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