Auto-start Mac PPC after power outage
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1251 from 2004/2/8
    From: Poland
    Hi,

    I know it is possible to set some Open Firmware variable that makes the machine auto-start when the power is restored after forced shut down (OSX does that through 'Energy Saver' settings, you just have to turn the 'Start up automatically after a power failure' switch on).

    Now - does anybody know if there's another way to do this (for example - a simple command in Open Firmware, with no need to boot to OSX)?
  • »22.06.23 - 21:09
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 807 from 2007/10/23
    From: Gelsenkirchen,...
    \ Go to device node
    dev via-pmu

    \ Clear previous settings
    pad 2 ff fill pad 2 " "(00 FF FF)" 8f pmu-op pad swap dump

    \ Now set the acwakeoninsert byte.
    pad 2 ff fill pad 2 " "(01 00 02)" 8f pmu-op pad swap dump

    ref
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »23.06.23 - 09:31
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3118 from 2003/3/5
    From: Canada
    @polluks

    Do note that this is hardware-specific and won't work on all PowerMacs.
  • »23.06.23 - 13:20
    Profile Visit Website