ATX

Locked
Message
Author
Cedric

ATX

#1 Post by Cedric »

Ich habe einen PC mit einem ATX Board. Unter Linux muss ich den PC immer über Windows herunterfahren, damit das gesamte System sich automatisch abschaltet (ATX). Gibt es auch ein Linux, welches ATX-Boards unterstützt, oder was habe ich zu konfigurieren, damit es ATX-Boards unterstützt?
Ich arbeite zur Zeit mit SuSE 6.0.

Vielen Dank für Eure Mithilfe

riedel1
Posts: 2
Joined: 16. Aug 1999 19:35
Location: BS
Contact:

Re: ATX

#2 Post by riedel1 »

Hi

ich beziehe mich hier auf SuSE 6.2 mit Kernel 2.2.10
Es sollte aber auch mit SuSE 6.0 laufen.

Der Kernel muss neu übersetzt werden:

Mit make menuconfig die folgenden Optionen im Untermenü General setup (Grundeinstellungen) aktivieren:

[*] Advanced Power Management
[ ] Ignore USER SUSPEND (NEW)
[*] Enable APM at boot time (NEW)
[*] Do CPU IDLE calls (NEW)
[*] Enable console blanking using APM (NEW)
[*] Power off on shutdown (NEW)
[ ] Ignore multiple suspend/standby events (NEW)
[ ] Ignore multiple suspend/resume cycles (NEW)
[*] RTC stores time in GMT (NEW)
[ ] Allow interrupts during APM BIOS calls (NEW)

Ab dem Kernel 2.2 muss noch zusätzlich das shutdown-Script modifiziert werden.
In /sbin/init.d/halt muss du noch beim halt Kommando die Option -p anfügen.

...
case "$0" in
*halt)
message="The system is halted."
command="halt -p"
;;
*reboot)

Jetzt kannst du mit "shutdown -h now" dein Linux Rechner runterfahren und er schaltet sich automatisch ab.
bye
Riedel -> www.riedelweb.de

Cedric

ATX

#3 Post by Cedric »

Vielen Dank für die Informationen. Leider unterstützt mein Kernel diese Funktionen noch nicht. Es blieb mir also nichts anderes übrig als den Kernel zu patchen. Jetzt funktioniert es!

Locked