Code Monkey home page Code Monkey logo

Comments (10)

tom-2015 avatar tom-2015 commented on July 20, 2024 1

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

from rpi-ws2812-server.

tom-2015 avatar tom-2015 commented on July 20, 2024

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

from rpi-ws2812-server.

tom-2015 avatar tom-2015 commented on July 20, 2024

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

from rpi-ws2812-server.

raquintanilla avatar raquintanilla commented on July 20, 2024

I tried it with no success, same error

from rpi-ws2812-server.

tom-2015 avatar tom-2015 commented on July 20, 2024

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

from rpi-ws2812-server.

raquintanilla avatar raquintanilla commented on July 20, 2024

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

from rpi-ws2812-server.

frid1993 avatar frid1993 commented on July 20, 2024

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

from rpi-ws2812-server.

frid1993 avatar frid1993 commented on July 20, 2024

Thank Tom. Seems to be working now!

from rpi-ws2812-server.

Spangen avatar Spangen commented on July 20, 2024

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

from rpi-ws2812-server.

tom-2015 avatar tom-2015 commented on July 20, 2024

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

from rpi-ws2812-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.