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

Raspberry Pi 5 Support[Request]: #222

Open
ingo916 opened this issue May 9, 2024 · 6 comments
Open

Raspberry Pi 5 Support[Request]: #222

ingo916 opened this issue May 9, 2024 · 6 comments

Comments

@ingo916
Copy link

ingo916 commented May 9, 2024

What would you like implemented?

It would be great if there could be support for the Raspberry Pi 5

Why should this be implemented?

I am using Octoprint on my Raspberry Pi 5 and would like to continue using this plugin.

Log error
[2024-05-09 11:40:48,418] ERROR: RuntimeError('ws2811_init failed with code -3 (Hardware revision is not supported)')
[2024-05-09 11:40:48,419] ERROR: Strip failed to startup
[2024-05-09 11:40:48,419] ERROR: Exiting the effect process

@cp2004
Copy link
Owner

cp2004 commented May 9, 2024

Unfortunately my hands are tied by the library that the plugin uses supporting the RPi 5. The hardware fundamentally changed, so I don't know when it will be figured out. See jgarff/rpi_ws281x#528 for details.

@ingo916
Copy link
Author

ingo916 commented May 9, 2024

Thank you for the quick response. Much appreciated.

@GitHubjerem
Copy link

Hello, the library now seems functional for the raspberry pi 5.
https://github.com/jgarff/rpi_ws281x/wiki/Raspberry-Pi-5-Support

@bakerlogan
Copy link

Now that there is a branch of rpi_ws281x for Pi 5 will there be and update to this plugin to support the Pi5?

@cp2004
Copy link
Owner

cp2004 commented Dec 14, 2024

I have had a look through the wiki page, and the updated version of the library requires building a kernel module, and running with sudo/root access.

This plugin currently uses the SPI mode, which requires little setup & doesn't require root access, but this hasn't been implemented for the Pi 5 that I can see. So currently it would not be usable within OctoPrint, which doesn't run as root (nor should it ever, since it's a web server).

I will wait and see if there are any more developments made, but due to the new RP1 chip used for GPIO, it might be difficult to implement the SPI control we want.

@bakerlogan
Copy link

Oh that is unfortunate, I really like this plugin, thanks for the response though!

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

4 participants