Posts by Da Flex

    I had a resolution problem too after using LibreELEC at Raspberry Pi (3B+) for some tests on a DVI monitor. noemin, which hardware do you use?

    After a DVI session it had problems to use the (previously found and used) HDMI resolutions. The Raspberry Pi was booting in VGA mode on my HDMI TV. Some reboots, resolution changes and firmware updates (not sure what it was) solved the problem. Now the HDMI resolutions of the TV are detected right again, and it starts with the selected mode.

    I think it's a bug on LibreELEC. It doesn't detect the proper resolutions when changing from DVI back to HDMI.

    This might also help

    I followed those instructions and did that:

    - set config.txt back to original (no "dtoverlay=gpio-shutdown")

    - installed "Raspberry Pi Tools" from repository

    - created the "autostart.sh" and "off-button.py"

    - set both files as executable (chmod +x)

    GPIO3 now still works as power on (it always does), but the next trigger to power off does nothing.

    The python script ("off-button.py") looks OK:

    - the necessary lib from "Raspberry Pi Tools" exists (/storage/.kodi/addons/virtual.rpi-tools/lib/GPIO.so)

    - the pin mode "GPIO.BCM" is correct for my model 3b+ with GPIO3 power button

    Any hints?

    PS: The command line response when starting from ssh ("sh /storage/.config/autostart.sh") is this:

    Code
    Traceback (most recent call last):
      File "/storage/scripts/off-button.py", line 6, in <module>
        import syss
    ImportError: No module named syss

    Hello community,

    the Raspberry Pi (model 3B+) is an always-on board by design - it has no power button. This will make LE sending a permanent video signal to my TV. When I turn the TV on, it will instantly switch to the active video signal input (LE), and doesn't stay in TV mode. This is bad, and I want to find a solution.

    The first idea was to temporary switch off the HDMI signal by the command "tvservice -o". Unfortunately the command to switch HDMI on again "tvservice -p" doesn't work on LE.

    The next idea is to put the Raspberry Pi in a case with a power button. I have found the Pi-Desktop case by Element14 on the market. To make the power button work, it needs an additional Debian package "pidesktop-base.deb". The source code for this package is available on Github.

    Is there any add-on or another solution to make the Pi-Desktop power button work on LE?

    PS: I have been found this thread, which is still unsolved and has a "maybe too old" warning. If someone made it work from there, please give me a notice.

    Thanx vpeter. I have been tried this commands from your link:

    Code
    vcgencmd display_power 0
    vcgencmd display_power 1

    Those commands work, but the first command only turns the screen black, and does not switch the HDMI video signal off.

    The problem behind my question is this: If I turn the TV on, it automatically switches to the active video input signal, and does not stay in TV mode. I want to avoid that behavior by switching the LibreELEC video signal off temporary.

    (If I can't solve it, I have to buy a case with a power button, but to make the power button work, LibreELEC needs additional software - maybe a problem.)

    Hello, I'm a new user!

    My hardware: Raspberry Pi 3b+

    My software: LibreELEC, latest Milhouse build

    I would like to switch the HDMI video signal off and on by using commands. For testing, I did those commands over SSH terminal:

    HDMI video off: tvservice -o -> WORKS

    HDMI video on: tvservice -p -> DOESN'T WORKS

    What are the right commands to switch the HDMI video signal off and on?