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

Probleme mit Grabber (RP3 b)

Discussion in 'German Talk' started by paczi, 29 November 2019.

  1. paczi

    paczi New Member

    Messages:
    1
    Hardware:
    RPi3, 32/64bit, +PhilipsHue
    Hallo zusammen,

    nach tagelangem durchforsten von Foren der gesamten Welt komme ich nicht weiter und muss hier um Hilfe bitten:

    Ich habe alles nach dieser Anleitung gemacht: https://tutorials-raspberrypi.de/raspberry-pi-ambilight-fuer-alle-geraete-selber-bauen/

    Hier der wesentlichsten Punkte die ich habe:
    - Raspberry Pi 3 b+
    - LogiLink Grabber von Amazon
    - WS2801 Sripes
    - OSMC

    Ich bekomme es hin alles anzuschließen und zu installieren. Mit dem internen Grabber von Hyperion funktioniert auch die Farbauswahl.

    Wenn ich den externen Grabber nutze, kommt ein Fehler. Logs siehe unten.

    --> Problem: Mein externer Grabber will einfach nicht funktionieren

    Code:
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: Started Hyperion Systemd service.
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: Hyperion Ambilight Deamon (1692)
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         Version   : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         Build Time: Aug 25 2019 10:39:29
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: HYPERION INFO: ColorTransform 'default' => [0; 26]
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: HYPERION INFO: ColorCorrection 'default' => [0; 26]
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: HYPERION INFO: ColorAdjustment 'default' => [0; 26]
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: LEDDEVICE INFO: configuration:
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: {
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         "colorOrder" : "rgb",
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         "name" : "OpenElecTest",
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         "output" : "/dev/spidev0.0",
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         "rate" : 1000000,
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:         "type" : "ws2801"
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: }
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: INFO: Creating linear smoothing
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: INFO: Hyperion started and initialised
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: INFO: Json server created and started on port 19444
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: INFO: Proto server created and started on port 19445
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]: terminate called after throwing an instance of 'std::runtime_error'
    ssh in:     Nov 29 15:27:46 osmc hyperiond[1692]:   what():  VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: hyperion.service: Main process exited, code=killed, status=6/ABRT
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: hyperion.service: Unit entered failed state.
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: hyperion.service: Failed with result 'signal'.
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: hyperion.service: Service hold-off time over, scheduling restart.
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: Stopped Hyperion Systemd service.
    ssh in:     Nov 29 15:27:46 osmc systemd[1]: Started Hyperion Systemd service.
    Code:
    lsusb
    Bus 001 Device 004: ID 534d:0021
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    --> lsusb sollte mir laut anderen Foren einen bestimmte ID für meinen Grabber geben. Hier ists nicht zu sehen. Vielleicht liegt es schon hier dran? Aber der LogiLink sollte eigentlich der Richtige sein

    Hier noch meine Config:

    Code:
    // 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.3 (22.10.2017)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "OpenElecTest",
            "type"       : "ws2801",
            "output"     : "/dev/spidev0.0",
            "rate"     : 1000000,
            "colorOrder" : "rgb"
        },
    
        // 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" : "PAL",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 2,
            "sizeDecimation" : 8,
            "priority" : 860,
            "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"
        },
    
        // 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 BOOTEFFECT CONFIG
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.5000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9000, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.8000, "maximum" : 0.9000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.7000, "maximum" : 0.8000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.6000, "maximum" : 0.7000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.4000, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.3000, "maximum" : 0.4000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.2000, "maximum" : 0.3000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.1000, "maximum" : 0.2000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.1000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 1.0000 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.5000 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.1000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.1000, "maximum" : 0.2000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.2000, "maximum" : 0.3000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.3000, "maximum" : 0.4000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.4000, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.6000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.6000, "maximum" : 0.7000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.7000, "maximum" : 0.8000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.8000, "maximum" : 0.9000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.9000, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
    Ich danke vielmals!!!
     
    Last edited: 29 November 2019