All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Thu May 06, 2010 3:13 pm 
Offline

Joined: Wed Mar 08, 2006 2:28 am
Posts: 24
Location: Ireland
Hi,

Is there a way to make Efika boot automatically after power failure?

Wojtek


Top
   
PostPosted: Fri May 07, 2010 10:09 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Hi,

Is there a way to make Efika boot automatically after power failure?

Wojtek
PowerPC or i.MX?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sat May 08, 2010 4:20 am 
Offline

Joined: Wed Mar 08, 2006 2:28 am
Posts: 24
Location: Ireland
PowerPC


Top
   
 Post subject:
PostPosted: Sat May 08, 2010 8:00 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
PowerPC
Check the environment variables in OF, there is one for ac power behavior. I don't remember the exact name and I can't check since I don't have one with me at the moment.

_________________
Matt Sealey


Top
   
PostPosted: Sat May 08, 2010 2:47 pm 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
Quote:
Is there a way to make Efika boot automatically after power failure?
see chapter II.4 :
http://www.efika.de/download/Efika.readme.pdf

_________________
acrux _at_ linuxmail _dot_ org


Top
   
PostPosted: Sat May 08, 2010 3:37 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Quote:
Is there a way to make Efika boot automatically after power failure?
see chapter II.4 :
http://www.efika.de/download/Efika.readme.pdf
Actually that just tells the system what to do when it's got power. To make the system power up when it receives AC power (no need to push the switch, just connect the power..) there is another environment variable, I think it's ac-back-behaviour. Doing a printenv will list them all..

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon May 10, 2010 1:59 pm 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
OK, I just rebooted my router (which is an EFIKA PPC):
Code:
ok printenv
Variable Value (Default Value)
------------------------------------------------------------------------------
ac-back-behaviour ()
There is just no documentation, or hint in the firmware, what values could be used here...

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri May 21, 2010 2:25 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
Quote:
OK, I just rebooted my router (which is an EFIKA PPC):
Code:
ok printenv
Variable Value (Default Value)
------------------------------------------------------------------------------
ac-back-behaviour ()
There is just no documentation, or hint in the firmware, what values could be used here...
on

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Fri May 21, 2010 10:21 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Quote:
OK, I just rebooted my router (which is an EFIKA PPC):
Code:
ok printenv
Variable Value (Default Value)
------------------------------------------------------------------------------
ac-back-behaviour ()
There is just no documentation, or hint in the firmware, what values could be used here...
on
Alternatively, "off" :)

The default is actually an "undefined on" even though it's blank so any power loss will basically just glitch the system out and power it back on. It's not actually a very safe thing to do if you're using something other than an ATX power supply (PicoPSU etc.) because connecting and disconnecting the DC power plug can spark. Some systems did this, some not..

If you set it to "off", any application of power will be ignored until you hit the power button, which is better. But usually, you want to have it "off" by default and then when you want to do something with the feature, turn it "on".

_________________
Matt Sealey


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 78 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group