kern/56024: ACPI suspend drains battery while in S3

amistry amistry at am-productions.biz
Tue Aug 26 22:20:12 PDT 2003


>Number:         56024
>Category:       kern
>Synopsis:       ACPI suspend drains battery while in S3
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 22:20:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anish Mistry
>Release:        FreeBSD 5.1-CURRENT #6
>Organization:
AM Productions
>Environment:
System: FreeBSD littleguy.am-productions.biz 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Sat Aug 23 00:16:23 EDT 2003     amistry at littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY  i386

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #6: Sat Aug 23 00:16:23 EDT 2003
    amistry at littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0401000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0401244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (859.34-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
real memory  = 251527168 (239 MB)
avail memory = 239869952 (228 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <FUJ    PAULING2> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0
acpi_cpu0: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 11
pcib0: slot 4 INTA is routed to irq 9
pcib0: slot 12 INTA is routed to irq 9
pcib0: slot 16 INTA is routed to irq 9
pcib0: slot 19 INTA is routed to irq 9
pcib0: slot 20 INTA is routed to irq 9
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <serial bus, USB> at device 2.0 (no driver attached)
pci0: <multimedia, audio> at device 4.0 (no driver attached)
pci0: <bridge, PCI-unknown> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge, PCI-CardBus> at device 12.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x1400-0x140f at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0: <RealTek 8139 10/100BaseTX, rev. C> port 0x8000-0x80ff mem 0xfc102000-0xfc1020ff irq 9 at device 16.0 on pci0
rl0: Ethernet address: 00:e0:00:ae:45:08
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <serial bus, FireWire> at device 19.0 (no driver attached)
pci0: <display, VGA> at device 20.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <embedded controller: GPE 0> port 0x66,0x62 on acpi0
orm0: <Option ROMs> at iomem 0xd0000-0xd0fff,0xc0000-0xcffff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 859337612 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu0: set speed to 100.0%
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_cmbat1: battery initialization start
ad0: 19077MB <TOSHIBA MK2018GAP> [38760/16/63] at ata0-master UDMA66
acd0: CD-RW <TOSHIBA DVD-ROM SD-R2212> at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-R2212 1F15> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: cd present [262257 x 2048 byte records]
Mounting root from ufs:/dev/ad0s2a
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
acpi_cmbat1: battery initialization failed, giving up
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xfc100000-0xfc100fff irq 11 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Kensington ? Pocket Mouse Pro Wireless, rev 1.10/0.01, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
pcm0: <Acer Labs M5451> port 0x1000-0x10ff mem 0xfc101000-0xfc101fff irq 9 at device 4.0 on pci0
pcm0: <SigmaTel STAC9756/57 AC97 Codec>

-- pciconf --
hostb0 at pci0:0:0:	class=0x060000 card=0x110e10cf chip=0x03951279 rev=0x02 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'LongRun Northbridge'
    class    = bridge
    subclass = HOST-PCI
none0 at pci0:0:1:	class=0x050000 card=0x110e10cf chip=0x03961279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'SDRAM Controller'
    class    = memory
    subclass = RAM
none1 at pci0:0:2:	class=0x050000 card=0x110e10cf chip=0x03971279 rev=0x00 hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'BIOS scratchpad'
    class    = memory
    subclass = RAM
none2 at pci0:2:0:	class=0x0c0310 card=0x10a210cf chip=0x523710b9 rev=0x03 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5237 USB Host Controller'
    class    = serial bus
    subclass = USB
none3 at pci0:4:0:	class=0x040100 card=0x112f10cf chip=0x545110b9 rev=0x01 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5451 PCI AC-Link Controller Audio Device'
    class    = multimedia
    subclass = audio
none4 at pci0:6:0:	class=0x068000 card=0x10a310cf chip=0x710110b9 rev=0x00 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M7101 Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
isab0 at pci0:7:0:	class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M1533 Aladdin IV ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
none5 at pci0:12:0:	class=0x060700 card=0x10c610cf chip=0xac50104c rev=0x01 hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1410 PC card cardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
atapci0 at pci0:15:0:	class=0x0101fa card=0x10a410cf chip=0x522910b9 rev=0xc3 hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'M1543 Southbridge EIDE Controller'
    class    = mass storage
    subclass = ATA
rl0 at pci0:16:0:	class=0x020000 card=0x111c10cf chip=0x813910ec rev=0x10 hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
none6 at pci0:19:0:	class=0x0c0010 card=0x116210cf chip=0x8026104c rev=0x00 hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB43AB21 1394a-2000 OHCI PHY/link-layer Controller'
    class    = serial bus
    subclass = FireWire
none7 at pci0:20:0:	class=0x030000 card=0x114f10cf chip=0x4c521002 rev=0x64 hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Rage P/M Mobility PCI'
    class    = display
    subclass = VGA

-- asl --
http://am-productions.biz/debug/littleguy.asl

-- acpidump --
http://am-productions.biz/debug/acpidump.txt

	
>Description:
	When using ACPI to suspend the machine to S3 the battery is drained abnormally fast as if a device is not shutdown properly.
>How-To-Repeat:
	On a Fujitsu P2110 with ACPI enabled on -CURRENT suspend the laptop into S3.  Wait about an hour then resume the laptop and notice that the battery is drained a few percent.  This doesn't happen in Win2k on the same machine or when just using hardware APM.
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list