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 3 A+ not supported? #342

Closed
LongLane opened this issue Dec 23, 2018 · 3 comments
Closed

Raspberry Pi 3 A+ not supported? #342

LongLane opened this issue Dec 23, 2018 · 3 comments

Comments

@LongLane
Copy link

I am getting:

File "build/bdist.linux-armv7l/egg/neopixel.py", line 106, in begin
RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)

It runs fine on a Zero or Pi2

I checked on the Raspberry Pi documentation regarding HW codes. In the past, they used sequential codes, whereas it has changed a while ago. The code for the 3A+ is 9020e0 (3B+ a020d3).

Looking at the code in ws2811.c, hwver >= 0x010 should be working, but it returns an error.

I suspect, that the hardware check needs to be brought in line with the new versioning system.

Thanks

@penfold42
Copy link
Contributor

It needs to be added to https://github.com/jgarff/rpi_ws281x/blob/master/rpihw.c

@LongLane
Copy link
Author

Thanks. I changed rpihw.c accordingly and created a pull request.

@88weighed
Copy link

Fixed in this commit:
0d99943

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