Marco Peereboom wrote:

> I will look into this.

Using APM the sensor doesn't show the estimated minutes for the battery,
just the percent, which acpi does (if 220 minutes are right) which is cool.

Sleep doesn't seem to work (if it is invoked rightly with apm -S, when apm
is disabled?).

Should I attach an acpidump?

But I also get those acpitz0: _AL3[0] not a object ref messages.


Here's the output of my new Laptop (HPNC4010) with apm disabled and acpi on:

OpenBSD 4.3-current (GENERIC) #934: Sun Jun 15 11:24:31 MDT 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz ("GenuineIntel" 686-class) 598
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,
FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1006006272 (959MB)
avail mem = 964493312 (919MB)
User Kernel Config
UKC> enable acpi
426 acpi0 already enabled
UKC> disable ab\^H \^Hpm
327 apm0 disabled
UKC> quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/15/04, BIOS32 rev. 0 @ 0xf0000,
SMBIOS rev. 2.3 @ 0xfc06f (31 entries)
bios0: vendor Hewlett-Packard version "68BAS Ver. F.2B" date 09/15/2004
bios0: Hewlett-Packard HP Compaq nc4010 (PF673AA#ABD)
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices C045(S5) C0BA(S0) C184(S0) C189(S0) C18A(S0)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 1 (C046)
acpiprt1 at acpi0: bus 0 (C045)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C3, C2, C1, FVS, 1600, 1400, 1200, 1000, 800, 600 MHz
acpitz0 at acpi0: critical temperature 103 degC
acpitz1 at acpi0: critical temperature 103 degC
acpitz2 at acpi0: critical temperature 103 degC
acpibat0 at acpi0: C13A model "Primary" serial 00001 2004/12/20 type LIon
oem "Hewlett-Packard"
acpibat1 at acpi0: C139 not present
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: C13C
acpibtn1 at acpi0: C13B
bios0: ROM list: 0xc0000/0xf000 0xd0000/0x2000 0xd2000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ATI RS200M AGP" rev 0x02
ppb0 at pci0 dev 1 function 0 "ATI RS200 PCI" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 "ATI Mobility M6" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp at vga1 not configured
autri0 at pci0 dev 6 function 0 "Acer Labs M5451 Audio" rev 0x02: irq 11
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"Acer Labs M5457 Modem" rev 0x00 at pci0 dev 8 function 0 not configured
cbb0 at pci0 dev 11 function 0 "O2 Micro OZ711M1 CardBus" rev 0x20: irq 11
cbb1 at pci0 dev 11 function 1 "O2 Micro OZ711M1 CardBus" rev 0x20: irq 11
"O2 Micro OZ711Mx CardBus" rev 0x00 at pci0 dev 11 function 2 not configured
pciide0 at pci0 dev 16 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4026GAX>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
alipm0 at pci0 dev 17 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz
clock
iic0 at alipm0
maxtmp0 at iic0 addr 0x4c: max6657
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
ohci0 at pci0 dev 18 function 0 "NEC USB" rev 0x43: irq 10, version 1.0
ohci1 at pci0 dev 18 function 1 "NEC USB" rev 0x43: irq 10, version 1.0
ehci0 at pci0 dev 18 function 2 "NEC USB" rev 0x04: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NEC EHCI root hub" rev 2.00/1.00 addr 1
bge0 at pci0 dev 19 function 0 "Broadcom BCM5705M" rev 0x03, BCM5705 A3
(0x3003): irq 10, address 00:12:79:57:e1:50
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
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
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NEC OHCI root hub" rev 1.00/1.00 addr 1
usb2 at ohci1: USB revision 1.0
uhub2 at usb2 "NEC OHCI root hub" rev 1.00/1.00 addr 1
biomask ed4d netmask ed4d ttymask ffff
mtrr: Pentium Pro MTRR support
ath0 at cardbus0 dev 0 function 0 "Atheros AR5212" rev 0x01: irq 11
ath0: AR5213 5.9 phy 4.3 rf5112a 3.6, ETSI1W, address 00:40:96:ad:e7:b4
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref
acpitz0: _AL3[0] not a object ref


and

hw.sensors.acpitz0.temp0=44.05 degC (zone temperature)
hw.sensors.acpitz1.temp0=45.05 degC (zone temperature)
hw.sensors.acpitz2.temp0=32.15 degC (zone temperature)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
hw.sensors.acpibat0.volt1=11.94 VDC (current voltage)
hw.sensors.acpibat0.amphour0=2.53 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.25 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.03 Ah (low capacity)
hw.sensors.acpibat0.amphour3=2.33 Ah (remaining capacity), OK
hw.sensors.acpibat0.raw0=1 (battery discharging), OK
hw.sensors.acpibat0.raw1=1102 (rate)
hw.sensors.acpiac0.indicator0=Off (power supply)
hw.sensors.maxtmp0.temp0=45.25 degC (Internal)
hw.sensors.maxtmp0.temp1=45.00 degC (External)

Reply via email to