Thank you for your donation!


Support for power button
#1
It could be nice to have support for a power button that would run Moode through the shutdown process.
Sometimes, the browse hangs, and makes access to the shutdown menu impossible. such a button will prevent a corrupted system due to an untimely power cycle. I have had to reinstall moode twice due to such a problem Smile
Furthermore, it could come in handy when installing the rpi as part of system that is usually powered down using one button.
Reply
#2
Should be possible to use reboot script like here http://moodeaudio.org/forum/showthread.php?tid=148
or similar and wire a button to GPIO pins to triggers it
Reply
#3
(06-24-2018, 01:52 PM)Qawala Wrote: It could be nice to have support for a power button that would run Moode through the shutdown process.
Sometimes, the browse hangs, and makes access to the shutdown menu impossible. such a button will prevent a corrupted system due to an untimely power cycle. I have had to reinstall moode twice due to such a problem Smile
Furthermore, it could come in handy when installing the rpi as part of system that is usually powered down using one button.

Hi,

I sometimes just pul the plug on my systems due to laziness and have never had an issue with SDCard corruption or file system corruption.

I've been using only Sandisk Ultra Class 10 SDCard's for over 4 years and have experienced only 2 bad cards during that time period. Some of my SDCards experience full image reloads or whole Builds almost every day that I'm working on moOde and no issues.

What brand SD Card are u using?

-Tim
Reply
#4
I came across this and have found it to work with 3.81.

https://scribles.net/adding-power-switch...pberry-pi/

Heres something similar:
https://howchoo.com/g/mwnlytk3zmm/how-to...spberry-pi

Getting a LED going might help too (i've not tested this).
https://howchoo.com/g/ytzjyzy4m2e/build-...-indicator
Reply
#5
"On the HiFiBerry Digi+ Pro GPIOs 5 and 6 are also use and cannot be used for anything else."

"1-2. Connect the wires with GPIO pin 5 & 6."

So my I use GPIOs 5 and 6 for resetting with HiFiBerry Digi+ Pro?
Reply
#6
(02-18-2019, 05:31 PM)imi11 Wrote: "On the HiFiBerry Digi+ Pro GPIOs 5 and 6 are also use and cannot be used for anything else."

"1-2. Connect the wires with GPIO pin 5 & 6."

So my I use GPIOs 5 and 6 for resetting with HiFiBerry Digi+ Pro?

You should probably better ask HiFiBerry directly... Angel
Reply
#7
Audiophonics offers a DAC with optional power button. I am using this DAC with moode for years, the necessary command lines are stored at github and in a special area in our board. I am quite safisfied: I-Sabre V4
We love music.
http://www.hifi-zirkel.de
Reply
#8
For power on/off can be used this board:
https://shop.pimoroni.com/products/onoff...escription
For better use I recommend this approach:
https://retropie.org.uk/forum/topic/1572...m-pimoroni
I did test it, it works on ver 4.4.
Reply
#9
(02-18-2019, 05:31 PM)imi11 Wrote: "On the HiFiBerry Digi+ Pro GPIOs 5 and 6 are also use and cannot be used for anything else."

"1-2. Connect the wires with GPIO pin 5 & 6."

So my I use GPIOs 5 and 6 for resetting with HiFiBerry Digi+ Pro?

I have a HiFiBerry Digi+ Pro and a HiFiBerry DAC+ Pro, both with Off-buttons on RPi3B+.

I did quite a lot of research (I thought, anyway) before going for a solution where I soldered three wires to the same pins (11, 8, ground-6) on each HiFiBerry board. This gave me illuminated Off-buttons that go dark when a Python script has been completed and it's safe to disconnect power. 

In practical use, this has proven near-perfect for me, as all other aspects of daily music playback are managed from an app on iPhone or iPad. 

The only thing I did not accomplish, was waking up the RPis with a button (the same) because the pin in question (5) is already in use by the I2S interface to the HiFiBerry cards. When I tried it, the RPis would boot as expected but the HiFiBerry cards were left unresponsive (until a complete power disconnect). 

As I use a linear PSU that continously dissipates the energy not used by RPi/HiFiBerry, my habit is to shut down the PSU separately anyway. If you plan to use a PSU with a separate power switch, you may perhaps be happy with a similar setup.
Reply
#10
(05-31-2019, 03:51 PM)Tenbagger Wrote:
(02-18-2019, 05:31 PM)imi11 Wrote: "On the HiFiBerry Digi+ Pro GPIOs 5 and 6 are also use and cannot be used for anything else."

"1-2. Connect the wires with GPIO pin 5 & 6."

So my I use GPIOs 5 and 6 for resetting with HiFiBerry Digi+ Pro?

I have a HiFiBerry Digi+ Pro and a HiFiBerry DAC+ Pro, both with Off-buttons on RPi3B+.

I did quite a lot of research (I thought, anyway) before going for a solution where I soldered three wires to the same pins (11, 8, ground-6) on each HiFiBerry board. This gave me illuminated Off-buttons that go dark when a Python script has been completed and it's safe to disconnect power. 

In practical use, this has proven near-perfect for me, as all other aspects of daily music playback are managed from an app on iPhone or iPad. 

The only thing I did not accomplish, was waking up the RPis with a button (the same) because the pin in question (5) is already in use by the I2S interface to the HiFiBerry cards. When I tried it, the RPis would boot as expected but the HiFiBerry cards were left unresponsive (until a complete power disconnect). 

As I use a linear PSU that continously dissipates the energy not used by RPi/HiFiBerry, my habit is to shut down the PSU separately anyway. If you plan to use a PSU with a separate power switch, you may perhaps be happy with a similar setup.
I wrote in this post
Link
Reply


Forum Jump: