Markkennet
Has any thought been given to allowing either the app or Web UI to be able to power on or off the Brennan unit?
MarkF
As the software does not contain any commands to shut down, and there is no hardware support for removing the electrical power even if the software could stop functioning, it is not possible to power off a B2 or B3 using Brennan software. It is certainly not possible to turn on a B2 or B3 remotely using software, because there is no standby mode -- if the power is off, it can't receive commands.
 
You could, of course, buy a remotely controllable AC switch. Unless you want to risk corrupting the operating system or your music collection on the B2 or B3, though, you'd have to be EXTREMELY CERTAIN that the B2 or B3 was not doing anything and had been idle for at least 30 seconds before removing the electrical power.
 
Really, it is so much simpler if you can see the box, in which case you can walk over to it and use the normal "safe" power-down procedure.
Reply 2 0
Markkennet
As the software does not contain any commands to shut down, and there is no hardware support for removing the electrical power even if the software could stop functioning, it is not possible to power off a B2 or B3 using Brennan software. It is certainly not possible to turn on a B2 or B3 remotely using software, because there is no standby mode -- if the power is off, it can't receive commands.
 
You could, of course, buy a remotely controllable AC switch. Unless you want to risk corrupting the operating system or your music collection on the B2 or B3, though, you'd have to be EXTREMELY CERTAIN that the B2 or B3 was not doing anything and had been idle for at least 30 seconds before removing the electrical power.
 
Really, it is so much simpler if you can see the box, in which case you can walk over to it and use the normal "safe" power-down procedure.
I get it that it is not adviseable to simply install a switch. I am suggesting that future versions of the software include that capability. For those who use the Brennan unit primarily for simple listening, this feature would be very welcome.
Reply 0 0
MDG Milton
I have been looking at an IR remote power switch to power off my B3+, but it is not as simple as that, because first you need to shut down the Brennan OS, which is not too difficult if you know how to use SSH and are happy to use the halt command, before using the IR switch. Halt is a BusyBox version of shutdown.
Reply 0 0
MarkF
I am suggesting that future versions of the software include that capability.
I agree that, properly implemented, it would be nice feature. But as there is no hardware in the B2 or B3 that can either turn off the power or enter a low-power standby mode, actually being able to do those things would require more than software: it would require a redesign of the physical product, using a different computer board (among other things).
 
We agree on the idea; I'm simply explaining why it cannot be done with the product that exists.
Reply 0 0
MDG Milton
using a different computer board (among other things).
I'm not sure the Pi is not able to do this, there are probably many spare GPIO pins. Yes, a small redesign to put an electronic switch at the DC input is what TVs, etc do. Why it was left out, I don't fully understand; the IO logic for that is simple; it's probably one of the first projects people do on a Pi
Reply 0 0
Ray J Dion ray
As Mark describes it requires a redesign.
The DC voltage is supplied by a power brick. All supply power is through circuits on the custom Brennan board that extends USB ports, provides amplifier, and Interfaces with the GPIO pins and routes them as needed to the front panel. Nothing on that board is prepared for a 'power off' shutdown. There is no switch on the power to flip.
It is also not being addressed how to turn it back on. Power will be applied unless you turn off the brick or the switch on the unit.
 
A good remote controlled power switch is the best option. By good is that power off and on is clean, no bouncing and no spikes.
 
As long as the unit has been idle for at least 30 seconds, a power off has exactly the same risk as running a proper shutdown. The only exception might be that something in memory was not written to the b2settings file. b2db changes are written in near real time so they should not be lost if you are doing things normally. I say this because "Ok to shutdown" does not stop the operating system, it always runs. As long as data has been flushed to the disk (takes much less than 30 seconds when the CPU is idle) a Power Off has the same effect no matter how you do it.
 
The RPI B+ has no 'sleep' mode so the only way to save power is to turn it off. Circuitry costs money, It adds complexity to the design and production cycles so it is more expensive to produce. More parts, more failure. if you don't do standby mode, why power it off?
 
Ray
B3 is playing KORL Hawaii's Oldies music - 101.1 (Live365) via Internet Radio
Reply 1 0
Markkennet
As Mark describes it requires a redesign.
The DC voltage is supplied by a power brick. All supply power is through circuits on the custom Brennan board that extends USB ports, provides amplifier, and Interfaces with the GPIO pins and routes them as needed to the front panel. Nothing on that board is prepared for a 'power off' shutdown. There is no switch on the power to flip.
It is also not being addressed how to turn it back on. Power will be applied unless you turn off the brick or the switch on the unit.
 
A good remote controlled power switch is the best option. By good is that power off and on is clean, no bouncing and no spikes.
 
As long as the unit has been idle for at least 30 seconds, a power off has exactly the same risk as running a proper shutdown. The only exception might be that something in memory was not written to the b2settings file. b2db changes are written in near real time so they should not be lost if you are doing things normally. I say this because "Ok to shutdown" does not stop the operating system, it always runs. As long as data has been flushed to the disk (takes much less than 30 seconds when the CPU is idle) a Power Off has the same effect no matter how you do it.
 
The RPI B+ has no 'sleep' mode so the only way to save power is to turn it off. Circuitry costs money, It adds complexity to the design and production cycles so it is more expensive to produce. More parts, more failure. if you don't do standby mode, why power it off?
 
Ray
B3 is playing KORL Hawaii's Oldies music - 101.1 (Live365) via Internet Radio
Is there a standby mode? Or just leave the system on - does that increase wear?
Reply 0 0
Ray J Dion ray
If you search for this you will see it has been discussed many times.
 
The RPi B+ has no standby mode. There is not hardware setup to shutdown the spinning disk. Best we have is the display goes dark but I have not tested if that is actually a plus to the power question. I actually looked at the data just now and I see a lot of spikes that I don't remember. Still small but I may investigate more if the interest arises.
 
I have a power monitoring plug and I see the B3 pull around 7 watts idle, 10 watts busy.
 
My belief is that it really matters how you use it. If you use it every day, it may be better to leave it on. Paul B however turns his off every night at work and has no issues.
Turning a unit on from cold causes stress to the parts but many are designed for this. I expect the RPi have a good level of resilience as it must survive the develop process by users who are probably constantly cycling power to test.
 
So in the end, personal preference. Failures are random. Mine has been left on minus testing and power outages for years. I have good backups.

Ray
B3 is not currently playing anything.
Reply 0 0
AJ
This post may be of interest.
 
 
Andrew.
Reply 0 0
Martyn Blackwell Baksak Ancrac
If you search for this you will see it has been discussed many times.
 
The RPi B+ has no standby mode. There is not hardware setup to shutdown the spinning disk. Best we have is the display goes dark but I have not tested if that is actually a plus to the power question. I actually looked at the data just now and I see a lot of spikes that I don't remember. Still small but I may investigate more if the interest arises.
 
I have a power monitoring plug and I see the B3 pull around 7 watts idle, 10 watts busy.
 
My belief is that it really matters how you use it. If you use it every day, it may be better to leave it on. Paul B however turns his off every night at work and has no issues.
Turning a unit on from cold causes stress to the parts but many are designed for this. I expect the RPi have a good level of resilience as it must survive the develop process by users who are probably constantly cycling power to test.
 
So in the end, personal preference. Failures are random. Mine has been left on minus testing and power outages for years. I have good backups.

Ray
B3 is not currently playing anything.
Interesting. I'm generally in favour of leaving electronics powered on but because of the unreliability of the power grid where I live I turn everything off when I'm done listening for fear of data corruption in an incorrect shutdown. I kind of got the impression from your post that if the unit is idle and loses power it is t a problem. Is that correct?
I am in the process of building a UPS but progress is slow, like everything else I do these days 😏
Reply 0 0
Ray J Dion ray
It is not a problem if the system is idle if power is cleanly shut down. It would have problems if power 'bounced' for a few seconds. Even an undervoltage would not be a significant problem but that is a bit of a grey area because that really depends on the power brick not the box itself.
 
We have in the past have had queries about running on 12V instead of 24V. The difference was lower volume on speakers. The computer portion itself was fine.
 
So it really depends on how your system loses power, if it is not clean then I would put an undervoltage breaker/power strip in front of it. So that should something cause an undervoltage, it shuts off. A manual reset would be needed after power returns to normal.
 
Ray
B3 is not currently playing anything.
Reply 1 0
Martyn Blackwell Baksak Ancrac
Thanks Ray
Reply 0 0
Markkennet
This post may be of interest.
 
 
Andrew.

I've successfully created this 'app' to send the AllStop to the Brennan. Do we know that this is equivalent to parking the drive? From the other comments, it is not so clear.

Reply 0 0
AJ

I've successfully created this 'app' to send the AllStop to the Brennan. Do we know that this is equivalent to parking the drive? From the other comments, it is not so clear.

I know it is equivalent to shutting down in the normal manner, whether it actually parks the drive I can not say for sure, it does send a command to the disk, see the following for more details.
 
 
Andrew.
Reply 0 0
Reply