Darren J Moffat wrote:
> Donald Brownlee wrote:
>> Am using CDE.
>>
>> I logout, then when the CDE login window appears,
>> I choose command line login, then login as root,
>> then run 'init 5'.
>>
>> Is there an easier way to do this?
>>
>> I realize that I could 'su', then run 'init 5', inside CDE,
>> but that doesn't appear to be an orderly way to shutdown CDE.
> 
> push the power button which as the same effect as running init 5,
> assuming this is on SPARC or and x86 platform that has the appropriate
> ACPICA support for this and you are running a release of an OpenSolaris
> distribution that supports this.

Support for ACPI power buttons was integrated into Solaris Nevada build
25, so it's been around for a while.  Pressing the power button should
*initiate* power-down on essentially all "modern" (since 2001-ish) x86
machines; if it doesn't, it's probably because of a BIOS issue on that
machine, but please file a bug so we can keep track.

On some machines, the power button has a very long "debounce" time,
simply pressing and releasing the button has no effect.  A good example
of this are the Toshiba notebooks; most of them require one to press
and hold the power button for about 1 second before releasing it (don't
hold it down more than a couple of seconds; see below).  This is determined
by the system BIOS/hardware and there's nothing we can do about it.

If the power-off sequence hangs at "Press any key to reboot", but no
key reboots the system, you're seeing a different problem, probably not
related to the power button at all.  There was an issue like this,
CR 6426595, that was fixed in Solaris Nevada build 41.  If you see a
machine hanging at "Press any key to reboot", please file a bug.

Note that all ACPI-compliant machines should implement a power-button
over-ride, if you press and hold the power button longer than 4 seconds,
the machine will power-off immediately.  If you have a machine stuck
during power-off, then you can try this over-ride.

Cheers,
Dana
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to