Posts by Da Flex
-
-
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:
-
You could try This to power on/off your device
I have been tried this, and it partially works. (edit config.txt, shortcut GPIO 3 and GND as power button)
The power on works fine.
The power off will let the shutdown menu appear (power off, power off timer, reboot).
Do you know a trick how to avoid that menu and instantly power off?
-
The Raspberry Pi has an internal Bluetooth interface. Having an additional BT dongle connected can lead to device management chaos. Try to use the internal BT interface only.
-
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.
-
it's ZTE ZXV10 B700V5
i was try to install libreELEC but still failed.
please help
You have been realized, that your device is not on the list of supported devices, right?
-
Thanx vpeter. I have been tried this commands from your link:
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.)
-
You have to check if LibreELEC runs on your hardware. Go to this page:
Open the list box under the headline "DIRECT DOWNLOADS". Check if your hardware is on the list.
-
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?