Bananian

How to set proper actions for reset and power button

9 10364
Haxy  
Where can I find config file for the buttons on the BananaPi?Now reset and power button don't work correctly.
What did you mean of "don't work correctly" ??

Haxy  
Pressing power button don't run shutdown - h now command
Pressing reset button don't run reboot command

Post Last Edited by opticprism at 2014-9-7 12:40

Post Last Edited by opticprism at 2014-9-7 12:40

Post Last Edited by opticprism at 2014-9-7 12:33

I have been searching this forum and looking through pictures on this website and I can't seem to find anything that helps CLEARLY HELP set up the banana pi. I have plugged in a 5v-1a miniusb power supply in the spot CLOSE to where the HDMI cable goes, a wireless keyboard, and I plugged in the HDMI cable to my TV checked TV settings that it was on HDMI, I then put a 4G SD CARD in,  and then I PLUGGED in the miniusb 5v-1a power and NOTHING HAPPENS... What gives???

EDIT: I click on the "Power Key" NOTHING happens from the way I see it on the pitcure, that's on the home page and when I click on the "RESET" button I get a RED Light but, that is all I don't see it booting up or nothing, so I ask again what gives???

Post Last Edited by opticprism at 2014-9-7 13:13

Can someone PLEASE HELP me with this, I don't feel safe doing anything else, out of fear I may mess something up.

EDIT: I think I am having a bad SD CARD connection but, I was hoping to see some flashing on the RED LED diode but, I guess I will just have to keep digging aimlessly for some guide which I would hope that lemaker would make a DETAILED ... PDF file guide on how to properly set up and power on the banana pi hardware...I have yet to SEE anything anywhere about rather or NOT the "POWER KEY" or should I say in my case the "RESET" button needs to be pressed to see any action, such in my case a RED LED light...

xividi  
sudo apt-get install acpi
This package will allow OS to access physical buttons.

Now run sudo acpi_listen. Press power button on your banana. On console you will see something like that line:
button/power PBTN 00000000 00000000
each time you press the power button on banana.
Next step is up to you, you can write a bash script to handle this action and perform shutdown. Or write a simple program that handles it in any programming language. It is passed by STDOUT.

Edited by Bananian at Sun Jan 11, 2015 14:46

Hi,

that is simple.

Install acpid:
  1. aptitude install acpid
Copy the Code
Create the following files:

1.) /etc/acpi/events/button_power:
  1. event=button/power
  2. action=/etc/acpi/shutdown.sh
Copy the Code
2.) /etc/acpi/shutdown.sh:
  1. #!/bin/bash
  2. shutdown -h now
Copy the Code
Make shutdown.sh executable:
  1. chmod +x /etc/acpi/shutdown.sh
Copy the Code
Restart acpid (ignore error messages..):
  1. /etc/init.d/acpid restart
Copy the Code
Press power button and the Banana Pi will shutdown (or whatever you define in shutdown.sh)!

Pete  
Hey Thanks for sharing this Information its really good.

I am sharing my Experience with a essay write online, This is one of the best Writing service Company. I hope you like this Important Information And you will Check Out, If you need any Kind of writing Services Online.

Great infos !

My bananapi dont auto startup (boot) when I plug the power on...
May be I can find a solution with acpid
OR it is an Emmc/bios config (to auto restarting when power is on) ?

Thanks !

Those made by fleece need to be dried carefully by hanging to let the excess water out of washing drip away. It is not a good idea to wring the fleece-made onesies after washing.
Bandar Ceme Indonesia
Bandar Ceme Online
Bonus Poker Online
Domino Online
Situs Poker Uang Asli
Judi Domino Online
Bandar Ceme Terbaik
Bandar Domino Online
Cara Daftar Poker Online
Promo Poker Online
Situs Poker Online
Situs Poker Online Indonesia
Link Alternatif Sbobet
Sbobet338
High Lucky
Daftar Joker123
S128
S12888
Link Alternatif SBOBET
togel singapura
Sbobet Casino
Poker Online
Poker Online Indonesia
Sbobet Online
sbobet casino
situs poker online
Sbobet
7 Hal Terbaik Indonesia
Beternak Love Bird
link sbobet
link alternatif sbobet
icetuna
sbobet88
www.sbobet.com
sbobet.com
tangkasnet
betfortuna
harybox
richuse
sbobet casino
338sbobet.com
poker online
poker online indonesia
poker online terpercaya
agen poker
agen poker terpercaya
agen poker online
situs poker online
ceme online
capsa online
www.poker338.net
maxbet
baccarat online
baccarat
tangkasnet
www.sbobetuk.com
sbobetuk.com
tangkas asia
maxbet
logiclub
login sbobet
situs judi qq online terpercaya
poker online
poker online terpercaya
situs poker online
domino online
domino qiu qiu
agen poker
agen poker online
agen poker terpercaya
www.pokerqiu.me
www.168curry.com
www.268coffee.com
www.betsanook.com
www.ceocus.com
www.cuisez.com
www.ghienchoi.com
www.hardmario.com
www.jcout.com
www.kfioli.com
www.lastaces.com
www.lastaces.com
www.lastaces.com
www.seuezc.com
www.u16822.com
www.waterbun.com
www.kayulemak.com
www.241curry.com
www.com3456.com
www.goodaces.com
www.icepotato.com
www.kayulemak.com
www.rendangikan.com
www.sbobeteu.com
www.sbobetth.com
www.tomato888.com
link alternatif [url]www.nasitua.com[/url]
www.bubukpisau.com
www.nasitua.com
link alternatif sbobet [url]www.xifali.com[/url]
www.bajukuning.com
www.bravosunday.com
www.sotoikan.com
www.xifali.com
www.aduhoki.com
www.banhbeo68.com
www.everythingwin.com
www.maindulu.com
www.meechockdee.com
www.meetaedai.com
www.moveuno.com
www.omvang.com
www.quixai.com
www.sbobetuk.com
www.thantai68.com
www.underaces.com
www.wuoza.com
agen bluebet
bluebet casino
bluebet live casino
bluebet online casino
cara menang casino online
daftar akun permainan bluebet casino
daftar casino online bluebet
login bluebet
online casino bluebet
situs bluebet
agen poker online indonesia
agen poker338
cheat poker online
judi poker online
judi poker online qq ceme capsa
poker online
poker online indonesia
poker338 online
poker338 terbaik
situs poker online
www.560bet.com
www.beer789.com
www.colourher.com
www.eaxybox.com
www.ezsgo.com
www.hardlouis.com
www.harybox.com
www.mousebin.com
www.sbobethk.com
www.sbobetid.com
www.sbobetph.com
www.sbobetsg.com
www.tomato222.com
www.jewelrybet.com
338sbobet.com
betfortuna
harybox
icetuna
link alternatif sbobet
link sbobet
sbo4d
sbobet.com
sbobet88
www.sbobet.com
asiabookie
asiabookie indonesia
asiabookie tips
asianbookie asia
asianbookie indonesia
bursa asiabookie
bursa asianbookie
bursa pasaran asiabookie
link alternatif asianbookie
masuk situs asianbookie
pasaran asianbookie
prediksi asiabookie
pur bola asianbookie
situs asianbookie
tipster asiabookie
www.asiabookie.com
www.asiabookie info
agen sbobet casino
pemilihan agen sbobet casino yang berkualitas
richuse
sbobet casino
tangkasnet
www.338sbobet.com
agen taruhan judi bluebet online
blubet android
bluebet
bluebet online
cara daftar bluebet
cara login bluebet
cara menang situs bluebet
daftar akun bluebet
link alternatif bluebet
alternatif link maxbet
link alternatif agen maxbet
link alternatif maxbet
link alternatif maxbet 2018
link alternatif maxbet fortuna
link alternatif maxbet terbaru
maxbet alternatif link
maxbet judi sbobet paling besar
maxbet link alternatif
cara login sbobet
cara login sbobet tanpa terblokir
cara masuk sbobet
daftar akun sbobet
link alternatif login sbobet
login sbobet
masuk permainan sbobet
register sbobet
sbobet online indonesia
buka sbobet yang di blokir
cara mengakses situs sbobet diblokir
link sbobet tidak di blokir
link sbobet yang tidak di blokir
sbobet diblokir
sbobet non blokir
sbobet yang tidak di blokir
situs sbobet yang tidak di blokir
web sbobet yang tidak di blokir
cara main mix parlay
cara pasang mix parlay pasti menang
mix parlay
mix parlay hari ini
mix parlay prediction
prediksi mix parlay
prediksi mix parlay malam ini
rumus mix parlay
strategi mix parlay
tips mix parlay
tips mix parlay gratis
agen bola indonesia
agen bola online
agen judi bolaonline deposit termurah
alternatif login bola online
bola online
bolaonline
bolaonline.com
bolaonline me
bolaonline terpercaya
cara masuk bola online
link alternatif bolaonline
super bolaonline
www.kayulemak.com
www.nasitua.com
www.xifali.com
www.moveuno.com
daftar akun permainan bluebet casino
judi poker online qq ceme capsa
www.tomato222.com
www.jewelrybet.com
link sbobet
link alternatif sbobet online
bursa pasaran taruhan asiabookie
link alternatif asianbookie tanpa blokir
agen sbobet casino
sbobet88
agen taruhan judi bluebet online
maxbet judi sbobet paling besar
cara login sbobet tanpa terblokir
cara mengakses situs sbobet diblokir
cara pasang mix parlay pasti menang
agen judi bolaonline deposit termurah
www.241curry.com
www.bajukuning.com
www.bravosunday.com
www.bubukpisau.com
www.com3456.com
www.goodaces.com
www.icepotato.com
www.jewelry.com
www.kayulemak.com
www.nasitua.com
www.rendangikan.com
www.sbobeteu.com
www.sbobetth.com
www.sotoikan.com
www.tomato888.com
www.xifali.com
www.aduhoki.com
www.banhbeo68.com
www.meechockdee.com
www.meetaedai.com
www.moveuno.com
www.moveuno.com untuk bermain aman
www.omvang.com
www.quixai.com
www.underaces.com
www.wuoza.com
link alternatif sbobet [url]www.jewelry.com[/url]
asyik bermain di [url]www.tomato222.com[/url]
www.560bet.com
www.alpha222.com
www.beer777.com
www.beer789.com
www.colourcee.com
www.colourhim.com
www.hardlouis.com
www.jimwater.com
www.ocstry.com
www.tomato222.com
cara masuk sbobet
login sbobet
situs agen sbobet
situs alternatif sbobet
situs judi sbobet
situs lain sbobet
situs resmi sbobet
situs sbobet
situs sbobet terpercaya
situs sbobet yang tidak di blokir
richuse sbobet
sbo4d
sbobet 560bet
sbobet everythingwin
sbobet icetuna
sbobet88
sbobetmobile
sbobetmobile me
smbobilemobile online
cara masuk mobile sbobet
casino sbobeasia
link alternatif sbobet
link alternatif sbobet mobile
sbobet online
sbobet online indonesia
sbobetasia mobile
agen 7meter4u
agen bluebet
agen maxbet
agen sbobet
agen sbobet88
cara menang sbobet
daftar agen bola terpercaya
daftar agen bola terpercaya permainan sbobet
daftar agen judi bola terpercaya
deposit sbobet
sbobet indonesia
alternatif sbobet
link alternatif sbo
link alternatif sbo indonesia tidak diblokir
link sbobet
login sbobet wap
parlay sbobet
sbo link alternatif
sbobet mobile login
cara login sbobet
cara login sbobet alternatif
cara login sbobet dengan benar
cara masuk permainan sbobet
link alternatif sbobet login mobile indonesia
login sbobet mobile
sbobet asia process login
sbobet login
alternatif link sbobet
link sbobet 2018
link sbobet asia
link sbobet terbaru
link sbobet yang tidak terblokir
login sbobet link terbaru tanpa blokir
sbobet asia link
sbobet link
sbobet link alternatif
alamat situs alternatif sbobet
link terbaru taruhan sbobet
sbobet situs alternatif
situs alternatif sbobet tidak diblokir 2018
situs alternatif wap sbobet
situs sbobet alternatif
situs sbobet alternatif terbaru 2018
www.xifali.com
www.moveuno.com
www.jewelry.com
www.tomato222.com
cara curang menang situs sbobet
cara bermain sbobetmobile via android
link alternatif terbaru situs sbobetmobile
daftar agen bola terpercaya permainan sbobet
link alternatif sbo indonesia
link alternatif sbobet login mobile
login sbobet link terbaru tanpa blokir
situs alternatif sbobet tidak diblokir 2018
7meter
7meter4u
cara masuk sbo4d
cara masuk sbobet
icetuna
icetuna mobile
icetuna sbobet
icetuna wap
link alternatif icetuna
link alternatif sbobet
sbobet icetuna
alternatif situs sbo4d
cara masuk situs sbo4d
login sbo4d
sbo4d
sbo4d.com
sbo4d hk
sbo4d penipu
wap sbo4d
wap sbo4d.com
www.sbo4d
agen sbobet88
cara daftar sbobet88
daftar akun sbobet88
daftar sbobet88
link terbaru sbobet88
login sbobet88
sbobet88
sbobet88 asia
sbobet88 bola
sbobet88 indonesia
sbobet88 mobile
alamat alternatif sbobet
alternatif sbobet
baccarat online
login sbobet
sbobet alternatif
sbobet casino
sbobetuk.com
situs alternatif sbobet
asianbookie
asianbookie info
asianbookie liga inggris
asianbookie portal
bandar asianbookie
link alternatif asianbookie
live score asianbookie
prediksi asianbookie
prediksi bola
prediksi taruhan bola
560 betting
560bet
560bet.com
560bet login
560bet mobile
login 560bet
richuse
sbobet login
situs sbobet
www.560bet
cara akses sbobet
link alternatif sbobet terbaru
link sbobet
login sbobetuk.com
sbobet mobile
sbobetuk.com login
www.sbobetuk.com
alternatif link sbobet link sbobet asia
sbobet asia link
sbobet link
sbobet link alternatif
www.icetuna.com link alternatif sbobet
situs pasang taruhan sbo4d terbaru
daftar akun permainan sbobet88 bank bri
link alternatif sbobet di handphone
cara masuk situs asianbookie
link alternatif 560bet
cara masuk situs sbobetuk.com
3 cara mendapatkan link sbobet terbaru
sbobet88
www.lastaces.com
www.kayulemak.com
www.xifali.com
www.nasitua.com
www.hillapple.com
www.waasanaa.com
www.everythingwin.com
www.maindulu.com
www.560bet.com
www.icepotato.com
www.kampungemas.com
link alternatif sbobet
link sbobet
www.moveuno.com
www.xifali.com
www.nasitua.com
www.kayulemak.com
www.lastaces.com
www.tomato222.com
www.jewelrybet.com
www.everythingwin.com
www.560bet.com
www.icepotato.com
www.kampungemas.com
www.hillapple.com
www.waasanaa.com
www.maindulu.com
sbobet88
agen sbobet casino
link sbobet
link alternatif sbobet online
www.tomato222.com
www.jewelry.com
www.moveuno.com
www.xifali.com
www.nasitua.com
www.lastaces.com
www.kayulemak.com
sbobetasia
link sbobet
link alternatif sbobet online
sbobet88
www.jcout.com
www.168curry.com
www.seuezc.com
www.sotoikan.com
www.kampungemas.com
www.icepotato.com
www.560bet.com
www.everythingwin.com
www.maindulu.com
www.waasanaa.com
www.hillapple.com

You have to log in before you can reply Login | Sign Up

Points Rules