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

RPi + OpenELEC UTVF007 and HyperionNG issues

Discussion in 'Software Support' started by hotpotato, 9 March 2020.

  1. hotpotato

    hotpotato New Member

    Messages:
    1
    Hardware:
    RPi1/Zero
    Hello,

    I am pretty new to coding/software and am having issues getting my pi zero to read a UTVF007 grabber. I've been following the instructions on the insanelight blog (the “standard” : “no-change“ fix) but still can't get my system to recognize the grabber. It shows up in putty as this:

    Bus 001 Device 002: ID 534d:0021 (with no description of the grabber following in the lsusb command)

    My hypercon log indicates that it is not mapping to a /dev/video0 which causes hyperion to fail. When I create a .json file without the grabber option, I can run my lights from the mobile app and send colors from my laptop. WIth the grabber option active, the lights won't show the startup sequence or take any colors I send because the lack of /dev/video0 input crashes hyperion. I was thinking that if the grabber is defective, then I wouldn't be able to see it at all under the lsusb command. Any help would be greatly appreciated!

    JSON file (LED configuration hidden):
    Code:
    [LIST=1]
    [*]// Automatically generated configuration file for Hyperion ambilight daemon
    [*]// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    [*]// Generated by: HyperCon (The Hyperion deamon configuration file builder)
    [*]// Created with HyperCon V1.03.4 (02.02.2020)
    [*]
    
    [*]{
    [*]    // DEVICE CONFIGURATION
    [*]    "device" :
    [*]    {
    [*]        "name"       : "MyHyperionConfig",
    [*]        "type"       : "lpd8806",
    [*]        "output"     : "/dev/spidev0.0",
    [*]        "rate"     : 921600,
    [*]        "colorOrder" : "grb"
    [*]    },
    [*]
    
    [*]    // COLOR CALIBRATION CONFIG
    [*]    "color" :
    [*]    {
    [*]        "channelAdjustment" :
    [*]        [
    [*]            {
    [*]                "id"   : "default",
    [*]                "leds" : "*",
    [*]                "pureRed" :
    [*]                {
    [*]                    "redChannel"        : 255,
    [*]                    "greenChannel"      : 0,
    [*]                    "blueChannel"       : 0
    [*]                },
    [*]                "pureGreen" :
    [*]                {
    [*]                    "redChannel"        : 0,
    [*]                    "greenChannel"      : 255,
    [*]                    "blueChannel"       : 0
    [*]                },
    [*]                "pureBlue" :
    [*]                {
    [*]                    "redChannel"        : 0,
    [*]                    "greenChannel"      : 0,
    [*]                    "blueChannel"       : 255
    [*]                }
    [*]            }
    [*]        ],
    [*]        "temperature" :
    [*]        [
    [*]            {
    [*]                "id"   : "default",
    [*]                "leds" : "*",
    [*]                "correctionValues" :
    [*]                {
    [*]                    "red"   : 255,
    [*]                    "green" : 255,
    [*]                    "blue"  : 255
    [*]                }
    [*]            }
    [*]        ],
    [*]        "transform" :
    [*]        [
    [*]            {
    [*]                "id"   : "default",
    [*]                "leds" : "*",
    [*]                "hsl" :
    [*]                {
    [*]                    "saturationGain"    : 1.0000,
    [*]                    "luminanceGain"     : 1.0000,
    [*]                    "luminanceMinimum"      : 0.0000
    [*]                },
    [*]                "red" :
    [*]                {
    [*]                    "threshold"     : 0.0000,
    [*]                    "gamma"         : 2.5000
    [*]                },
    [*]                "green" :
    [*]                {
    [*]                    "threshold"     : 0.0000,
    [*]                    "gamma"         : 2.5000
    [*]                },
    [*]                "blue" :
    [*]                {
    [*]                    "threshold"     : 0.0000,
    [*]                    "gamma"         : 2.5000
    [*]                }
    [*]            }
    [*]        ],
    [*]    // SMOOTHING CONFIG
    [*]        "smoothing" :
    [*]        {
    [*]            "type"            : "linear",
    [*]            "time_ms"         : 200,
    [*]            "updateFrequency" : 20.0000,
    [*]            "updateDelay"     : 0
    [*]        }
    [*]    },
    [*]
    
    [*]    // V4L2 GRABBER CONFIG
    [*]    "grabber-v4l2" :
    [*]    {
    [*]        "device" : "/dev/video0",
    [*]        "input" : 0,
    [*]        "standard" : "NO-CHANGE",
    [*]        "width" : -1,
    [*]        "height" : -1,
    [*]        "frameDecimation" : 2,
    [*]        "sizeDecimation" : 8,
    [*]        "priority" : 900,
    [*]        "mode" : "2D",
    [*]        "cropLeft" : 0,
    [*]        "cropRight" : 0,
    [*]        "cropTop" : 0,
    [*]        "cropBottom" : 0,
    [*]        "redSignalThreshold" : 0.0,
    [*]        "greenSignalThreshold" : 0.0,
    [*]        "blueSignalThreshold" : 0.0
    [*]    },
    [*]
    
    [*]    // BLACKBORDER CONFIG
    [*]    "blackborderdetector" :
    [*]    {
    [*]        "enable" : true,
    [*]        "threshold" : 0.0,
    [*]        "unknownFrameCnt" : 600,
    [*]        "borderFrameCnt" : 50,
    [*]        "maxInconsistentCnt" : 10,
    [*]        "blurRemoveCnt" : 1,
    [*]        "mode" : "default"
    [*]    },
    [*]
    
    [*]    // BOOTEFFECT CONFIG
    [*]    "bootsequence" :
    [*]    {
    [*]        "color" : [0,0,0],
    [*]        "effect" : "Rainbow swirl fast",
    [*]        "duration_ms" : 3000,
    [*]        "priority" : 700
    [*]    },
    [*]
    
    [*]    // JSON SERVER CONFIG
    [*]    "jsonServer" :
    [*]    {
    [*]        "port" : 19444
    [*]    },
    [*]
    
    [*]    // PROTO SERVER CONFIG
    [*]    "protoServer" :
    [*]    {
    [*]        "port" : 19445
    [*]    },
    [*]
    
    [*]    // EFFECT PATH
    [*]    "effects" :
    [*]    {
    [*]        "paths" :
    [*]        [
    [*]            "/storage/hyperion/effects",
    [*]            "/usr/share/hyperion/effects"
    [*]        ]
    [*]    },
    [*]
    
    [*]    // NO FRAME GRABBER CONFIG
    [*]    // NO KODI CHECK CONFIG
    [*]    // NO BOBLIGHT SERVER CONFIG
    [*]    // NO JSON/PROTO FORWARD CONFIG
    [*]
    
    [*]    // LED CONFIGURATION
    [*]    "leds" :
    [*]    "endOfJson" : "endOfJson"
    [*]}
    [/LIST]
    
    HyperCon Logs:
    Code:
    ssh out:     cat /storage/logfiles/hyperion.log
    ssh in:     Hyperion Ambilight Deamon (414)
    ssh in:         Version   : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780
    ssh in:         Build Time: Aug 25 2019 10:39:29
    ssh in:     INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in:     HYPERION INFO: ColorTransform 'default' => [0; 75]
    ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 75]
    ssh in:     HYPERION INFO: ColorAdjustment 'default' => [0; 75]
    ssh in:     LEDDEVICE INFO: configuration: 
    ssh in:     {
    ssh in:         "colorOrder" : "grb",
    ssh in:         "name" : "MyHyperionConfig",
    ssh in:         "output" : "/dev/spidev0.0",
    ssh in:         "rate" : 921600,
    ssh in:         "type" : "lpd8806"
    ssh in:     }
    ssh in:     INFO: Creating linear smoothing
    ssh in:     HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in:     EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in:     EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     INFO: Hyperion started and initialised
    ssh in:     INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in:     BLACKBORDER INFO: threshold set to 0 (0)
    ssh in:     BLACKBORDER INFO: mode:default
    ssh in:     started
    ssh in:     INFO: Json server created and started on port 19444
    ssh in:     INFO: Proto server created and started on port 19445
    ssh in:     terminate called after throwing an instance of 'std::runtime_error'
    ssh in:       what():  V4L2GRABBER ERROR: Cannot identify '/dev/video0' ERROR 2, No such file or directory
    ssh in:     Aborted (core dumped)
    
     
    Last edited: 9 March 2020