All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Willies <jan@willies.info>
To: linux-acpi@vger.kernel.org
Subject: No battery status with 2.6.24-rcX anymore
Date: Fri, 14 Dec 2007 18:42:25 +0100	[thread overview]
Message-ID: <4762C081.4010000@willies.info> (raw)

Hello,

Since the 2.6.24-rcs my ACPI doesn't work correctly anymore. For instance, battery level is not reported and wakeup from S3 (s2ram) doesn't work anymore. My laptop is a Medion MD 96400 (MSI S270 equivalent).

My menuconfig looks like this:

[ ]   Deprecated /proc/acpi files
[ ]   Deprecated power /proc/acpi folders
[ ]   Deprecated /proc/acpi/event support
<M>   AC Adapter
<M>   Battery

--- Power supply class support
[ ]   Power supply debug
< >   Generic PDA/phone power driver
< >   DS2760 battery driver (HP iPAQ & others)

dmesg output:

 BIOS-e820: 0000000037f40000 - 0000000037f50000 (ACPI data)
 BIOS-e820: 0000000037f50000 - 0000000038000000 (ACPI NVS)
ACPI: RSDP 000F8360, 0014 (r0 MSI   )
ACPI: RSDT 37F40000, 003C (r1 MSI    1013      9262005 MSFT       97)
ACPI: FACP 37F40200, 0081 (r2 MSI    1013      9262005 MSFT       97)
ACPI: DSDT 37F403F0, 31EC (r1    MSI     1013  9262005 INTL  2002026)
ACPI: FACS 37F50000, 0040
ACPI: APIC 37F40300, 0054 (r1 MSI    OEMAPIC   9262005 MSFT       97)
ACPI: WDRT 37F40360, 0047 (r1 MSI    MSI_OEM   9262005 MSFT       97)
ACPI: MCFG 37F403B0, 003C (r1 MSI    OEMMCFG   9262005 MSFT       97)
ACPI: SSDT 37F435E0, 002B (r1 OEM_ID OEMTBLID        1 INTL  2002026)
ACPI: OEMB 37F50040, 0049 (r1 MSI    MSI_OEM   9262005 MSFT       97)
ACPI: PM-Timer IO Port: 0x4008
ACPI: Core revision 20070126
ACPI: Table DSDT replaced by host OS
ACPI: DSDT 00000000, 2D03 (r1    MSI     1013  9262005 INTL 20061109)
ACPI: DSDT override uses original SSDTs unless "acpi_no_auto_ssdt"ACPI: setting ELCR to 0200 (from 0ce0)
ACPI: bus type pci registered
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S3 S5)
ACPI: Using PIC for interrupt routing
ACPI: EC: GPE = 0x6, I/O: command/status = 0x66, data = 0x62
ACPI: EC: driver started in poll mode
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.POP2._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 5 *6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 5 6 7 10 11 12 14 15) *0, disabled.
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnpacpi: exceeded the max number of IO resources: 24 
pnpacpi: exceeded the max number of IO resources: 24 
pnpacpi: exceeded the max number of IO resources: 24 
pnpacpi: exceeded the max number of IO resources: 24 
pnpacpi: exceeded the max number of IO resources: 24 
ACPI: EC: non-query interrupt received, switching to interrupt mode
pnp: PnP ACPI: found 9 devices
ACPI: ACPI bus type pnp unregistered
PCI: Using ACPI for IRQ routing
ACPI: RTC can wake from S4
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 6
ACPI: PCI Interrupt 0000:02:04.1[B] -> Link [LNKE] -> GSI 6 (level, low) -> IRQ 6
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:14.6[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt for device 0000:00:14.6 disabled
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:14.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
ACPI: duty_cycle spans bit 4
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
Time: acpi_pm clocksource has been installed.
ACPI: AC Adapter [ADP1] (off-line)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Power Button (CM) [PWRB]
ACPI: Thermal Zone [THRM] (62 C)
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:13.1[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:13.2[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt 0000:00:14.5[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 5
ACPI: PCI Interrupt 0000:02:09.0[A] -> Link [LNKG] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt 0000:01:05.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
Clocksource tsc unstable (delta = -78349667 ns)
spurious 8259A interrupt: IRQ7.

root@jan ~ # find /sys/ -name \*acpi\*
/sys/bus/acpi
/sys/firmware/acpi
/sys/module/pci_hotplug/parameters/debug_acpi
/sys/module/acpi
/sys/module/acpi/parameters/acpica_version
/sys/module/libata/parameters/noacpi

root@jan ~ # find /sys/ -name \*battery\*
/sys/bus/acpi/drivers/battery
/sys/module/battery

I have to boot with 'nolapic' to not run into a 10000+ wakeup/s issue but those notes above were made without 'nolapic'.


- Jan





             reply	other threads:[~2007-12-14 18:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14 17:42 Jan Willies [this message]
2007-12-14 20:04 ` No battery status with 2.6.24-rcX anymore Len Brown
2007-12-15 17:03   ` Jan Willies
2007-12-15 23:30     ` Rafael J. Wysocki
2007-12-16 12:58       ` Jan Willies
2007-12-16 14:34         ` Rafael J. Wysocki
2007-12-16 14:52           ` Jan Willies
2007-12-16 18:15             ` Alexey Starikovskiy
2007-12-16 20:08               ` Jan Willies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4762C081.4010000@willies.info \
    --to=jan@willies.info \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.