Posts by Skeeve
-
-
Hi.
I've read about booting a Raspberry Pi from a hard drive.
I followed the steps for allowing boot from USB, changing the power limit for the usb drive and increasing the timeout.
Unfortunately my Raspberry won't boot from my 500GB Hard drive. Booting from a USB stick otoh works.
What can I do to troubleshhot my problem?
You did see that ^^?
I already boot from USB stick fine. -
I have, according to cpuinfo: Raspberry Pi 3 Model B Rev 1.2
The LED on the drive lights up. I can also access it when I connect it after booting LibreElec from a usb stick.
-
Hi.
I've read about booting a Raspberry Pi from a hard drive.
I followed the steps for allowing boot from USB, changing the power limit for the usb drive and increasing the timeout.
Unfortunately my Raspberry won't boot from my 500GB Hard drive. Booting from a USB stick otoh works.
What can I do to troubleshhot my problem?
-
How does this configuration end up here:
Why it's gpio 5 & 6? How could I set my own gpio pins?

It's not gpio 5&6 it's GPIO 3 and ground which happens to be pins 5 & 6 iirc.
Why it's key id 61662 - I have no clue. Must be the work of the devil. It's 3 times the 6

Just kidding. But I really have no clue. I googled and ended up with that solution.
-
Hi!
Is there any chance I can get ScummVM to work on my RasPi 3B with LibreElec Leia?I installed it using the Addon Browser. But when starting I just get the message that it failed to start for unknownreason.
Any hints, tipps, suggestions or information I can provide to find out why it fails?
-
I just gave the Leia Game AddOn some tries, but failed each time.
Scummvm didn‘t even start.
DOS BOX started and left me with a black screen.
Vice 64 (Using IAGL) also started but hung with the loading message.
-
"dtoverlay=gpio-shutdown" on LE 8.95.002 will let the shutdown menu appear, when pressing the power button. Instant off only works by the described scripting.
Thanks to your post and the one by @Iridum I found the solution. Changing the key which is sent helps. See above…
-
If you have the time, could you test gpio-shutdown on the latest LE alpha build Here Tnx.
I did and it works. Here is what I did:
ssh-ed to the system and remounted /flash so that I can change config.txt
Then using my favourite editor (vi) to add the below line to /flash/config.txt below the shown comment.
Code################################################################################ # End of default configuration ################################################################################ dtoverlay=gpio-shutdownThen I've created the file /storage/.kodi/userdata/keymaps/keyboard.xml to contain:
Finally I did a reboot.
That's it. A button connecting pins 5 & 6 will now shut down your libreelec.
-
This thread is a bit old, but maybe you come back and this will help you: gpio-shutdown alternative for LibreElec 8.2.5
-
Update: Starting with LibreELEC (Leia) v8.95.2 BETA it is possible to use dtoverlay=gpio-shutdown. See further down.
Hi! I felt this area is the most appropriate for what I want to contribute.
I was searching for a way to shut down my libreelec-Raspberry with the touch of a button wired to pins 5 & 6, as I do for my other raspberrys. Unfortunately the same approch, setting dtoverlay=gpio-shutdown in config.txt didn't work.
Another solution I found, invoving autostart and a shutdown.sh yielded very strange results in a not-booting raspberry.
The following approach, seems to work though. Maybe It's not correct so please tell me if I did something wrong.
First create a file "/storage/.config/gpio-shutdown" with the following content:
Bash
Display More#!/bin/bash # monitor GPIO pin X for shutdown signal # export GPIO pin X and set to input with pull-up GPIOPIN=3 echo "$GPIOPIN" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio$GPIOPIN/direction # wait for pin to go low while [ true ] ; do if [ "$(cat /sys/class/gpio/gpio$GPIOPIN/value)" == '0' ] ; then echo "Raspberry Pi Shutting Down!" shutdown -h now exit 0 fi sleep 1 doneMake it executable with
Then create a file "/storage/.config/autostart.sh" (or adjust its content accordingly)
Make it also executable, then reboot
How does it work?
The autostart.sh is invoked every time libreelec is booted. It will then start "gpio-shutdown" in the background. This script will check every second whether or not the GPIO3 is connected to GND. As soon as this is dicovered, a "shutdown -h now" is executed and the raspberry will shut down. You'll see the usuall 10 blinks after which you can disconnect.
Another touch of the button which connects GPIO3 to GND will boot up your libreelec.