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

ws2811_init failed with code -3 (Hardware revision is not supported) #33

Open
raquintanilla opened this issue Dec 12, 2019 · 10 comments
Open

Comments

@raquintanilla
Copy link

Any suggestion on a RPI 4

@tom-2015
Copy link
Owner

Strange it is supposed to work... Or did they make a new revision?

@tom-2015
Copy link
Owner

Ok found there is a V1.2 revision of Rpi 4, can you pull the changes and try recompile?

@raquintanilla
Copy link
Author

I tried it with no success, same error

@tom-2015
Copy link
Owner

Did you download and recompile the changes in rpihw.c ?
Can you check your Raspberry HW revision with command:
cat /proc/cpuinfo

@raquintanilla
Copy link
Author

It looks like there are no V1.2 (Fake news)

@frid1993
Copy link

frid1993 commented Dec 11, 2020

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

Can anyone advise on how to modify rpihw.c to work with the RPi below.

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 108.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2711
Revision : c03114
Serial : 10000000458935bf
Model : Raspberry Pi 4 Model B Rev 1.4

@tom-2015
Copy link
Owner

I've added the revisoon to the rpihw.c, can you try and see if it works.
Strange the revision number is not in the official documentation.
https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md

@frid1993
Copy link

Thank Tom. Seems to be working now!

@Spangen
Copy link

Spangen commented Feb 23, 2022

Seems to be several revisions of compute module 4.
I have this one that gives .hwver = 0xc03140,

[Raspberry Pi Compute Module 4]
Wireless: yes
Ram: 4 GB
eMMC storage: 32 GB


pi@Pi-Noddy:~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 126.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 1
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 126.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 2
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 126.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

processor : 3
model name : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 126.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3

Hardware : BCM2711
Revision : c03140
Serial : 10000000f7d987f1
Model : Raspberry Pi Compute Module 4 Rev 1.0

@tom-2015
Copy link
Owner

Ok I'll have to add this to the rpihw.c file

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