I'm trying to get this set up for the first time. Bought a bunch of bits and pieces and followed the Dr ZZ's video as close as possible, but using HyperBian on a Pi3.
I have a 5m strip of 30 led/m WS2812B LEDs, running off GPIO18 powered by a 5V 10A supply. Using an NVI Tech 4K capture device.
I beleive I have the software setup properly, but I cannot get the LEDs to work. I have LED 1 and 2 white, and LED 3 green. That's it, no change ever. I can't run effects, no boot up effect, no idle effect.
When I first turned on the debug logging earlier, I saw this error a number of times.
2021-10-01T02:09:27.854Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'ws281x' signals error: 'Failed to open. Error message: mmap() failed'
But now I see this in the log, which gives me some hope that maybe the LEDDEVICE might possibly be somewhat working...
2021-10-01T02:09:27.848Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.
2021-10-01T02:09:27.848Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":134,"dma":5,"gpio":18,"hardwareLedCount":134,"invert":true,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
2021-10-01T02:09:27.848Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
2021-10-01T02:09:27.848Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:413:setLatchTime()) LatchTime updated to 0ms
2021-10-01T02:09:27.848Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:438:setRewriteTime()) Refresh interval = 1000ms
2021-10-01T02:09:27.848Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701: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-10-01T02:09:27.850Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:444:setRewriteTime()) RewriteTime updated to 1000ms
2021-10-01T02:09:27.850Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624
The next line in the log file is the error I posted above.
I'm guessing that if I can get the LEDs talking, that the idle effect should run when there is no capture image. I just have to try and figure out what settings are required with HyperBian. Dr ZZs and some other threads talk about running the daemon as root rather than pi, but I can't seem to make that work with HyperBian.
I also run into a issue where my capture card only works some times. I thought I had the wrong kind of capture card because the live view only showed static, but after letting the setup sit for a while, I came back to it, and I have an image showing. After a restart the static (snow) came back, but there is some sequence of events that can cause the image to show up again.
In live view, do the LEDs change colour to match the live view image, or are they static with the rainbow hue all the time, just for reference?
Anyone have any solutions to my issues?