on off button

Raspberry Pi related support

on off button

Postby dannyrune » 22 May 2018, 17:53

Please forgive me, I believe this has been answered over and over again. The problem is that I can't find a step by step tutorial. It seems to be spread out between many posts. I have been trying to follow multiple posts over multiple threads, but not having success with getting the power button working. I did have an on off button working following this guide when I was using retropie; https://www.youtube.com/watch?v=4nTuzIY0i3k&t=402s. Can anyone create a step by step tutorial on how to get an on off button with RuneAudio?

Posts: 1
Joined: 22 May 2018, 17:44

Re: on off button

Postby rudy trubitt » 12 Jun 2018, 15:40

I am interested in this as well. I just built up my first system a few days ago and initially connected the Raspberry and USB hub power supplies to a switched outlet on the back of my receiver. But I am thinking this might be risky because if another user simply turns off the receiver, Rune might be in the middle of a write-operation.

As I am searching other threads on this topic, I see this from Frank:

>You should call "/svr/http/command/rune_shutdown poweroff" before this to stop mpd and unmount your shares.

Seems like I should revise my switched power outlet scheme and ensure an orderly shutdown.
rudy trubitt
Posts: 1
Joined: 12 Jun 2018, 15:34

Re: on off button

Postby PierreG64 » 26 Jun 2018, 18:40

I don't know if it can help someone, but i use this solution:


with a monostable push button
and i use this code:

begin at : "Tutoriel sur RuneAudio 0.4 : "

skip the step or is written
Editer le fichier /var/www/command/rune_SY_wrk
Remplacer ligne 608 :
Code :

Code :
sysCmd('/var/www/command/rune_shutdown poweroff');

the file is correct at line 714. maybe an update?
and all is ok for me, i hope it will be the same way for you.
Posts: 19
Joined: 11 Jun 2015, 20:46

Re: on off button

Postby rern » 29 Jun 2018, 13:17

Raspberry Pi 3 > SMSL M8 DAC
Posts: 357
Joined: 14 Jul 2016, 08:15

support RuneAudio Donate with PayPal

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest