[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IBM X20: Power Management not working



Hi,

I installed OpenBSD 3.2 release on an IBM X20 but Power-Management does
not work. The laptop won't either standby (to disk) or suspend (to
ram).

I set

apmd_flags=""

in /etc/rc.conf.

There is an apmd process running:

$ ps auxwww|grep apmd
root     13177  0.0  0.0    40   308 ??  Ss     8:51PM    0:00.04
/usr/sbin/apmd

and apmd reports battery status:

# cat /var/log/messages|grep apmd
Nov  8 19:18:53 argus apmd: battery status: high. external power status:
connected. estimated battery life 98%
Nov  8 20:04:37 argus apmd: battery status: high. external power status:
connected. estimated battery life 100%
Nov  8 20:51:47 argus apmd: battery status: high. external power status:
connected. estimated battery life 100%

The problem might be the unconfigured Power-Management Controller:

"Intel 82371AB Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not
configured


Complete dmesg of this machine:

OpenBSD 3.2 (ARGUS) #0: Fri Nov  8 19:48:32 CET 2002
    root_(_at_)_argus_(_dot_)_volker_(_dot_)_de:/usr/src/sys/arch/i386/compile/ARGUS
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 597 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,
FXSR,SIMD real mem  = 335065088 (327212K)
avail mem = 306397184 (299216K)
using 4115 buffers containing 16855040 bytes (16460K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ac) BIOS, date 10/19/01, BIOS32 rev. 0 @
0xfd820 apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high
pcibios0 at bios0: rev. 2.1 @ 0xfd7b0/0x850
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdee0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB PCI-ISA" rev
0x00) pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0xd000! 0xcd000/0x1800 0xd8000/0x4000!
0xdc000/0x1000! pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility wd0
at pciide0 channel 0 drive 0: <IBM-DJSA-220> wd0: 16-sector PIO, LBA,
19077MB, 16383 cyl, 16 head, 63 sec, 39070080 sectors wd0(pciide0:0:0):
using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 7 function 2 "Intel
82371AB USB" rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not
configured cbb0 at pci0 dev 8 function 0 "Ricoh 5C476 PCI-CardBus" rev
0x80: irq 11 cbb1 at pci0 dev 8 function 1 "Ricoh 5C476 PCI-CardBus" rev
0x80: irq 11 fxp0 at pci0 dev 10 function 0 "Intel 82557" rev 0x09: irq
11, address 00:10:a4:8d:57:f7 inphy0 at fxp0 phy 1: i82555 10/100 media
interface, rev. 4"Xircom MiniPCI Modem" rev 0x00 at pci0 dev 10 function
1 not configured clct0 at pci0 dev 11 function 0 "Cirrus Logic CS4281
CrystalClear Audio" rev 0x01 irq 11 ac97: codec id 0x43525914 (Cirrus
Logic CS4297A rev 4) ac97: codec features headphone, 20 bit DAC, 18 bit
ADC, Crystal Semi 3D audio0 at clct0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia1 at cardslot1
biomask 4840 netmask 4840 ttymask 5842
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302

Is there a solution to turn standy/suspend on?

Thanks
Volker