[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    No ACPI battery/ac status readings on a ASUS UL30A laptop.
From:       Torbjørn_H._Orskaug <torbjorn.orskaug () gmail ! com>
Date:       2010-04-29 10:31:39
Message-ID: i2p7f39de871004290331jc3858fa6kd6cbe95d374830e0 () mail ! gmail ! com
[Download RAW message or body]

Hi misc!

I just got one of these babies as a present and put OpenBSD on it
right away. Everything seems to be running smoothly, with the single
exception of battery and ac status readings in apm(8):

Battery state: absent, 0% remaining, unknown life estimate
A/C adapter state: not known
Performance adjustment mode: auto (1300 MHz)

If however, I remove and reattach the battery, it's status is there in
all it's glory. I've poked around in acpibat.c and acpiac.c but my
experience with ACPI is pretty limited and I can't really make much
sense of it (yet). Has anyone else experienced this problem? Are there
any obvious things I can try to get things working? I'm currently
building a kernel with ACPI_DEBUG defined to see if I can get some
more information on what's going on.

dmesg:
OpenBSD 4.7-current (GENERIC.MP) #557: Tue Apr 27 00:36:31 MDT 2010
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU U7300 @ 1.30GHz ("GenuineIntel" 686-class) 1.34 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D \
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 real mem  = 3184717824 (3037MB)
avail mem = 3089928192 (2946MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/28/09, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xfcce0 (41 entries)
bios0: vendor American Megatrends Inc. version "212" date 12/28/2009
bios0: ASUSTeK Computer Inc. UL30A
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG SLIC ECDT DBGP BOOT OEMB HPET GSCI SSDT
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB5(S3) EUSB(S3)
USB3(S3) USB4(S3) USB6(S3) USBE(S3) HDAC(S3) P0P1(S3) P0P3(S3)
P0P5(S3) P0P6(S3) P0P7(S4) LAN_(S4) GLAN(S4) P0P8(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 205MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU U7300 @ 1.30GHz ("GenuineIntel" 686-class) 1.34 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,D \
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0P2)
acpiprt2 at acpi0: bus 3 (P0P7)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpitz0 at acpi0: critical temperature 100 degC
acpiac0 at acpi0: AC unit in unknown state
acpibat0 at acpi0: BAT0 not present
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: VGA_
acpivout0 at acpivideo0: CRTD
acpivout1 at acpivideo0: LCDD
acpivout2 at acpivideo0: HDMI
bios0: ROM list: 0xc0000/0xfe00!
cpu0: Enhanced SpeedStep 1339 MHz: speeds: 1300, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 16 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 7)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 3)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 18 (irq 6)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
apic 2 int 22 (irq 4)
azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 2 int
17 (irq 5), address 1c:4b:d6:ba:b3:4b
athn0: AR9285 rev 2 (1T1R), ROM rev 13
ppb2 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 2
int 17 (irq 5)
pci3 at ppb2 bus 3
alc0 at pci3 dev 0 function 0 "Attansic Technology L2C" rev 0xc0: apic
2 int 17 (irq 5), address 48:5b:39:3f:2b:f0
atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 11
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 23 (irq 10)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 19 (irq 3)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 18 (irq 6)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 23 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci4 at ppb3 bus 4
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 2
int 19 (irq 3), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST9500325AS, 0002> SCSI3 0/direct fixed
sd0: 476940MB, 512 bytes/sec, 976773168 sec total
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub1 port 3 configuration 1 interface 0 "SanDisk
Corporation U3 Cruzer Micro" rev 2.00/0.10 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <SanDisk, U3 Cruzer Micro, 3.27> SCSI2
0/direct removable
sd1: 3913MB, 512 bytes/sec, 8015502 sec total
cd0 at scsibus1 targ 1 lun 1: <SanDisk, U3 Cruzer Micro, 3.27> SCSI2
5/cdrom removable
uvideo0 at uhub0 port 3 configuration 1 interface 0 "SuYin USB 2.0 UVC
0.3M Webcam" rev 2.00/1.11 addr 2
video0 at uvideo0
ubt0 at uhub2 port 1 "Broadcom Corp BT-253" rev 2.00/2.35 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b

acpidump and pcidump are located at:
http://orskaug.org/acpidump.out
http://orskaug.org/pcidump.out


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic