1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + Other Software Hyperbian + Hyperion ng + ezcap 269

Discussion in 'Software Support' started by Tyler983, 8 September 2020.

  1. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Guys i'm an old lightberry user and have a problem with a new config.
    Yesterday I updated my old lightberry config with an ezcap 269 and a rpi4. After hyperbian installation I setted the ezcap 269 via the hyperion ng web gui. The image I have on the TV is returned from the web gui, so the grabber is recognized, but the LEDs are off.
    I used as config under usb grabber an apa102 (like my leds) and flagged lightberry option, entered the quantity of leds per side and bgr. Nothing happen except when i turn on the rpi it show the 3 colors but not the swirl...
    Surely I have not configured everything well, can someone help me?
    P.S. i'm completely noob with linux and rpi so please be patient :)
    This is what I have in debugger mode....

    GNU gdb (Raspbian 8.2.1-2) 8.2.1

    Copyright (C) 2018 Free Software Foundation, Inc.

    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

    This is free software: you are free to change and redistribute it.

    There is NO WARRANTY, to the extent permitted by law.

    Type "show copying" and "show warranty" for details.

    This GDB was configured as "arm-linux-gnueabihf".

    Type "show configuration" for configuration details.

    For bug reporting instructions, please see:

    <http://www.gnu.org/software/gdb/bugs/>.

    Find the GDB manual and other documentation resources online at:

    <http://www.gnu.org/software/gdb/documentation/>.


    For help, type "help".

    Type "apropos word" to search for commands related to "word"...

    Reading symbols from hyperiond...(no debugging symbols found)...done.

    (gdb) run -d

    Starting program: /usr/local/bin/hyperiond -d

    [Thread debugging using libthread_db enabled]

    Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

    2020-09-08T21:38:39.181 hyperiond MAIN : <INFO> Set user data path to '/home/pi/.hyperion'

    [New Thread 0xb27cf3c0 (LWP 12313)]

    2020-09-08T21:38:39.246 hyperiond DAEMON : <DEBUG> PythonInit.cpp:44:pythonInit() | Initializing Python interpreter

    2020-09-08T21:38:39.286 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized

    [New Thread 0xb1f0e3c0 (LWP 12314)]

    2020-09-08T21:38:39.287 hyperiond DAEMON : <INFO> CEC handler created

    2020-09-08T21:38:39.294 hyperiond EFFECTFILES : <INFO> 39 effects loaded from directory :/effects/

    2020-09-08T21:38:39.297 hyperiond EFFECTFILES : <INFO> 22 effect schemas loaded from directory :/effects/schema/

    2020-09-08T21:38:39.297 hyperiond EFFECTFILES : <INFO> 0 effects loaded from directory /home/pi/.hyperion/custom-effects

    2020-09-08T21:38:39.315 hyperiond SETTINGSMGR : <DEBUG> SettingsManager.cpp:107:SettingsManager() | Settings database initialized

    2020-09-08T21:38:39.317 hyperiond BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:64:handleSettingsUpdate() | Set mode to: default

    2020-09-08T21:38:39.317 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Blackborder detector: enabled

    [New Thread 0xb15ff3c0 (LWP 12315)]

    2020-09-08T21:38:39.329 hyperiond DAEMON : <INFO> set screen capture device to 'dispmanx'

    2020-09-08T21:38:39.329 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:30:setVideoMode() | Set videomode to 0

    [New Thread 0xb0bff3c0 (LWP 12316)]

    [New Thread 0xb01ff3c0 (LWP 12317)]

    [New Thread 0xaf9fe3c0 (LWP 12318)]

    [New Thread 0xaf1fd3c0 (LWP 12319)]

    2020-09-08T21:38:39.332 hyperiond DISPMANXGRAB : <INFO> Display opened with resolution: 4x1053348084

    2020-09-08T21:38:39.332 hyperiond DISPMANXGRAB : <DEBUG> Grabber.cpp:90:setWidthHeight() | Set new width: 80, height: 45 for capture

    2020-09-08T21:38:39.332 hyperiond DAEMON : <INFO> DISPMANX frame grabber created

    2020-09-08T21:38:39.332 hyperiond V4L2:AUTO : <DEBUG> Grabber.cpp:30:setVideoMode() | Set videomode to 0

    [New Thread 0xae9fc3c0 (LWP 12320)]

    2020-09-08T21:38:39.340 hyperiond LEDDEVICE : <INFO> Start LedDevice 'adalight'.

    2020-09-08T21:38:39.341 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | Smoothing: enabled

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:133:init() | deviceConfig: [{"colorOrder":"rgb","currentLedCount":84,"delayAfterConnect":1500,"hardwareLedCount":1,"latchTime":30,"lightberry_apa102_mode":true,"output":"/dev/ttyUSB0","rate":1000000,"rewriteTime":1000,"type":"adalight"}]

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> LedDevice.cpp:153:init() | Refresh interval = 1000ms

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:36:init() | DeviceType : adalight

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:37:init() | LedCount : 84

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:38:init() | ColorOrder : rgb

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:39:init() | RefreshTime : 1000

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:40:init() | LatchTime : 30

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:52:init() | deviceName : ttyUSB0

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:53:init() | AutoDevice : 0

    2020-09-08T21:38:39.341 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:54:init() | baudRate_Hz : 1000000

    2020-09-08T21:38:39.342 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:55:init() | delayAfCon ms: 1500

    2020-09-08T21:38:39.342 hyperiond LEDDEVICE : <DEBUG> LedDeviceAdalight.cpp:42:init() | Adalight driver with activated LightBerry APA102 mode

    2020-09-08T21:38:39.342 hyperiond LEDDEVICE : <DEBUG> LedDeviceAdalight.cpp:58:init() | Adalight header for 84 leds: Ada 0x00 0x54 0x01

    2020-09-08T21:38:39.342 hyperiond LEDDEVICE : <INFO> Opening UART: ttyUSB0

    2020-09-08T21:38:39.342 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:141:tryOpen() | _rs232Port.open(QIODevice::ReadWrite): ttyUSB0, Baud rate [1000000]bps

    2020-09-08T21:38:39.342 hyperiond FLATBUFCONN : <INFO> Connecting to Hyperion: 127.0.0.1:19401

    2020-09-08T21:38:39.343 hyperiond EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 0

    2020-09-08T21:38:39.344 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:183:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]

    2020-09-08T21:38:39.344 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 0 as inactive

    [New Thread 0xadfff3c0 (LWP 12321)]

    2020-09-08T21:38:39.345 hyperiond HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started

    2020-09-08T21:38:39.346 hyperiond EFFECTENGINE : <INFO> Run effect "Warm mood blobs" on channel 254

    2020-09-08T21:38:39.346 hyperiond EFFECTENGINE : <DEBUG> EffectEngine.cpp:183:runEffectScript() | Start the effect: name [Warm mood blobs], smoothCfg [2]

    2020-09-08T21:38:39.346 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/EFFECT' with priority 254 as inactive

    [New Thread 0xad5ff3c0 (LWP 12322)]

    2020-09-08T21:38:39.347 hyperiond HYPERION : <INFO> Inital background effect 'Warm mood blobs' started

    2020-09-08T21:38:39.347 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:158:registerInput() | Register new input 'System/V4L' with priority 240 as inactive

    2020-09-08T21:38:39.348 hyperiond COMPONENTREG : <DEBUG> ComponentRegister.cpp:36:setNewComponentState() | V4L capture device: enabled

    2020-09-08T21:38:39.349 hyperiond BOBLIGHT : <DEBUG> BoblightServer.cpp:28:BoblightServer() | Instance created

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:146:tryOpen() | portName:

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:147:tryOpen() | systemLocation:

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:148:tryOpen() | description:

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:149:tryOpen() | manufacturer:

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:150:tryOpen() | productIdentifier: 0x0

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:151:tryOpen() | vendorIdentifier: 0x0

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <DEBUG> ProviderRs232.cpp:152:tryOpen() | serialNumber:

    2020-09-08T21:38:39.385 hyperiond LEDDEVICE : <ERROR> Device disabled, device 'adalight' signals error: 'Invalid serial device name: [ttyUSB0]!'

    2020-09-08T21:38:39.425 hyperiond V4L2:AUTO : <INFO> Signal threshold set to: {12, 12, 12}

    2020-09-08T21:38:39.425 hyperiond V4L2:AUTO : <INFO> CEC detection is now disabled

    2020-09-08T21:38:39.425 hyperiond V4L2:AUTO : <INFO> Signal detection is now disabled

    2020-09-08T21:38:39.425 hyperiond V4L2:AUTO : <INFO> Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000

    2020-09-08T21:38:39.425 hyperiond DAEMON : <DEBUG> hyperiond.cpp:568:handleSettingsUpdate() | V4L2 grabber created

    2020-09-08T21:38:39.426 hyperiond JSONSERVER : <DEBUG> JsonServer.cpp:27:JsonServer() | Created instance

    2020-09-08T21:38:39.426 hyperiond JSONSERVER : <INFO> Started on port 19444

    [New Thread 0xacbff3c0 (LWP 12323)]

    [New Thread 0xac1ff3c0 (LWP 12324)]

    2020-09-08T21:38:39.428 hyperiond FLATBUFSERVE : <INFO> Started on port 19400

    [New Thread 0xab9fe3c0 (LWP 12325)]

    2020-09-08T21:38:39.429 hyperiond PROTOSERVER : <INFO> Started on port 19445

    2020-09-08T21:38:39.429 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver

    [New Thread 0xab1fd3c0 (LWP 12326)]

    2020-09-08T21:38:39.430 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 0 is now active

    2020-09-08T21:38:39.430 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 0

    2020-09-08T21:38:39.432 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:32:initServer() | Initialize Webserver

    2020-09-08T21:38:39.435 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:198:setInput() | Priority 254 is now active

    [New Thread 0xaa9fc3c0 (LWP 12327)]

    2020-09-08T21:38:39.441 hyperiond V4L2:AUTO : <INFO> available V4L2 devices:

    /dev/video0 ezcap U3 capture: ezcap U3 capt

    /dev/video14 bcm2835-isp-capture0

    /dev/video15 bcm2835-isp-capture1


    2020-09-08T21:38:39.441 hyperiond V4L2:AUTO : <INFO> search for usable video devices

    2020-09-08T21:38:39.443 hyperiond V4L2:AUTO : <INFO> test v4l device: /dev/video0

    2020-09-08T21:38:39.454 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:696:init_device() | Set resolution to width=1920 height=1080

    2020-09-08T21:38:39.464 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:713:init_device() | Set framerate to 30 fps

    2020-09-08T21:38:39.464 hyperiond V4L2:AUTO : <DEBUG> V4L2Grabber.cpp:735:init_device() | Pixel format=YUYV

    2020-09-08T21:38:39.488 hyperiond V4L2:AUTO : <INFO> found usable v4l2 device: /dev/video0 (ezcap U3 capture: ezcap U3 capt)

    2020-09-08T21:38:39.491 hyperiond V4L2:AUTO : <INFO> Started

    2020-09-08T21:38:39.491 hyperiond V4L2:auto : <DEBUG> GrabberWrapper.cpp:48:start() | Grabber start()

    2020-09-08T21:38:39.491 hyperiond HYPERION : <INFO> Hyperion instance 'First LED Hardware instance' has been started

    2020-09-08T21:38:39.492 hyperiond V4L2:AUTO : <ERROR> Frame too small: 0 != 4147200

    [New Thread 0xa900e3c0 (LWP 12328)]

    2020-09-08T21:38:39.728 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings

    2020-09-08T21:38:39.728 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:90:handleSettingsUpdate() | Apply Webserver settings

    2020-09-08T21:38:39.729 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig

    2020-09-08T21:38:39.729 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:108:handleSettingsUpdate() | Set document root to: :/webconfig

    2020-09-08T21:38:39.730 hyperiond WEBSERVER : <INFO> Started on port 8090 name 'Hyperion Webserver'

    2020-09-08T21:38:39.733 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:174:handleSettingsUpdate() | Setup SSL certificate

    2020-09-08T21:38:39.734 hyperiond WEBSERVER : <DEBUG> WebServer.cpp:190:handleSettingsUpdate() | Setup private SSL key

    2020-09-08T21:38:39.734 hyperiond WEBSERVER : <INFO> Started on port 8092 name 'Hyperion Webserver'

    2020-09-08T21:38:39.754 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:238:setInputImage() | Priority 240 is now active

    2020-09-08T21:38:42.514 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:298:setCurrentTime() | Timeout clear for priority 0

    2020-09-08T21:38:42.764 hyperiond HYPERION : <DEBUG> PriorityMuxer.cpp:333:setCurrentTime() | Set visible priority to 240

    2020-09-08T21:39:06.320 hyperiond WEBSOCKET : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:192.168.50.129

    2020-09-08T21:39:06.321 hyperiond WEBSOCKET : <DEBUG> JsonAPI.cpp:81:handleInstanceSwitch() | Client '::ffff:192.168.50.129' switch to Hyperion instance 0

    @Awawa can you please help me to properly set my ezcap 269 on Hyperion nd?
     
    Last edited: 8 September 2020
  2. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Please, none can help me?
     
  3. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    @Lord-Grey fixed a bug in adalight...if you are known with github and linux, you could compile the actual master
     
  4. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Well i'm trying to learn... actually i can install through ssh from my mac. So you think it's a bug not something i haven't configured in the right way?
     
  5. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  6. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Ok i can manage it! I will install a clean version of raspbian lite and i'll install Hyperion ng from your link through ssh. Can you also help me with how to set my grabber (ezcap 269) in the hyperion ng gui?
     
  7. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    just finish the first part, if you have a running web-ui, let me know
     
  8. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Well yesterday night i installed awawa's hdr deb, and i had the web gui. Now i must understand how to make my apa102 function... i Own an ezcap269 and apa102 leds with rpi4.My leds are always off even if in the web gui i can see the preview screen.
    Any suggestions?
     
  9. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    but you use the arduino in between the leds and the raspberry. right?
     
  10. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    No no, just rpi4 and ezcap269. Leds are from a lightberry kit, apa102 with usb plug.
     
  11. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    @TPmodding
    I made a dmesg and i have some errors:

    4.402992] uvcvideo: Failed to query (GET_INFO) UVC control 11 on unit 1: -32 (exp. 1).
    4.525377] usb 1-1.3: 3:1: cannot get freq at ep 0x86
    4.590333] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    4.849994] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
    4.869618] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea

    Can you help me please?
     
  12. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    could you provide me a photo please...
     
  13. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Now i'm at office but, in the evening, when i'll be at home i'll post it. Anyway they are the only strings in red, underlined as errors.
     
    • Like Like x 1
  14. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    @TPmodding This is the image after a fresh raspbian installation
    [​IMG]
     
    Last edited: 11 September 2020
  15. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    i mean from your hardware :)
     
  16. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    These are the components: leds are apa102 usb from an old lightberry kit, rpi4 4gb, ezcap269, and hyperbian fresh installed
    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]
     
  17. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    allright, looks good...
    could you provide me your config please
     
  18. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
    Yesterday I installed hyperbian and didn't touch anything in the hyperion ng web gui. I posted the dmesg as soon as I installed hyperbian.
    In the previous days I tried to configure the number of LEDs and their position as adalight, compatible lightbery. The capture preview works, but the LEDs do not respond.
    How can I configure this to work?
     
  19. Tyler983

    Tyler983 Member

    Messages:
    110
    Hardware:
    RPi3, +PhilipsHue
  20. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,849
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    not really...:)
    i wanted your config file... from hyperion web-ui