Beiträge von Cosmicbase

    Ich werde nochmal nach deiner Anleitung neu aufsetzen.
    Nach Punkt 4 kommt folgende Ausgabe, warum auch immer.
    Muss aber gestehen das ich eine andere Vorgehensweise bei der Installation genommen habe.
    Ich habe es nach dem Video von TP Modding gemacht (Raspian).


    osmc@osmc:~$ sudo systemctl daemon-reload
    osmc@osmc:~$ sudo systemctl enable hyperion.service
    Failed to enable unit: File hyperion.service: Bad message
    osmc@osmc:~$ systemctl start hyperion.service
    Failed to start hyperion.service: Unit hyperion.service is not loaded properly: Bad message.
    See system logs and 'systemctl status hyperion.service' for details.
    osmc@osmc:~$

    2.


    Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Sat Nov 2 15:57:49 2019 from 192.168.2.30
    osmc@osmc:~$ sudo apt-get update
    Hit:1 http://security.debian.org stretch/updates InRelease
    Ign:2 http://ftp.debian.org/debian stretch InRelease
    Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
    Hit:4 http://ftp.debian.org/debian stretch Release
    Hit:6 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
    Reading package lists... Done
    osmc@osmc:~$ sudo apt-get install git cmake build-essential qtbase5-dev libqt5serialport5-dev libusb-1.0-0-dev python3-dev libxrender-dev libavahi-core-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libavahi-core-dev is already the newest version (0.6.32-2).
    build-essential is already the newest version (12.3).
    cmake is already the newest version (3.7.2-1).
    git is already the newest version (1:2.11.0-3+deb9u4).
    libusb-1.0-0-dev is already the newest version (2:1.0.21-1).
    libxrender-dev is already the newest version (1:0.9.10-1).
    python3-dev is already the newest version (3.5.3-1).
    qtbase5-dev is already the newest version (5.7.1+dfsg-3+deb9u1).
    libqt5serialport5-dev is already the newest version (5.7.1~20161021-2).
    0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
    osmc@osmc:~$


    3.


    Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Sat Nov 2 15:57:49 2019 from 192.168.2.30
    osmc@osmc:~$ sudo apt-get update
    Hit:1 http://security.debian.org stretch/updates InRelease
    Ign:2 http://ftp.debian.org/debian stretch InRelease
    Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
    Hit:4 http://ftp.debian.org/debian stretch Release
    Hit:6 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
    Reading package lists... Done
    osmc@osmc:~$ sudo apt-get install git cmake build-essential qtbase5-dev libqt5serialport5-dev libusb-1.0-0-dev python3-dev libxrender-dev libavahi-core-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libavahi-core-dev is already the newest version (0.6.32-2).
    build-essential is already the newest version (12.3).
    cmake is already the newest version (3.7.2-1).
    git is already the newest version (1:2.11.0-3+deb9u4).
    libusb-1.0-0-dev is already the newest version (2:1.0.21-1).
    libxrender-dev is already the newest version (1:0.9.10-1).
    python3-dev is already the newest version (3.5.3-1).
    qtbase5-dev is already the newest version (5.7.1+dfsg-3+deb9u1).
    libqt5serialport5-dev is already the newest version (5.7.1~20161021-2).
    0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
    osmc@osmc:~$ wget -qO- https://raw.githubusercontent.….ng/master/bin/compile.sh | sh -s hyperion Release install
    Hit:1 http://security.debian.org stretch/updates InRelease
    Ign:2 http://ftp.debian.org/debian stretch InRelease
    Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
    Hit:4 http://ftp.debian.org/debian stretch Release
    Hit:6 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libavahi-compat-libdnssd-dev is already the newest version (0.6.32-2).
    libavahi-core-dev is already the newest version (0.6.32-2).
    build-essential is already the newest version (12.3).
    cmake is already the newest version (3.7.2-1).
    git is already the newest version (1:2.11.0-3+deb9u4).
    libusb-1.0-0-dev is already the newest version (2:1.0.21-1).
    libxrender-dev is already the newest version (1:0.9.10-1).
    python3-dev is already the newest version (3.5.3-1).
    qtbase5-dev is already the newest version (5.7.1+dfsg-3+deb9u1).
    libqt5serialport5-dev is already the newest version (5.7.1~20161021-2).
    0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
    fatal: destination path 'hyperion' already exists and is not an empty directory.
    osmc@osmc:~$

    1. Punkt


    GNU nano 2.7.4 File: /boot/config.txt
    gpu_mem_1024=256
    hdmi_ignore_cec_init=1
    disable_overscan=1
    start_x=1
    disable_splash=1
    gpu_mem_256=112
    sdtv_aspect=3
    gpu_mem_512=144
    hdmi_force_hotplug=1
    dtoverlay=lirc-rpi
    dtparam=gpio_in_pin=18
    sdtv_mode=2
    dtoverlay=spi-bcm2835-overlay
    dtparam=gpio_out_pin=17
    dtparam=spi=on



























    [ Read 15 lines ]
    ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify
    ^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell

    Vielen Dank für deine ausführliche Beschreibung.


    Im letzten Part habe ich folgende Ausgabe...
    Warum?


    GNU nano 2.7.4 File: /boot/config.txt
    gpu_mem_1024=256
    hdmi_ignore_cec_init=1
    disable_overscan=1
    start_x=1
    disable_splash=1
    gpu_mem_256=112
    sdtv_aspect=3
    gpu_mem_512=144
    hdmi_force_hotplug=1
    dtoverlay=lirc-rpi
    dtparam=gpio_in_pin=18
    sdtv_mode=2
    dtoverlay=spi-bcm2835-overlay
    dtparam=gpio_out_pin=17
    dtparam=spi=on




    GNU nano 2.7.4 File: /lib/systemd/system/hyperion.service Modified
    [Unit] Description=Hyperion ambient light systemd service
    After=network.target [Service] ExecStart=/usr/local/bin/hyperiond
    WorkingDirectory=/usr/local/share/hyperion/bin User=osmc
    TimeoutStopSec=5 KillMode=mixed Restart=on-failure RestartSec=2
    [Install]
    WantedBy=multi-user.target



















    nit] Description=Hyperion ambient light systemd service



    GNU nano 2.7.4 File: /lib/systemd/system/hyperion.service
    [Unit] Description=Hyperion ambient light systemd service
    After=network.target [Service] ExecStart=/usr/local/bin/hyperiond WorkingDirectory=/usr/local/share/hyperion/bin User=osmc nit] Description=Hyperion ambient light systemd serviceartSec=2 [Install]
    WantedBy=multi-user.target
    After=network.target [Service] ExecStart=/usr/local/bin/hyperiond
    WorkingDirectory=/usr/local/share/hyperion/bin User=osmc
    TimeoutStopSec=5 KillMode=mixed Restart=on-failure RestartSec=2
    [Install]
    WantedBy=multi-user.target


    osmc@osmc:~$ sudo systemctl daemon-reload
    osmc@osmc:~$ sudo systemctl enable hyperion.service
    Failed to enable unit: File hyperion.service: Bad message
    osmc@osmc:~$ sudo systemctl start hyperion.service
    Failed to start hyperion.service: Unit hyperion.service is not loaded properly: Bad message.
    See system logs and 'systemctl status hyperion.service' for details.
    osmc@osmc:~$

    Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Nov 1 22:44:49 2019 from 192.168.2.30
    osmc@osmc:~$ wget -O hyperion.service https://raw.githubusercontent.…/service/hyperion.systemd
    --2019-11-01 23:01:16-- https://raw.githubusercontent.…/service/hyperion.systemd
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 283 [text/plain]
    Saving to: 'hyperion.service'


    hyperion.service 100%[================>] 283 --.-KB/s in 0s


    2019-11-01 23:01:17 (2.38 MB/s) - 'hyperion.service' saved [283/283]


    osmc@osmc:~$

    Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Nov 1 22:35:29 2019 from 192.168.2.30
    osmc@osmc:~$ cat hyperion.service
    cat: hyperion.service: No such file or directory
    osmc@osmc:~$ cd /etc/systemd/system/
    osmc@osmc:/etc/systemd/system$ cat hyperion.service
    [Unit] Description=Hyperion ambient light systemd service for user %i
    After=network.target [Service] ExecStart=/usr/bin/hyperiond
    WorkingDirectory=/usr/share/hyperion/bin User=%i TimeoutStopSec=5
    KillMode=mixed Restart=on-failure RestartSec=2 [Install]
    WantedBy=multi-user.target
    osmc@osmc:/etc/systemd/system$ cd ..
    osmc@osmc:/etc/systemd$ sudo systemctl enable hyperion.service
    Failed to enable unit: File hyperion.service: Bad message
    osmc@osmc:/etc/systemd$

    Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Nov 1 22:35:29 2019 from 192.168.2.30
    osmc@osmc:~$ cat hyperion.service
    cat: hyperion.service: No such file or directory
    osmc@osmc:~$ cd /etc/systemd/system/
    osmc@osmc:/etc/systemd/system$ cat hyperion.service
    [Unit] Description=Hyperion ambient light systemd service for user %i
    After=network.target [Service] ExecStart=/usr/bin/hyperiond
    WorkingDirectory=/usr/share/hyperion/bin User=%i TimeoutStopSec=5
    KillMode=mixed Restart=on-failure RestartSec=2 [Install]
    WantedBy=multi-user.target
    osmc@osmc:/etc/systemd/system$

    Linux osmc 4.14.78-4-osmc #1 SMP PREEMPT Wed Dec 12 17:58:11 UTC 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Nov 1 22:15:17 2019 from 192.168.2.30
    osmc@osmc:~$ sudo systemctl enable hyperion.service
    Failed to enable unit: File hyperion.service: Bad message
    osmc@osmc:~$

    cd /etc/systemd/system/
    sudo nano hyperion.service
    Dann folgendes einfügen.


    [Unit] Description=Hyperion ambient light systemd service for user %i After=network.target [Service] ExecStart=/usr/bin/hyperiond WorkingDirectory=/usr/share/hyperion/bin User=%i TimeoutStopSec=5 KillMode=mixed Restart=on-failure RestartSec=2 [Install] WantedBy=multi-user.target


    und speichern.


    sudo chmod +x hyperion.service