pimoroni / unicorn-hat

Python library for Unicorn pHAT and HAT. 32 or 64 blinding ws2812 pixels for your Raspberry Pi
https://shop.pimoroni.com/products/unicorn-hat
MIT License
370 stars 131 forks source link

Raspberry Pi Compute Module 4 Lite RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported) #147

Open lesp opened 3 years ago

lesp commented 3 years ago

Hello I'm testing out a new carrier board for the Raspberry Pi Compute Module 4 with a Compute Module 4 Lite. Running the example script "simple.py" I get this message.

RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)

FYI gpio readall doesn't like the board either. GPIO Zero and RPi.GPIO both work fine.

What do you need from me? :D

Gadgetoid commented 3 years ago

I'm guessing CM4 has a whole lot of revision IDs, so we'll be seeing this for a while.

cat /proc/cpuinfo | grep Revision iirc!

This is an upstream issue though- so probably better posting your results/board info upstream if you can, that way people using rpi_ws281x directly will find it: https://github.com/jgarff/rpi_ws281x/issues