Installation of external button on GPIO SHUTDOWN RUNE

Raspberry Pi related support

Installation of external button on GPIO SHUTDOWN RUNE

Postby andre_chang » 18 Feb 2016, 13:20

hello everyone
I am currently using 0.3BATA RUNE
but I want to use the external button to turn 2+ PI off

I tried to install a lot of ways on the forum, but it was still not a success.
It has been a problem for me for a week.
First of all,
I refer to the: python-on-rune-audio-t636.html
The following way:

1.
Synch the listing with the repositories:
pacman -Sy

2.
Install python:
pacman -S python

3.
Select gcc from the resulting list. (mine was no.10 on the list):
pacman -S base-devel

4.
wget https://pypi.python.org/packages/source ... 5.8.tar.gz

5.
unzip the tar:
tar -xvzf RPi.GPIO-0.5.8.tar.gz

6.
Install RPi.GPIO:
cd RPi.GPIO-0.5.8
python setup.py install

The above process - the installation is completed
Next, I can't go on... Because I don't know the why script can be executed automatically shutdown - h now < -- this directive defines the button is pressed

I have seen http://www.forum-raspberrypi.de/Thread- ... status-led

This information, but unfortunately the beginning of the order: apt-get update sudo is not successful, it is clear that this may not be a viable approach

Also referred to: http://www.raspberry-pi-geek.com/Archiv ... spberry-Pi

Within the code, but also no success

For Linux I am a complete novice.. but I can skillfully master the basis of electronic parts and welding

How do I continue? Please give me a detailed down the operation process. And the control button circuit diagram

Distress in ~ ~ :oops: :oops: :oops: :oops: :oops:

CHANG ANDRE
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

Re: Installation of external button on GPIO SHUTDOWN RUNE

Postby hondagx35 » 19 Feb 2016, 09:10

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Installation of external button on GPIO SHUTDOWN RUNE

Postby andre_chang » 04 Mar 2016, 12:56

THANK YOU Frank ^_^
andre_chang
 
Posts: 84
Joined: 01 Feb 2016, 13:27

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 20 guests
cron