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

Paar leds gaan steeds aan

Discussion in 'Dutch Talk' started by Fire69, 13 June 2016.

  1. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Hallo,

    Ik heb gisteren mij OSMC moeten herinstalleren vanwege SD-corruptie.
    Voor de eerste keer de installatie via HyperCon gedaan (ging niet van een leien dakje) maar het draait nu terug allemaal.
    Enkel heb ik het probleem dat 1 of 2 leds steeds terug aangaan in wit of blauw na een tijdje als er niks gespeeld wordt in Kodi.
    Als ik dan een film start/stop of via de Android-app een kleur zet en clear is het ok, maar na een tijdje gaan de leds terug aan.
    Voor de reinstall had ik dit probleem niet. Ja, toch wel, maar enkel als ik de raspberry van de stroom haalde, da's een gekend probleem van Lightberry.

    Dit is mijn (nieuw aangemaakte) config. Ik heb nog niet getest met mijn oude config file, die ziet er toch wel redelijk anders uit...

    [edit]
    Was ik nog vergeten. Vroeger kon ik bij hardware uit het lijstje LightBerry kiezen, die staat er nu niet meer tussen; Ik heb WS2801 gekozen, volgens hun site is dit ook OK?

    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.1 (11.06.2016)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "MyHyperionConfig",
            "type"       : "ws2801",
            "output"     : "/dev/spidev0.0",
            "rate"     : 500000,
            "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
            }
        },
    
        // NO V4L2 GRABBER CONFIG
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 890
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.0,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "127.0.0.1",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : true,
            "grabMenu" : false,
            "grabPause" : false,
            "grabScreensaver" : false,
            "enable3DDetection" : true
        },
    
        // 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 BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8750, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7500, "maximum" : 0.8750 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6250, "maximum" : 0.7500 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 0.6250 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3750, "maximum" : 0.5000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2500, "maximum" : 0.3750 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1250, "maximum" : 0.2500 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1250 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.9286, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.8571, "maximum" : 0.9286 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.7857, "maximum" : 0.8571 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.7143, "maximum" : 0.7857 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.6429, "maximum" : 0.7143 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.5714, "maximum" : 0.6429 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5714 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.4286, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.3571, "maximum" : 0.4286 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.2857, "maximum" : 0.3571 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.2143, "maximum" : 0.2857 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.1429, "maximum" : 0.2143 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.0714, "maximum" : 0.1429 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0714 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1250 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1250, "maximum" : 0.2500 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2500, "maximum" : 0.3750 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3750, "maximum" : 0.5000 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 0.6250 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6250, "maximum" : 0.7500 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7500, "maximum" : 0.8750 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8750, "maximum" : 1.0000 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0714 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.0714, "maximum" : 0.1429 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.1429, "maximum" : 0.2143 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.2143, "maximum" : 0.2857 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.2857, "maximum" : 0.3571 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.3571, "maximum" : 0.4286 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.4286, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5714 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.5714, "maximum" : 0.6429 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.6429, "maximum" : 0.7143 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.7143, "maximum" : 0.7857 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.7857, "maximum" : 0.8571 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.8571, "maximum" : 0.9286 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.9286, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
    Enig idee wat hier de oorzaak zou van kunnen zijn?

    Thanks!
     
    Last edited: 13 June 2016
  2. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    161
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Welkom :coffee:

    Het zou de framegrabber kunnen zijn of lokale hardware storing maar als het alleen software herinstallatie is geweest is dit onwaarschijnlijk.
    Zou het volgende in de config uitzetten en dan opnieuw testen :)

    Code:
        // NO V4L2 GRABBER CONFIG
        // FRAME GRABBER CONFIG
        //"framegrabber" :
        //{
        //   "width" : 64,
        //    "height" : 64,
        //    "frequency_Hz" : 10.0,
        //    "priority" : 890
        //},
    
     
  3. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Die framegrabber heb ik eigenlijk niet nodig dan?
    Ik zal het even aanpassen en vanavond testen (kan de leds moeilijk checken vanop m'n werk ;))

    Thanks!
     
  4. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    161
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    In principe niet nee want is alleen voor desktop capture op de RPi :)
     
  5. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Nou, 2 problemen...
    1. Ik heb de framegrabber uitgezet. Als ik nu een film speel doen de leds helemaal niks meer. Zet ik hem terug aan, werkt het wel.

    2. Plots werkt ook de android app niet meer (met of zonder grabber). Connectie is ok, de app zegt 'server synchronised' en ik krijg bvb. ook de lijst van effects te zien, maar de leds doen niks meer :(
    Gisteren werkte de app gewoon, dus snap niet goed wat er aan de hand is. Service gerestart, rpi gerestart, geen effect...

    [edit]
    Ik heb er even mijn oude sd'tje terug ingestoken, daar werkt alles nog steeds netjes zoals het hoort.
    (behalve dat door de corruptie geen wijzigingen aan het filesystem worden opgeslaan...)
     
    Last edited: 13 June 2016
  6. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Ik kreeg het van dat gesukkel op mijn zenuwen en ben van nul herbegonnen. :)

    OSMC opnieuw op kaartje geschreven. Updates geïnstalleerd en dan via Hypercon hyperion proberen installeren.
    Zoals ik in mijn startpost al zei, dat gaat dus niet van een leien dakje...

    Hele hoop problemen met het installeren van de dependencies!
    Code:
    ssh connected
    ssh out:     cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out:     Last-modified header missing -- time-stamps turned off.
    ssh out:     2016-06-13 22:36:59 URL:https://raw.githubusercontent.com/hyperion-project/hyperion/master/bin/install_hyperion.sh [14472/14472] -> "install_hyperion.sh" [1]
    ssh in:     *******************************************************************************
    ssh in:     This script will install/update Hyperion Ambient Light
    ssh in:     Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in:     *******************************************************************************
    ssh in:     ---> Stop Hyperion, if necessary
    ssh in:     ---> Install/Update Hyperion dependencies (This may take a while)
    ssh out:     debconf: unable to initialize frontend: Dialog
    ssh out:     debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
    ssh out:     debconf: falling back to frontend: Readline
    ssh out:     debconf: unable to initialize frontend: Readline
    ssh out:     debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 21.)
    ssh out:     debconf: falling back to frontend: Teletype
    ssh out:     dpkg-preconfigure: unable to re-open stdin:
    ssh in:     Selecting previously unselected package fontconfig.
    ssh in:     (Reading database ...
    ssh in:     (Reading database ... 5%
    ssh in:     (Reading database ... 10%
    ssh in:     (Reading database ... 15%
    ssh in:     (Reading database ... 20%
    ssh in:     (Reading database ... 25%
    ssh in:     (Reading database ... 30%
    ssh in:     (Reading database ... 35%
    ssh in:     (Reading database ... 40%
    ssh in:     (Reading database ... 45%
    ssh in:     (Reading database ... 50%
    ssh in:     (Reading database ... 55%
    ssh in:     (Reading database ... 60%
    ssh in:     (Reading database ... 65%
    ssh in:     (Reading database ... 70%
    ssh in:     (Reading database ... 75%
    ssh in:     (Reading database ... 80%
    ssh in:     (Reading database ... 85%
    ssh in:     (Reading database ... 90%
    ssh in:     (Reading database ... 95%
    ssh in:     (Reading database ... 100%
    ssh in:     (Reading database ... 22348 files and directories currently installed.)
    ssh in:     Preparing to unpack .../fontconfig_2.11.0-6.3_armhf.deb ...
    ssh in:     Unpacking fontconfig (2.11.0-6.3) ...
    ssh in:     Selecting previously unselected package libxau6:armhf.
    ssh in:     Preparing to unpack .../libxau6_1%3a1.0.8-1_armhf.deb ...
    ssh in:     Unpacking libxau6:armhf (1:1.0.8-1) ...
    ssh in:     Selecting previously unselected package x11-common.
    ssh in:     Preparing to unpack .../x11-common_1%3a7.7+7_all.deb ...
    ssh in:     Unpacking x11-common (1:7.7+7) ...
    ssh in:     Selecting previously unselected package libice6:armhf.
    ssh in:     Preparing to unpack .../libice6_2%3a1.0.9-1+b1_armhf.deb ...
    ssh in:     Unpacking libice6:armhf (2:1.0.9-1+b1) ...
    ssh in:     Selecting previously unselected package libsm6:armhf.
    ssh in:     Preparing to unpack .../libsm6_2%3a1.2.2-1+b1_armhf.deb ...
    ssh in:     Unpacking libsm6:armhf (2:1.2.2-1+b1) ...
    ssh in:     Selecting previously unselected package libxdmcp6:armhf.
    ssh in:     Preparing to unpack .../libxdmcp6_1%3a1.1.1-1+b1_armhf.deb ...
    ssh in:     Unpacking libxdmcp6:armhf (1:1.1.1-1+b1) ...
    ssh in:     Selecting previously unselected package libxcb1:armhf.
    ssh in:     Preparing to unpack .../libxcb1_1.10-3+b1_armhf.deb ...
    ssh in:     Unpacking libxcb1:armhf (1.10-3+b1) ...
    ssh in:     Selecting previously unselected package libx11-data.
    ssh in:     Preparing to unpack .../libx11-data_2%3a1.6.2-3_all.deb ...
    ssh in:     Unpacking libx11-data (2:1.6.2-3) ...
    ssh in:     Selecting previously unselected package libx11-6:armhf.
    ssh in:     Preparing to unpack .../libx11-6_2%3a1.6.2-3_armhf.deb ...
    ssh in:     Unpacking libx11-6:armhf (2:1.6.2-3) ...
    ssh in:     Selecting previously unselected package libxt6:armhf.
    ssh in:     Preparing to unpack .../libxt6_1%3a1.1.4-1+b1_armhf.deb ...
    ssh in:     Unpacking libxt6:armhf (1:1.1.4-1+b1) ...
    ssh in:     Selecting previously unselected package libaudio2:armhf.
    ssh in:     Preparing to unpack .../libaudio2_1.9.4-3_armhf.deb ...
    ssh in:     Unpacking libaudio2:armhf (1.9.4-3) ...
    ssh in:     Selecting previously unselected package libmng1:armhf.
    ssh in:     Preparing to unpack .../libmng1_1.0.10+dfsg-3.1+b3_armhf.deb ...
    ssh in:     Unpacking libmng1:armhf (1.0.10+dfsg-3.1+b3) ...
    ssh in:     Selecting previously unselected package qtcore4-l10n.
    ssh in:     Preparing to unpack .../qtcore4-l10n_4%3a4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_all.deb ...
    ssh in:     Unpacking qtcore4-l10n (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Selecting previously unselected package libqtcore4:armhf.
    ssh in:     Preparing to unpack .../libqtcore4_4%3a4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_armhf.deb ...
    ssh in:     Unpacking libqtcore4:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Selecting previously unselected package libqt4-xml:armhf.
    ssh in:     Preparing to unpack .../libqt4-xml_4%3a4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_armhf.deb ...
    ssh in:     Unpacking libqt4-xml:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Selecting previously unselected package libqtdbus4:armhf.
    ssh in:     Preparing to unpack .../libqtdbus4_4%3a4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_armhf.deb ...
    ssh in:     Unpacking libqtdbus4:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Selecting previously unselected package libqt4-network:armhf.
    ssh in:     Preparing to unpack .../libqt4-network_4%3a4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_armhf.deb ...
    ssh in:     Unpacking libqt4-network:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Selecting previously unselected package libxext6:armhf.
    ssh in:     Preparing to unpack .../libxext6_2%3a1.3.3-1_armhf.deb ...
    ssh in:     Unpacking libxext6:armhf (2:1.3.3-1) ...
    ssh in:     Selecting previously unselected package libxrender1:armhf.
    ssh in:     Preparing to unpack .../libxrender1_1%3a0.9.8-1+b1_armhf.deb ...
    ssh in:     Unpacking libxrender1:armhf (1:0.9.8-1+b1) ...
    ssh in:     Selecting previously unselected package libqtgui4:armhf.
    ssh in:     Preparing to unpack .../libqtgui4_4%3a4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1_armhf.deb ...
    ssh in:     Unpacking libqtgui4:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Selecting previously unselected package libusb-1.0-0:armhf.
    ssh in:     Preparing to unpack .../libusb-1.0-0_2%3a1.0.19-1_armhf.deb ...
    ssh in:     Unpacking libusb-1.0-0:armhf (2:1.0.19-1) ...
    ssh in:     Processing triggers for systemd (215-17+deb8u4) ...
    ssh in:     Setting up fontconfig (2.11.0-6.3) ...
    ssh in:     Regenerating fonts cache... done.
    ssh in:     Setting up libxau6:armhf (1:1.0.8-1) ...
    ssh in:     Setting up x11-common (1:7.7+7) ...
    ssh in:     debconf: unable to initialize frontend: Dialog
    ssh in:     debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
    ssh in:     debconf: falling back to frontend: Readline
    ssh in:     debconf: unable to initialize frontend: Readline
    ssh in:     debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    ssh in:     debconf: falling back to frontend: Teletype
    ssh in:     /var/lib/dpkg/info/x11-common.postinst: 697: /var/lib/dpkg/info/x11-common.postinst: update-rc.d: not found
    ssh in:     dpkg: error processing package x11-common (--configure):
    ssh in:      subprocess installed post-installation script returned error exit status 127
    ssh in:     dpkg: dependency problems prevent configuration of libice6:armhf:
    ssh in:      libice6:armhf depends on x11-common; however:
    ssh in:       Package x11-common is not configured yet.
    ssh in:     dpkg: error processing package libice6:armhf (--configure):
    ssh in:      dependency problems - leaving unconfigured
    ssh in:     dpkg: dependency problems prevent configuration of libsm6:armhf:
    ssh in:      libsm6:armhf depends on libice6 (>= 1:1.0.0); however:
    ssh in:       Package libice6:armhf is not configured yet.
    ssh in:     dpkg: error processing package libsm6:armhf (--configure):
    ssh in:      dependency problems - leaving unconfigured
    ssh in:     Setting up libxdmcp6:armhf (1:1.1.1-1+b1) ...
    ssh in:     Setting up libxcb1:armhf (1.10-3+b1) ...
    ssh in:     Setting up libx11-data (2:1.6.2-3) ...
    ssh in:     Setting up libx11-6:armhf (2:1.6.2-3) ...
    ssh in:     dpkg: dependency problems prevent configuration of libxt6:armhf:
    ssh in:      libxt6:armhf depends on libice6 (>= 1:1.0.0); however:
    ssh in:       Package libice6:armhf is not configured yet.
    ssh in:      libxt6:armhf depends on libsm6; however:
    ssh in:       Package libsm6:armhf is not configured yet.
    ssh in:     dpkg: error processing package libxt6:armhf (--configure):
    ssh in:      dependency problems - leaving unconfigured
    ssh in:     dpkg: dependency problems prevent configuration of libaudio2:armhf:
    ssh in:      libaudio2:armhf depends on libxt6; however:
    ssh in:       Package libxt6:armhf is not configured yet.
    ssh in:     dpkg: error processing package libaudio2:armhf (--configure):
    ssh in:      dependency problems - leaving unconfigured
    ssh in:     Setting up libmng1:armhf (1.0.10+dfsg-3.1+b3) ...
    ssh in:     Setting up qtcore4-l10n (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Setting up libqtcore4:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Setting up libqt4-xml:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Setting up libqtdbus4:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Setting up libqt4-network:armhf (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) ...
    ssh in:     Setting up libxext6:armhf (2:1.3.3-1) ...
    ssh in:     Setting up libxrender1:armhf (1:0.9.8-1+b1) ...
    ssh in:     dpkg: dependency problems prevent configuration of libqtgui4:armhf:
    ssh in:      libqtgui4:armhf depends on libaudio2; however:
    ssh in:       Package libaudio2:armhf is not configured yet.
    ssh in:      libqtgui4:armhf depends on libice6 (>= 1:1.0.0); however:
    ssh in:       Package libice6:armhf is not configured yet.
    ssh in:      libqtgui4:armhf depends on libsm6; however:
    ssh in:       Package libsm6:armhf is not configured yet.
    ssh in:     dpkg: error processing package libqtgui4:armhf (--configure):
    ssh in:      dependency problems - leaving unconfigured
    ssh in:     Setting up libusb-1.0-0:armhf (2:1.0.19-1) ...
    ssh in:     Processing triggers for libc-bin (2.19-18+deb8u4) ...
    ssh in:     Processing triggers for systemd (215-17+deb8u4) ...
    ssh in:     Errors were encountered while processing:
    ssh in:      x11-common
    ssh in:      libice6:armhf
    ssh in:      libsm6:armhf
    ssh in:      libxt6:armhf
    ssh in:      libaudio2:armhf
    ssh in:      libqtgui4:armhf
    ssh out:     E: Sub-process /usr/bin/dpkg returned an error code (1)
    ssh in:     ---> Raspberry Pi found, but SPI is not set, we write "dtparam=spi=on" to /boot/config.txt
    ssh in:     ---> Downloading the appropriate Hyperion release
    ssh out:     2016-06-13 22:38:48 URL:http://tenet.dl.sourceforge.net/project/hyperion-project/release/hyperion_rpi2_osmc.tar.gz [1636414/1636414] -> "-" [1]
    ssh in:     ---> Installing systemd script
    ssh in:     ---> Modify systemd script for OSMC usage
    ssh in:     ---> Starting Hyperion
    ssh in:     *******************************************************************************
    ssh in:     Hyperion Installation/Update finished!
    ssh in:     Please download the latest HyperCon version to benefit from new features!
    ssh in:     To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in:     Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in:     *******************************************************************************
    ssh in:     Rebooting now, we added dtparam=spi=on to config.txt
    
    Als ik:
    Code:
    cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    opsplits en manueel via ssh doe, lukt het wel zonder alle errors. Ik gebruik dan wel de HyperConInstall optie niet erbij. Waarvoor dient deze juist? Kan dat het verschil maken?

    Ik heb de grabber in de config laten staan, momenteel blijven de leds nog uit, ik check morgenvroeg of dat nog zo is...

    Probleem met de app heb ik gevonden. Mijn priority stond nog op 1100. Dat was ooit de standaard prioriteit dacht ik van hyperion zelf. Daarom had ik deze in de app ook zo ingesteld zodat ik via de app een override kon doen.
    Wat is de standaard priority nu als je een film afspeelt?
    Het is handig als ik de leds dan kan uitzetten als ik via mijn projector kijk zodat er geen licht vanachter mijn projectiescherm komt.

    Sorry voor de lap tekst en de vele vragen. Hopelijk zijn de errors (en mijn vragen) voor jullie ook interessant. :)
     
    Last edited: 14 June 2016
  7. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    161
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Het kan zijn dat je niet de officiële addon gebruikt in Kodi maar helaas niet veel ervaring met OSMC hier, zou de Kodi Hyperion addon daar even deinstalleren en dan opnieuw installeren bij Kodi via deze zip:

    https://github.com/hyperion-project/script.service.hyperion/archive/V1.0.2.zip

    Framegrabber zou normaal gesproken niet nodig moeten zijn dus dat is wel vreemd, de installatie loopt inderdaad stuk op de deps dus vermoedt dat iets in de package manager niet lekker zit of dat het script deps verwacht die onder OSM niet (meer) beschikbaar zijn.
     
  8. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Ik gebruik helemaal geen addon in Kodi :bigsmile:
    Da's toch ook niet nodig dacht ik?
    Het script werkt zonder problemen als ik het manueel in een terminal start, dus de deps zijn waarschijnlijk wel ok.
    Vreemd dat het uit hypercon problemen geeft, het is in de basis exact dezelfde werkwijze...
     
  9. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    161
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Oh dat verklaard het, de addon maakt het wat fijner want dan stuurt ie gewoon je image data vanuit Kodi door naar Hyperion ipv desktop capture intern :)
    Yep zou ook geen verschil verwachten eerlijk gezegd tenzij er een andere parameter meegegeven wordt vanuit HyperCon.
     
  10. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Aha, dan zal ik vanavond de addon eens installeren. Die werkt nu dus wel op een Rpi?
    Hopelijk lost dat het probleem met de leds op.

    Maak ik een issue op github voor de installatieproblemen vanuit Hypercon?
     
  11. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    161
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Yep recent getest hier onder Raspbian en deed het, voorheen stond er op de wiki dat dit niet werkte maar lijkt inmiddels verholpen te zijn.
    Beste is hier op het forum maar dan in het Engelse gedeelte :) , HyperCon staat wel op de lijst voor een redesign maar wanneer dit afgerond wordt is nog niet bekend.
     
  12. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Ik denk dat deze thread wel dicht kan, het probleem ligt volgens mij niet aan Hyperion maar aan... OSMC of zo gok ik.
    Gisteren kwam ik thuis en de helft van mijn leds branden wit/blauw. Ik was het lichtjes (pun intended :bigsmile:) beu aan het worden en heb toen de leds uitgezet via de remote an daarna de Hyperion-service gestopt.
    Toen ik vanmorgen beneden kwam brannde terug een ganse hoop leds! M.a.w. het probleem kan niet bij Hyperion liggen.
    Waarschijnlijk is er in een recente update van OSMC ergens iets dat misgaat (schrijven naar SPI of zo), dus ik zal op hun forum mijn licht even gaan opsteken...
     
  13. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    161
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Lijkt me inderdaad een goed plan, anders is er altijd nog een alternatief zoals OpenElec of Rasplex :)
     
  14. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Rasplex draait Plex ipv Kodi toch?
    OpenElec is ook al niet zo'n goeie start...

    Code:
    ssh connected
    ssh out:     cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out:     wget: invalid option -- 'n'
    ssh out:     BusyBox v1.24.1 (2016-02-29 21:05:41 CET) multi-call binary.
    ssh out:     Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
    ssh out:         [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
    ssh out:         [-U|--user-agent AGENT] [-T SEC] URL...
    ssh out:     Retrieve files via HTTP or FTP
    ssh out:         -s    Spider mode - only check file existence
    ssh out:         -c    Continue retrieval of aborted transfer
    ssh out:         -q    Quiet
    ssh out:         -P DIR    Save to DIR (default .)
    ssh out:         -T SEC    Network read timeout is SEC seconds
    ssh out:         -O FILE    Save to FILE ('-' for stdout)
    ssh out:         -U STR    Use STR for User-Agent header
    ssh out:         -Y    Use proxy ('on' or 'off')
    ssh out:     rm: can't remove 'install_hyperion.sh': No such file or directory
    :(

    Heb de install ook manueel moeten doen, nu testen wat de leds doen...
     
  15. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    OpenElec gaf hetzelfde probleem...

    Het is me ondertussen gelukt om mijn oude werkende install van OSMC in orde te krijgen.
    Ik heb gewoon een dd van de defecte SD (die blijkbaar vast zat in een soort van read-only mode) naar een nieuwe SD.
    Alles werkte toen terug als een zonnetje. OSMC en Hyperion deden het beiden terug netjes.

    Maar als test heb ik toch maar even via HyperCon een update gedaan van Hyperion (waarbij het script nu wel correct werkte)
    Resultaat => Nog geen 10min later sprongen led 0 en 1 terug aan op blauw/wit

    Er lijkt me dus toch iets verkeerd te gaan in nieuwere versies van Hyperion...
     
  16. Pryxus

    Pryxus New Member

    Messages:
    8
    Hardware:
    RPi3
    Hello Fire69,

    unfortunately I don't speak any Dutch, but I assume, you nearly have the same problem as I do: The last one or two LEDs start shining (green!) after a certain time.

    When watching Movies, everything works fine. No LED is missing or showing wrong colors.
    After stopping the movie all LEDs are off, as expected, but after some hours, the last one or two LEDs are getting lighter and lighter.

    At the moment it helps to deactivate Hyperion with hyperionswitch.sh. But only for some hours.

    I struggle with this problem for a couple of weeks. In fact it appeared after updating the system to the newest Hyperion Version. Still, I don't think that it's a Hyperion problem. But it really is getting annoying.
     
  17. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    You assumed correctly, that is exactly my problem (except my color is more blueish white, depends on the leds I suppose).

    Very annoying indeed. I had a working install, but my SD got corrupt so I did a new OSMC/Hyperion install on a new card and then my problems started.
    I got 'lucky' now, I was able to clone my corrupt card to a new SD and my old installation is working again now.

    But since we're having the same problem, and I also had the problem when I installed OpenElec as a test, I do think it's a Hyperion problem.
    Why do you think it's not?
     
  18. Pryxus

    Pryxus New Member

    Messages:
    8
    Hardware:
    RPi3
    Well, maybe I should try a fresh install of all the software as well when I find some time.

    There are two reasons why I think that Hyperion is not the problem:
    1. it doesn't make a difference whether I put the correct amount of LEDs in the .json file. It affects the Ambilight, of course, but it doesn't change the position of the green LEDs. These are always the very last on the LED stripe.
    2. hyperionwitch.sh. When switching Hyperion off, I would guess Hyperion has no more control over the LED stripe. Still the glowing appears after switching Hyperion off.

    On the other hand: The effect first appeared after installing newest Hyperion. No matter whether I use an old .json configuration or a new one. This indicates a problem with Hyperion.

    Is there an official statement, so far or are we the only ones with this problem?
     
  19. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    I'm going to do a new install of OSMC now, and not install Hyperion for a day or 2, to check if the leds stay off.
    After that, I'm going to install Hyperion and again check what the leds do. If they turn on, it has to be Hyperion, right?

    Hm, something I just thought of... When you install Hyperion, it enables SPI in the config.txt. Could it be that in the newer versions of OSMC/OpenElec (same kernel or something) there is a bug that sends unwanted data to the GPIO-pins?
     
  20. Fire69

    Fire69 New Member

    Messages:
    14
    Hardware:
    RPi1/Zero, RPi2
    Pryxus, I forgot to ask you, what hardware are you using for your leds?
    I'm using a Lightberry, this thing already has a tendency to light up some leds when it doesn't get a signal (Pi powered off, etc...)