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 Zero 2 W - Hardware revision is not supported #503

Closed
codac opened this issue Aug 31, 2022 · 4 comments
Closed

Raspberry Pi Zero 2 W - Hardware revision is not supported #503

codac opened this issue Aug 31, 2022 · 4 comments

Comments

@codac
Copy link

codac commented Aug 31, 2022

Running your library with a Raspberry Pi Zero 2 W results in:
RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported).

Hardware: BCM2835
Revision: 902120
Model: Raspberry Pi Zero 2 W Rev 1.0

Could you please add support for this Pi Revision?

@akumpf
Copy link

akumpf commented Sep 1, 2022

I think this may be related to issue #502.

Essentially, if the warranty bit gets flipped, then the library can't find the board. This shouldn't happen, but the code that checks for the board version isn't masking off the warranty bit. It's just 2 lines of code, and it's already being applied for 32-bit boards, but for 64 bit boards it was somehow left out.

@codac
Copy link
Author

codac commented Sep 1, 2022

Yeah might be, could you please add that bit of code?

@DaddyW123
Copy link

I just tried this library on a Mango Pi MQ-Quad, which is supposed to be an alternative to the Pi Zero 2 and runs at 64 bit.
I got the same error as above. Hopefully it's just a 64 bit error as mentioned, and as soon as the two lines of code are included it will work on this board as well?

@Gadgetoid
Copy link
Collaborator

I just tried this library on a Mango Pi MQ-Quad

This library will never run on anything that isn't an official Raspberry Pi board, it's literally right there in the name.

Revision 0x902120 has been added.

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