raspberry pi 400 and hyperion (led not recognised?)

  • Hi,


    i'am using the last hyperbian on my raspberry pi 0 with ws281x controller, and all work perfectly.


    I've tried to do exactly the same config with my raspberry pi 400 (replace the raspberry 0 by the raspberry 400), and it doesn't work...


    as i anderstand (log debug just below), led is not recognized (software issue?).

    have you an idea?


    Hyperion System Summary Report (My Hyperion Config), Reported instance: unknown


    < ----- System information -------------------- >

    Hyperion Server:

    - Build: (HEAD detached at 2.0.0-alpha.11) (GitHub-f42d5a7/2c79656-1633468939)

    - Build time: Oct 5 2021 21:26:30

    - Git Remote: https://github.com/hyperion-project/hyperion.ng

    - Version: 2.0.0-alpha.11

    - UI Lang: fr (BrowserLang: fr)

    - UI Access: default

    - Avail Capt: dispmanx,v4l2,framebuffer,qt

    - Config path: /root/.hyperion

    - Database: read/write


    Hyperion Server OS:

    - Distribution: Raspbian GNU/Linux 10 (buster)

    - Architecture: arm

    - CPU Model: ARMv7 Processor rev 3 (v7l)

    - CPU Type: Raspberry Pi 400 Rev 1.1

    - CPU Revision: c03131

    - CPU Hardware: BCM2711

    - Kernel: linux (5.10.63-v7l+ (WS: 32))

    - Root/Admin: true

    - Qt Version: 5.11.3

    - Python Version: 3.7.3

    - Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0


    < ----- Configured Instances ------------------ >

    0: First LED Hardware instance Running: true


    < ----- This instance's priorities ------------ >

    priorities_autoselect: true


    < ----- This instance components' status ------->

    ALL - true

    SMOOTHING - true

    BLACKBORDER - true

    FORWARDER - false

    BOBLIGHTSERVER - false

    GRABBER - false

    V4L - false

    LEDDEVICE - false

    < ----- Current Log --------------------------- >

    2021-11-21T10:20:30.247Z [hyperiond DAEMON] (INFO) CEC handler created

    2021-11-21T10:20:30.260Z [hyperiond EFFECTFILES] (INFO) 40 effects loaded from directory :/effects/

    2021-11-21T10:20:30.264Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/

    2021-11-21T10:20:30.269Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /root/.hyperion/custom-effects/

    2021-11-21T10:20:30.302Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:171:SettingsManager()) Settings database initialized

    2021-11-21T10:20:30.309Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default

    2021-11-21T10:20:30.310Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Blackborder detector: enabled

    2021-11-21T10:20:30.372Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'

    2021-11-21T10:20:30.378Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created

    2021-11-21T10:20:30.379Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:608:handleSettingsUpdate()) V4L2 grabber created

    2021-11-21T10:20:30.383Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance

    2021-11-21T10:20:30.390Z [hyperiond JSONSERVER] (INFO) Started on port 19444

    2021-11-21T10:20:30.323Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:41:setNewComponentState()) Smoothing: enabled

    2021-11-21T10:20:30.324Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.

    2021-11-21T10:20:30.324Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":181,"dma":10,"gpio":18,"hardwareLedCount":181,"invert":false,"latchTime":0,"leds":181,"pwmchannel":0,"rewriteTime":1000,"rgbw":true,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]

    2021-11-21T10:20:30.324Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:413:setLatchTime()) LatchTime updated to 0ms

    2021-11-21T10:20:30.324Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:438:setRewriteTime()) Refresh interval = 1000ms

    2021-11-21T10:20:30.324Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:444:setRewriteTime()) RewriteTime updated to 1000ms

    2021-11-21T10:20:30.324Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:65:init()) ws281x strip type : 403181568

    2021-11-21T10:20:30.324Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:687:selectConfig()) cfg [0]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    2021-11-21T10:20:30.328Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'

    2021-11-21T10:20:30.384Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:687:selectConfig()) Previous line repeats 1 times

    2021-11-21T10:20:30.384Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401

    2021-11-21T10:20:30.391Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 1

    2021-11-21T10:20:30.397Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400

    2021-11-21T10:20:30.397Z [hyperiond PROTOSERVER] (INFO) Started on port 19445

    2021-11-21T10:20:30.399Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver

    2021-11-21T10:20:30.401Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver

    2021-11-21T10:20:30.433Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings

    2021-11-21T10:20:30.433Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings

    2021-11-21T10:20:30.433Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig

    2021-11-21T10:20:30.433Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig

    2021-11-21T10:20:30.434Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'

    2021-11-21T10:20:30.453Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:181:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2]

    2021-11-21T10:20:30.453Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/EFFECT' with priority 1 as inactive

    2021-11-21T10:20:30.453Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started

    2021-11-21T10:20:30.454Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created

    2021-11-21T10:20:30.455Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started

    2021-11-21T10:20:30.518Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 1 is now active

    2021-11-21T10:20:30.518Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 1

    2021-11-21T10:20:30.519Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:566:handleSourceAvailability()) priority[1], previousPriority[255]

    2021-11-21T10:20:30.519Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:577:handleSourceAvailability()) new source available -> Resume output processing and switch LED-Device on

    2021-11-21T10:20:30.859Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate

    2021-11-21T10:20:30.860Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key

    2021-11-21T10:20:30.860Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'

    2021-11-21T10:20:33.494Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:337:setCurrentTime()) Timeout clear for priority 1

    2021-11-21T10:20:33.495Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255

    2021-11-21T10:20:33.495Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:566:handleSourceAvailability()) priority[255], previousPriority[1]

    2021-11-21T10:20:33.496Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handleSourceAvailability()) No source left -> Pause output processing and switch LED-Device off

    2021-11-21T10:20:33.504Z [hyperiond EFFECTENGINE] (INFO) effect finished

    2021-11-21T10:20:39.214Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.24

    2021-11-21T10:20:39.286Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:120:handleInstanceSwitch()) Client '::ffff:192.168.0.24' switch to Hyperion instance 0

    2021-11-21T10:23:37.248Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.24

    • Offizieller Beitrag

    led is not recognized (software issue?).

    "Hardware revision is not supported"


    Alpha11 does not include the ws281x library which supports an ri 400.

    You need Hyperion 2.0.12, which we will hopefully release today.

  • Hi,


    thanks for your answer.

    all i have to do is to "apt update && apt upgrade" tonight.


    just a dumb question : why the ws281x library work's on the raspberry pi 0 and not on the raspberry pi 400 ? hardware difference?

    • Offizieller Beitrag

    just a dumb question : why the ws281x library work's on the raspberry pi 0 and not on the raspberry pi 400 ?

    Because the library checks, if the hardware used is supported.


    If you would like to further drill-down into details, suggest you check with the library providers (which is not the Hyperion team):

    https://github.com/jgarff/rpi_ws281x

  • hi,


    i have seen the update, but it's on the bullseye hyperbian version.

    i've upgraded all the sourceslist on bullseye, reboot, .... and nothing on the ssh port, no ip adress......

    i've reload image version from last week : upgraded to bullseye, reboot, and..... nothing too


    ;(


    i have no mini hdmi port, i can't see the problem directly in front on my screen .

    Have you any idea ?

  • hi


    thanks for your response. The probleme is more complicated because the raspberry doesn't have ani ip adress anymore.

    but Ok, i've reinstalled the last hyperbian version, pass the hyperionuser as root ( sudo updateHyperionUser -u root)

    set up, and...... it doesn't work


    as i red, i anderstand the WS281x is not supported ;( (the debug version just below)

    2021-11-23T12:02:48.824Z [ LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'


    am i right ?

    What could i do ?

  • if Raspi is not receiving IPadres then problem can be into your DHCP range/hostname



    Look into your router to see if DHCP adres is being leased onto the Raspi

    If not problem can be double IP adres lease in DHCP server of the router or dhcpd.config file is corrupted

  • Hi,


    thanks for your reponse. I have re installed the last hyperbian (hyperion + debian ).


    i'm stuck now with the problem below

    2021-11-23T12:02:48.824Z [ LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'


    and i have no idea in order to resolve this

    • Offizieller Beitrag

    goraxmax No sure, I can follow...
    Hyperion is using the ws281x C-Library and not a Python one.


    what Hyperion version are you running?

    Go to System->About

  • hi,


    thanks for you reponse


    my hyperion version is 2.0.12 (last update)


    i've tried some things red on "https://github.com/jgarff/rpi_ws281x" :


    i've download https://github.com/jgarff/rpi_ws281x


    i ve install scon, git, cmake (don't ask what it is, i don t know)

    i've made "scons" commande line => result seem's ok

    I've made "cmake --build" commande line => result seem's ok

    i've made "cmake -D BUILD_SHARED=OFF -D BUILD_TEST=ON" command line => result seem's ok

    i've made "sudo make install" command line => result seem's ok


    "

    Install the project...

    -- Install configuration: ""

    -- Installing: /usr/local/lib/libws2811.a

    -- Installing: /usr/local/include/ws2811/ws2811.h

    -- Installing: /usr/local/include/ws2811/rpihw.h

    -- Installing: /usr/local/include/ws2811/pwm.h

    -- Installing: /usr/local/include/ws2811/clk.h

    -- Installing: /usr/local/include/ws2811/dma.h

    -- Installing: /usr/local/include/ws2811/gpio.h

    -- Installing: /usr/local/include/ws2811/mailbox.h

    -- Installing: /usr/local/include/ws2811/pcm.h

    -- Installing: /usr/local/lib/pkgconfig/libws2811.pc

    "


    i've made "sudo ./test" command line => result seem's not ok


    "

    ws2811_init failed: Hardware revision is not supported

    "


    i'm stuck here.

    I' don't know how to fix this and how to integrate the result on hyperion.

    • Offizieller Beitrag

    Would you mind pasting the details of the about screen? I would like to seen what hardware revision is shown to check, if that is currently covered by the ws281x library linked into Hyperion.

  • be my guest !



    • Offizieller Beitrag

    Deine Hardware Revision scheint noch nicht im rpi_ws281x Master angekommen zu sein.
    Current: https://github.com/jgarff/rpi_ws281x/blob/master/rpihw.c#L59


    Du könntest hier ein Issue erstellen und hoffen das dieser so schnell wie möglich abgearbeitet wird.

    Oder selber ein PR erstellen.

  • Thanks you for your analyse and your answer :thumbup:


    i anderstand i can't do anything more. :(


    do you know how long does it take to integrate the PR into the master code?


    thanksfull

  • hi,


    i anderstand correctly, the update of ws281x is pending in git library.


    i've tried something (i am not developper) :

    - i've download the git

    - i've modified the rpih.c file like you did

    - i've made cmake like described on the github project:

    "cmake -D BUILD_SHARED=OFF -D BUILD_TEST=ON ..

    -- Configuring done

    -- Generating done

    -- Build files have been written to: /home/pi/rpi_ws281x"


    - i've made sudo make install :

    "

    [ 77%] Built target ws2811

    [100%] Built target test

    Install the project...

    -- Install configuration: ""

    -- Installing: /usr/local/lib/libws2811.a

    -- Up-to-date: /usr/local/include/ws2811/ws2811.h

    -- Up-to-date: /usr/local/include/ws2811/rpihw.h

    -- Up-to-date: /usr/local/include/ws2811/pwm.h

    -- Up-to-date: /usr/local/include/ws2811/clk.h

    -- Up-to-date: /usr/local/include/ws2811/dma.h

    -- Up-to-date: /usr/local/include/ws2811/gpio.h

    -- Up-to-date: /usr/local/include/ws2811/mailbox.h

    -- Up-to-date: /usr/local/include/ws2811/pcm.h

    -- Up-to-date: /usr/local/lib/pkgconfig/libws2811.pc

    "

    => i've noticed i've installed a new librarie : libws2811.a


    -i've made "sudo ./test" command line => result seem's no error. i supose it's ok :)


    i've rebooted the raspberry but i've got the same error on the hyperion log.

    Code
     LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'


    i suppose as i don't anderstand 100% that i am doing, i've made a mistake(s).

    any idea ?


    i ve found a solution:


    i've download the entire github repository

    i've modify the rpih.c file

    and compiled all


    after installation, it's works on my raspberry pi 400 :)


    could i have problem with the next hyperion release in the future?

    Einmal editiert, zuletzt von goraxmax () aus folgendem Grund: Merged a post created by goraxmax into this post.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!