ACPI @ FreeBSD 4.8

AceX5

Well-Known Member
Vielleicht liegt es nur an meinem Rechner, oder ich hab nur ne Kernel Option vergessen. Wie bringe ich meinem FreeBSD das automatische Abschalten nach dem Shutdown per ACPI bzw. APM bei?
 
Das geht auch per APM (vorrausgesetzt dein BIOS ist nicht b0rken)

apm_enable="YES" und apmd_enable="YES" in /etc/rc.conf. Shutdown mit 'shutdown -p now' oder 'halt -p'. Interessant ist auch 'zzz'.
 
Versuche mal folgendes in deinem Kernel zu Kompilieren, vielleicht klappt es ja, so wie auf meinem Router:

# Power management support (see LINT for more options)
#device apm0 at nexus? disable flags 0x20 # Advanced Power Management
device apm0 at nexus? # Advanced Power Management


#
# SMB bus
#
# System Management Bus support is provided by the 'smbus' device.
# Access to the SMBus device is via the 'smb' device (/dev/smb*),
# which is a child of the 'smbus' device.
#
# Supported devices:
# smb standard io through /dev/smb*
#
# Supported SMB interfaces:
# iicsmb I2C to SMB bridge with any iicbus interface
# bktr brooktree848 I2C hardware interface
# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit
# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit
# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
# viapm VIA VT82C586B,596,686A and VT8233 SMBus controllers
# amdpm AMD 756 Power Management Unit
#
device smbus # Bus support, required for smb below.

device intpm
#device alpm
#device ichsmb
#device viapm
#device amdpm

device smb

(U.U. musst Du noch den Chipsatz anpassen!)

Dann noch in der '/etc/rc.conf' folgende Eintraege ergaenzen:

apm_enable="YES" # Set to YES to enable APM BIOS functions (or NO).
apmd_enable="YES" # Run apmd to handle APM event from userland.
apmd_flags="" # Flags to apmd (if enabled).


Bist Du nun 'root' auf Deinem Rechner oder in der Gruppe 'operator', kannst du den Rechner mit folgenden Befehl schlafen legen, WENN das BIOS Deines Rechners halt nicht 'broken' ist:

shutdown -p now


MfG,
Dirk
 
Wollte sowieso mal den LINT Kernel abchecken. Danke für Tipps! Ich mach mich mal dran, die umzusetzen.
 
Zurück
Oben