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

Hardware revision is not supported on rpi5 - ws281x - Libreelec #1663

Closed
1 task done
FrAcTi0N opened this issue Dec 1, 2023 · 1 comment
Closed
1 task done

Hardware revision is not supported on rpi5 - ws281x - Libreelec #1663

FrAcTi0N opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
No-Hyperion Issue This Issue is NOT related to hyperion itself

Comments

@FrAcTi0N
Copy link

FrAcTi0N commented Dec 1, 2023

  • I confirm that this is an issue rather than a question.

Bug report

Unable to get hyperion working on Libreelec, raspberry pi 5, ws281x

Steps to reproduce

Install, setup ws281x led and run

What is expected?

leds are working

What is actually happening?

leds are not working - log says Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'

< ----- Current Log --------------------------- >
2023-12-01T08:46:26.224Z [DAEMON] (INFO) CEC handler created
2023-12-01T08:46:26.227Z [EFFECTFILES] (INFO) 40 effects loaded from directory :/effects/
2023-12-01T08:46:26.228Z [EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/
2023-12-01T08:46:26.228Z [EFFECTFILES] (INFO) 0 effects loaded from directory /storage/.hyperion/custom-effects/
2023-12-01T08:46:26.232Z [SETTINGSMGR|First LED Hardware instance] (INFO) Instance [0]: Migrate from version [2.0.0-alpha.9] to version [2.0.12] or later
2023-12-01T08:46:26.232Z [SETTINGSMGR|First LED Hardware instance] (INFO) Instance [0]: Migrate from version [2.0.0-alpha.9] to version [2.0.13] or later
2023-12-01T08:46:26.243Z [SETTINGSMGR|First LED Hardware instance] (DEBUG) (SettingsManager.cpp:186:SettingsManager()) Settings database initialized
2023-12-01T08:46:26.245Z [BLACKBORDER|First LED Hardware instance] (DEBUG) (BlackBorderProcessor.cpp:75:handleSettingsUpdate()) Set mode to: default
2023-12-01T08:46:26.245Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:setNewComponentState()) Blackborder detector: enabled
2023-12-01T08:46:26.245Z [IMAGETOLED|First LED Hardware instance] (DEBUG) (ImageProcessor.cpp:174:setReducedPixelSetFactorFactor()) Set reduced pixel set factor to 0
2023-12-01T08:46:26.246Z [IMAGETOLED|First LED Hardware instance] (DEBUG) (ImageProcessor.cpp:189:setAccuracyLevel()) Set processing accuracy level to 0
2023-12-01T08:46:26.290Z [DAEMON] (INFO) Framebuffer grabber created
2023-12-01T08:46:26.291Z [DAEMON] (DEBUG) (hyperiond.cpp:717:handleSettingsUpdate()) V4L2 grabber created
2023-12-01T08:46:26.291Z [DAEMON] (DEBUG) (hyperiond.cpp:739:handleSettingsUpdate()) Audio grabber created
2023-12-01T08:46:26.293Z [DAEMON] (DEBUG) (SuspendHandler.cpp:284:SuspendHandlerLinux()) Registered for suspend/resume events [org.freedesktop.login1].
2023-12-01T08:46:26.293Z [DAEMON] (ERROR) Lock/unlock handler- Session bus is not connected
2023-12-01T08:46:26.291Z [FLATBUFSERVER] (INFO) Started on port 19400
2023-12-01T08:46:26.291Z [PROTOSERVER] (INFO) Started on port 19445
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (INFO) Start LedDevice 'ws281x'.
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:215:init()) deviceConfig: [{"autoStart":true,"colorOrder":"grb","currentLedCount":235,"dma":10,"enableAttempts":12,"enableAttemptsInterval":15,"gpio":18,"hardwareLedCount":235,"invert":false,"latchTime":0,"leds":235,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
2023-12-01T08:46:26.300Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:setNewComponentState()) Smoothing: enabled
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:565:setLedCount()) LedCount set to 235
2023-12-01T08:46:26.300Z [SMOOTHING|First LED Hardware instance] (DEBUG) (LinearColorSmoothing.cpp:142:handleSettingsUpdate()) [0] - Type: Linear, Pause: false, Settling time: 200ms, Interval: 40ms (25Hz), delay: 0 frames
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:571:setColorOrder()) ColorOrder set to GRB
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:578:setLatchTime()) LatchTime set to 0ms
2023-12-01T08:46:26.300Z [SMOOTHING|First LED Hardware instance] (DEBUG) (LinearColorSmoothing.cpp:700:selectConfig()) [0] - Type: Linear, Pause: false, Settling time: 200ms, Interval: 40ms (25Hz), delay: 0 frames
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:602:setRewriteTime()) Refresh interval = 1000ms
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:247:startRefreshTimer()) Device is not ready to start a refresh timer
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:584:setAutoStart()) AutoStart enabled
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:621:setEnableAttempts()) Max enable retries: 12, enable retry interval = 15s
2023-12-01T08:46:26.300Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDeviceWS281x.cpp:65:init()) ws281x strip type : 1050624
2023-12-01T08:46:26.301Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:90:start()) Not enabled -> enable device
2023-12-01T08:46:26.301Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:140:enable()) Enable device ws281x'
2023-12-01T08:46:26.301Z [EFFECTENGINE|First LED Hardware instance] (DEBUG) (EffectEngine.cpp:128:handleUpdatedEffectList()) Effect "Candle": Add custom smoothing settings [3]. Type: Linear, Settling time: 500ms, Interval: 20Hz
2023-12-01T08:46:26.301Z [LEDDEVICE|First LED Hardware instance] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2023-12-01T08:46:26.301Z [EFFECTENGINE|First LED Hardware instance] (DEBUG) (EffectEngine.cpp:128:handleUpdatedEffectList()) Effect "Rainbow swirl": Add custom smoothing settings [4]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2023-12-01T08:46:26.301Z [EFFECTENGINE|First LED Hardware instance] (DEBUG) (EffectEngine.cpp:128:handleUpdatedEffectList()) Effect "Random": Add custom smoothing settings [5]. Type: Linear, Settling time: 200ms, Interval: 20Hz
2023-12-01T08:46:26.301Z [EFFECTENGINE|First LED Hardware instance] (DEBUG) (EffectEngine.cpp:128:handleUpdatedEffectList()) Effect "Sea waves": Add custom smoothing settings [6]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2023-12-01T08:46:26.301Z [EFFECTENGINE|First LED Hardware instance] (DEBUG) (EffectEngine.cpp:128:handleUpdatedEffectList()) Effect "Warm mood blobs": Add custom smoothing settings [7]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2023-12-01T08:46:26.301Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:181:enable()) Device's enablement failed - Start retry timer. Retried already done [0], isEnabled: [0]
2023-12-01T08:46:26.301Z [LEDDEVICE|First LED Hardware instance] (INFO) Start 1. attempt of 12 to enable the device in 15 seconds
2023-12-01T08:46:26.301Z [MUXER|First LED Hardware instance] (DEBUG) (PriorityMuxer.cpp:178:registerInput()) Register new input 'System/GRABBER' () with priority 250 as inactive
2023-12-01T08:46:26.301Z [COMPONENTREG|First LED Hardware instance] (DEBUG) (ComponentRegister.cpp:89:setNewComponentState()) Framegrabber: enabled
2023-12-01T08:46:26.301Z [BOBLIGHT|First LED Hardware instance] (DEBUG) (BoblightServer.cpp:31:BoblightServer()) Instance created
2023-12-01T08:46:26.302Z [HYPERION-INSTMGR] (INFO) Hyperion instance 'First LED Hardware instance' has been started
2023-12-01T08:46:26.302Z [JSONSERVER] (DEBUG) (JsonServer.cpp:32:JsonServer()) Created instance
2023-12-01T08:46:26.302Z [WEBSERVER] (DEBUG) (WebServer.cpp:37:initServer()) Initialize http-Webserver
2023-12-01T08:46:26.302Z [JSONSERVER] (INFO) Started on port 19444
2023-12-01T08:46:26.302Z [WEBSERVER] (DEBUG) (WebServer.cpp:37:initServer()) Initialize https-Webserver
2023-12-01T08:46:26.309Z [WEBSERVER] (DEBUG) (WebServer.cpp:92:handleSettingsUpdate()) Apply Webserver settings
2023-12-01T08:46:26.309Z [WEBSERVER] (DEBUG) (WebServer.cpp:92:handleSettingsUpdate()) Apply Webserver settings
2023-12-01T08:46:26.309Z [WEBSERVER] (DEBUG) (WebServer.cpp:110:handleSettingsUpdate()) Set document root to: :/webconfig
2023-12-01T08:46:26.309Z [WEBSERVER] (DEBUG) (WebServer.cpp:110:handleSettingsUpdate()) Set document root to: :/webconfig
2023-12-01T08:46:26.310Z [WEBSERVER] (INFO) 'Hyperion http-Webserver' started on port 8090
2023-12-01T08:46:26.340Z [WEBSERVER] (DEBUG) (WebServer.cpp:176:handleSettingsUpdate()) Setup SSL certificate
2023-12-01T08:46:26.340Z [WEBSERVER] (DEBUG) (WebServer.cpp:194:handleSettingsUpdate()) Setup private SSL key
2023-12-01T08:46:26.340Z [WEBSERVER] (INFO) 'Hyperion https-Webserver' started on port 8092
2023-12-01T08:46:30.405Z [WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.171
2023-12-01T08:46:30.543Z [WEBSOCKET] (DEBUG) (JsonAPI.cpp:149:handleInstanceSwitch()) Client '::ffff:192.168.0.171' switch to Hyperion instance 0
2023-12-01T08:46:41.314Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:140:enable()) Enable device ws281x'
2023-12-01T08:46:41.314Z [LEDDEVICE|First LED Hardware instance] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: Hardware revision is not supported'
2023-12-01T08:46:41.314Z [LEDDEVICE|First LED Hardware instance] (DEBUG) (LedDevice.cpp:181:enable()) Device's enablement failed - Start retry timer. Retried already done [1], isEnabled: [0]

System

`Hyperion Server:

  • Build: (HEAD detached at 2.0.15) (GitHub-70e1043/24a00e3-1676809483)
  • Build time: Feb 19 2023 15:13:33
  • Git Remote: https://github.com/hyperion-project/hyperion.ng
  • Version: 2.0.15
  • UI Lang: en (BrowserLang: en-GB)
  • UI Access: default
  • Avail Screen Cap.: dispmanx,framebuffer,qt
  • Avail Video Cap.: v4l2
  • Avail Audio Cap.: audio
  • Avail Services: boblight,cec,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
  • Config path: /storage/.hyperion
  • Database: read/write

Hyperion Server OS:

  • Distribution: LibreELEC (community): nightly-20231127-d791293
  • Architecture: arm64
  • CPU Type: Raspberry Pi 5 Model B Rev 1.0
  • CPU Revision: c04170
  • Kernel: linux (6.1.62 (WS: 32))
  • Root/Admin: true
  • Qt Version: 5.7.1
  • Python Version: 3.5.3
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1.2 Safari/605.1.15`
@Paulchen-Panther
Copy link
Member

@Lord-Grey Lord-Grey added No-Hyperion Issue This Issue is NOT related to hyperion itself and removed In Review labels Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-Hyperion Issue This Issue is NOT related to hyperion itself
Projects
None yet
Development

No branches or pull requests

3 participants