-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Comments
Hi @Lord-Grey can you please take a look at the updates here? |
Also I was able to use this package to make ws281x led strip work so now having rgb values it can be again used in your project to support rpi5 |
Hi @iam12pm The rpi5 support is still in a development branch of the rpi_ws28x library. Therefore, I am hesitant to just make it the default for hyperion as it might break existing setups. You might build a hyperion yourself with that branch until it generally available. Unfortunately, that has one prerequisite… We require the the following PR will be merged upstream otherwise we cannot build the latest changes. This is outstanding for a long time. |
hi @Lord-Grey, it seems there is an update for Raspberry Pi and now it has official PIO driver for WS2812 LEDs - raspberrypi/linux@d6d83ad and https://www.raspberrypi.com/news/piolib-a-userspace-library-for-pio-control/ |
@FrAcTi0N Thanks for sharing! |
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:
Hyperion Server OS:
The text was updated successfully, but these errors were encountered: