Hyperion.NG 2.10 Hyperbian latest build, problems with USB Capturing device

  • hello great developers and community,



    being very happy with Hyperion.NG and helped a lot of members here trough the years.


    now i recently upgraded my build, so flashed Hyperbian image onto a empty SD card and started.

    then without problems everything runs on SPI.

    did all my updates, also firmware updates and sudo apt-get update/ upgrade and everything.


    so far so good, used all my old hardware from my old build.

    USB capturing has a flaw, when rebooted then HYperion boots into starteffect and then empty live feed.

    when i disable USB capturing and then save, and then reenable again then the lights and also live feed re-engages.

    sometimes its visible into the Hyperion menu, no Capturing device is to be selected,

    when i select a diffrent resolution most of time it comes back to life, it seems like the library of Hyperion can't understand the resolution/live feed that's coming in something like that.\


    I've also read that more members than only myself have often problems with the capturing device on Hyperion 2.10 Alpha

    i know this is a problem of Hyperion 2.10 because with the exact same hardware ( Other SD card same type) it runs flawlesly on my old build Hyperion 1.00 Béta on the same Raspi, that build i have done the same updates to it



    i just wanted you guys to know Lord-Grey  Paulchen-Panther because something is fishy here... :huh:8o;);)


  • update: its also in the root of the PI> if booted into Hyperion and then no capturing device to be selected than i go to terminal and with lsusb or dmesg there is no capturing device to see.


    if rebooted a couple of times then i see it again

    Note: i tried another type USB grabber that behaves the same.

  • [ 66.260090] usb 1-1.3: Product: AV TO USB2.0

    [ 66.260099] usb 1-1.3: Manufacturer: MACROSILICON

    [ 66.260110] usb 1-1.3: SerialNumber: 20150130

    [ 66.260904] uvcvideo: Found UVC 1.00 device AV TO USB2.0 (534d:0021)

    [ 66.261138] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enab ling workaround.

    [ 66.267919] hid-generic 0003:534D:0021.003B: hiddev96,hidraw0: USB HID v1.10 Device [MACROSILICON AV TO USB2.0] on usb-3f980000.usb-1.3/input4

    [ 66.827847] usb 1-1.3: USB disconnect, device number 67

    [ 67.128269] usb 1-1.3: new high-speed USB device number 68 using dwc_otg

    [ 67.260056] usb 1-1.3: New USB device found, idVendor=534d, idProduct=0021, b cdDevice= 1.21

    [ 67.260071] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3

    [ 67.260082] usb 1-1.3: Product: AV TO USB2.0

    [ 67.260091] usb 1-1.3: Manufacturer: MACROSILICON

    [ 67.260100] usb 1-1.3: SerialNumber: 20150130

    [ 67.260891] uvcvideo: Found UVC 1.00 device AV TO USB2.0 (534d:0021)

    [ 67.261123] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enab ling workaround.

    [ 67.267747] hid-generic 0003:534D:0021.003C: hiddev96,hidraw0: USB HID v1.10 Device [MACROSILICON AV TO USB2.0] on usb-3f980000.usb-1.3/input4

    [ 68.365850] usb 1-1.3: USB disconnect, device number 68

    [ 68.668300] usb 1-1.3: new high-speed USB device number 69 using dwc_otg

    [ 68.800044] usb 1-1.3: New USB device found, idVendor=534d, idProduct=0021, b cdDevice= 1.21

    [ 68.800063] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3

    [ 68.800073] usb 1-1.3: Product: AV TO USB2.0

    [ 68.800083] usb 1-1.3: Manufacturer: MACROSILICON

    [ 68.800092] usb 1-1.3: SerialNumber: 20150130

    [ 68.800874] uvcvideo: Found UVC 1.00 device AV TO USB2.0 (534d:0021)

    [ 68.801121] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enab ling workaround.

    [ 68.807750] hid-generic 0003:534D:0021.003D: hiddev96,hidraw0: USB HID v1.10 Device [MACROSILICON AV TO USB2.0] on usb-3f980000.usb-1.3/input4

    [ 69.135861] usb 1-1.3: USB disconnect, device number 69

    [ 69.451403] usb 1-1.3: new high-speed USB device number 70 using dwc_otg

    [ 69.580093] usb 1-1.3: New USB device found, idVendor=534d, idProduct=0021, b cdDevice= 1.21

    [ 69.580113] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3

    [ 69.580123] usb 1-1.3: Product: AV TO USB2.0

    [ 69.580132] usb 1-1.3: Manufacturer: MACROSILICON

    [ 69.580141] usb 1-1.3: SerialNumber: 20150130

    [ 69.580917] uvcvideo: Found UVC 1.00 device AV TO USB2.0 (534d:0021)

    [ 69.581121] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enab ling workaround.

    [ 69.587826] hid-generic 0003:534D:0021.003E: hiddev96,hidraw0: USB HID v1.10 Device [MACROSILICON AV TO USB2.0] on usb-3f980000.usb-1.3/input4

    [ 69.905849] usb 1-1.3: USB disconnect, device number 70

  • Hyperion System Summary Report (My Hyperion Config), Reported instance: First LED Hardware instance




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

    0: First LED Hardware instance Running: true


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

    240: (V4L) Owner: undefined

    250: (GRABBER) Owner: undefined

    priorities_autoselect: true


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

    ALL - true

    SMOOTHING - true

    BLACKBORDER - true

    FORWARDER - false

    BOBLIGHTSERVER - false

    GRABBER - true

    V4L - true

    LEDDEVICE - true



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

    2021-09-15T16:57:45.763Z [hyperiond DAEMON] (INFO) CEC handler created

    2021-09-15T16:57:45.792Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/

    2021-09-15T16:57:45.801Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/

    2021-09-15T16:57:45.803Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects/

    2021-09-15T16:57:45.864Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:164:SettingsManager()) Settings database initialized

    2021-09-15T16:57:45.871Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default

    2021-09-15T16:57:45.871Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled

    2021-09-15T16:57:45.896Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'

    2021-09-15T16:57:45.898Z [hyperiond DISPMANXGRABBER] (INFO) Set image size decimation to 1

    2021-09-15T16:57:45.899Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created

    2021-09-15T16:57:45.906Z [hyperiond V4L2] (DEBUG) (Grabber.cpp:141:setWidthHeight()) Set new width: 720, height: 576 for capture

    2021-09-15T16:57:45.907Z [hyperiond V4L2] (INFO) Set image size decimation to 1

    2021-09-15T16:57:45.907Z [hyperiond V4L2] (INFO) Set flipmode to NO_CHANGE

    2021-09-15T16:57:45.907Z [hyperiond V4L2] (INFO) Cropping image: width=720 height=576; crop: left=13 right=4 top=0 bottom=0

    2021-09-15T16:57:45.908Z [hyperiond V4L2] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000

    2021-09-15T16:57:45.908Z [hyperiond V4L2] (INFO) Signal threshold set to: {25, 25, 25}

    2021-09-15T16:57:45.912Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:608:handleSettingsUpdate()) V4L2 grabber created

    2021-09-15T16:57:45.915Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance

    2021-09-15T16:57:45.930Z [hyperiond JSONSERVER] (INFO) Started on port 19444

    2021-09-15T16:57:45.902Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'apa102'.

    2021-09-15T16:57:45.902Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled

    2021-09-15T16:57:45.902Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"bgr","currentLedCount":130,"hardwareLedCount":130,"invert":false,"latchTime":1,"output":"/dev/spidev0.0","rate":1400000,"rewriteTime":6000,"type":"apa102"}]

    2021-09-15T16:57:45.903Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:413:setLatchTime()) LatchTime updated to 1ms

    2021-09-15T16:57:45.903Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:438:setRewriteTime()) Refresh interval = 6000ms

    2021-09-15T16:57:45.903Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 140 ms, outputRate 1.000000 Hz, interpolationRate: 60.000000 Hz, timer: 28 ms, Dithering: 1, Decay: 1.000000 -> HalfTime: 70.000000 ms

    2021-09-15T16:57:45.903Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:444:setRewriteTime()) RewriteTime updated to 6000ms

    2021-09-15T16:57:45.904Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:58:init()) _baudRate_Hz [1400000], _latchTime_ms [1]

    2021-09-15T16:57:45.904Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:59:init()) _spiDataInvert [0], _spiMode [0]

    2021-09-15T16:57:45.915Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times

    2021-09-15T16:57:45.916Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401

    2021-09-15T16:57:45.932Z [hyperiond EFFECTENGINE] (INFO) Run effect "Knight rider" on channel 1

    2021-09-15T16:57:45.945Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400

    2021-09-15T16:57:45.946Z [hyperiond PROTOSERVER] (INFO) Started on port 19445

    2021-09-15T16:57:45.948Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver

    2021-09-15T16:57:45.949Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver

    2021-09-15T16:57:46.043Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:181:runEffectScript()) Start the effect: name [Knight rider], smoothCfg [2]

    2021-09-15T16:57:46.044Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/EFFECT' with priority 1 as inactive

    2021-09-15T16:57:46.045Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Knight rider' started

    2021-09-15T16:57:46.047Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings

    2021-09-15T16:57:46.048Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig

    2021-09-15T16:57:46.049Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/V4L' with priority 240 as inactive

    2021-09-15T16:57:46.049Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled

    2021-09-15T16:57:46.053Z [hyperiond V4L2] (DEBUG) (V4L2Grabber.cpp:141:init()) Configured device at '/dev/video0' is not available.

    2021-09-15T16:57:46.050Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings

    2021-09-15T16:57:46.051Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig

    2021-09-15T16:57:46.050Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:165:registerInput()) Register new input 'System/GRABBER' with priority 250 as inactive

    2021-09-15T16:57:46.052Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: enabled

    2021-09-15T16:57:46.054Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created

    2021-09-15T16:57:46.055Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started

    2021-09-15T16:57:46.054Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled

    2021-09-15T16:57:46.057Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'

    2021-09-15T16:57:46.147Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:271:setInputImage()) Priority 1 is now active

    2021-09-15T16:57:46.147Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 1

    2021-09-15T16:57:46.148Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: 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-09-15T16:57:46.148Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[1], previousPriority[255]

    2021-09-15T16:57:46.149Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on

    2021-09-15T16:57:46.666Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate

    2021-09-15T16:57:46.667Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key

    2021-09-15T16:57:46.668Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'

    2021-09-15T16:57:48.679Z [hyperiond EFFECTENGINE] (INFO) effect finished

    2021-09-15T16:57:48.816Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:337:setCurrentTime()) Timeout clear for priority 1

    2021-09-15T16:57:48.816Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:374:setCurrentTime()) Set visible priority to 255

    2021-09-15T16:57:48.817Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]: Type: linear - Time: 140 ms, outputRate 1.000000 Hz, interpolationRate: 60.000000 Hz, timer: 28 ms, Dithering: 1, Decay: 1.000000 -> HalfTime: 70.000000 ms

    2021-09-15T16:57:48.817Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[255], previousPriority[1]

    2021-09-15T16:57:48.817Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:562:handlePriorityChangedLedDevice()) No source left -> switch LED-Device off

    2021-09-15T16:57:56.751Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.30

    2021-09-15T16:57:56.752Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:122:handleInstanceSwitch()) Client '::ffff:192.168.1.30' switch to Hyperion instance 0

    2021-09-15T17:12:22.086Z [hyperiond V4L2] (ERROR) Throws error nr: Cannot open '/dev/video1' error code 13, Permission denied

    2021-09-15T17:12:22.088Z [hyperiond V4L2] (ERROR) Throws error nr: Cannot open '/dev/video0' error code 13, Permission denied

    2021-09-15T17:14:11.171Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1058:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.30


    and after this>>


    turning Capturing device Off and save and On only activates the device for few seconds> leds stay lit for 5 seconds or so and go off...


    selecting a diffrent encoding from YUYV to MJPEG and resolution results into freezing of Hyperion, can not use it any more and Putty/SSH doesn't work.

    When rebooting then starteffect ) knightrider( freezes,

    after I disconnect the capturing device ( + 5 volts with relais) and rebooting again > Pi boots and Hyperion launch the starteffect.


    then when going to http://192.168.1.19:8090/#conf_general and selecting encoding back to YUYV and resolution + save > then Leds firing again, and stay lit.

  • Is there any new information on this topic? I have to reinstall my Hyperion because of a broken SD card and I'm just unsure if I should use version 2.0.0-alpha.10 or not, I only use the USB Video Grabber

    Greets, pattyland


    Hyperion.NG 2.0.0-alpha.11~buster on a Raspberry Pi 3

  • My experience is: when you did al the mentioned steps i talked about and the grabber functions again in Hyperion.NG and you can save the settings and still functions,

    then monitor the grabber and live for a time ( aka hour) if its not fading away then when you reboot next time with exact saved settings, the grabber will fire.


    I found that when grabber is enabled in hyperion.NG 2.10 Alpha the next reboots ( hardware reboot of Raspi) will be no problem to recognize the USB capturing device, i think it has to do with settings that are already set before you boot into Hyperion.

    so long story shortened: no i don't think its a problem but you have to be a little handy" and tweak with the settings.



    also

    sudo apt-get update

    sudo apt-get upgrade


    will help.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!