alkjones wrote: > Greg / Steen / Pascal > > Thanks for responding. > > I think the problem here, and perhaps why I'm eliciting some confusion > in your guys, is that I don't actually know what I'm doing. As I said, I > looked around for a decent power switch and found the ATXRASPI. I've > bought one, and an LED button too and I'm awaiting delivery. I had > assumed that this was the best way to shut down the RPI / PICO player - > this is clearly incorrect. A clean shutdown is a good way to shutdown a > PI that DOESNT run this flavour of linux. As you say, with the Pico > player, you can just yank the power (which is essentially what I've been > doing with my remote power switches). > > OK, so now that I've got it straight in my head, and already have an LED > button in bound (two - silver and black..I couldn't make up my mind on > which colour aluminium box to use..) I'll go down the route of a switch > and some resistors just to kill the power to the Pi. however....please > refer to my first comment. Though is clearly outside the scope of this > forum, and your software, could you point me in the direction on some > instructions on how to do that? google yields gabillions of results for > configuring a SAFE shutdown switch, but i cant find anything on wiring > up something that will just kill the power (especially using an LED > power button..) > > CHeers > Alastair
hi Alastair, If you have bought the ATXRASPI I would use that. It will save you having to work out what to do, just follow their instructions. A safe shutdown is still a nice way of stopping the CPU/GPU. There will still be power to the Raspberry Pi PCB though. You will need to remove then reapply power to get the Raspberry Pi going again. Alternately, most Raspberry Pi's have a place to add a "reset" header. If you wire this up with a momentary push button, it will restart the Raspberry Pi. If you press the reset button while the Raspberry Pi is going it will stop immediately, no operating system shutdown. Place the ATXRASPI shutdown script in the /opt or /home/tc directories and press backup on the Main page. Both these directories get backed up and then restored during a reboot. The push buttons you have bought are on/off switches, so they can go on the +ve wire between the PSU and Raspberry Pi. So when you press the button it will remove power from the Raspberry Pi PCB and stop everything without a safe shutdown. Pressing the button again, will apply power to the Raspberry Pi and it will boot. The PSU will always be powered in this situation. If you decide to start playing around with GPIOs, just remember to use 3.3v NOT 5v and use current limiting resistors. regards Greg ------------------------------------------------------------------------ Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
