Bug#290226: acpi is dumb on 2.6.9-1-386 and 2.6.10-1-386 on hp/compaq nx9010
Package: kernel-image-2.6-386
Version: 101
Severity: normal
I'm reporting this here as I'm not sure if I should report separate
bugs for 2.6.9 and 2.6.10.
My ACPI seems to be quite dumb when using these kernels. The battery
status, to be specific. I booted my 2.6.10-1-386 kernel and had this:
/proc/acpi/battery/BAT1
kov@alface $ cat state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 3584 mAh
present voltage: 16640 mV
Then I unplugged my AC cable and everything continued the same. The
LCD didn't have the light lowered and proc didn't notice a change.
I plugged it again, unplugged and the GNOME battery applet did notice
that change, the screen got darker, but state continued the same.
I left it that way for some time, the battery monitor was still showing
100%, the state proc file contained the same info as above. Then I
plugged the cable again and the GNOME monitor showed 94%, the screen got
brighter and state was like this:
/proc/acpi/battery/BAT1
kov@alface $ cat state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 3392 mAh
present voltage: 16032 mV
I left it plugged and then unplugged it again after some time. Screen
got darker, battery monitor showed 99% and state was like this:
~
kov@alface $ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 3552 mAh
present voltage: 16224 mV
This happens with 2.6.9 and 2.6.10 kernels. Does not happen with
2.6.8 ones. What kind of information can I provide to help debug
this problem? I've got a compaq/hp nx9010, as I said. Some aditional
info:
~
kov@alface $ cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: 4400 mAh
last full capacity: 3584 mAh
battery technology: rechargeable
design voltage: 14800 mV
design capacity warning: 300 mAh
design capacity low: 200 mAh
capacity granularity 1: 32 mAh
capacity granularity 2: 32 mAh
model number: 30 32 4B 54 00
serial number: 38 33 31 30 00 00 00 00 00
battery type: 4C 49 4F 4E 00
OEM info: 4D 6F 74 20 53 61 6D 20 4F 00
~
kov@alface $ dmesg | grep -i acpi
BIOS-e820: 000000001df70000 - 000000001df7c000 (ACPI data)
BIOS-e820: 000000001df7c000 - 000000001df80000 (ACPI NVS)
ACPI: RSDP (v000 PTLTD ) @ 0x000f6ab0
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x1df7529b
ACPI: FADT (v001 ATI Salmon 0x06040000 ATI 0x000f4240) @ 0x1df7bf64
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x1df7bfd8
ACPI: DSDT (v001 ATI MS2_1535 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x8008
ACPI: setting ELCR to 0200 (from 0420)
ACPI: Subsystem revision 20041105
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK2] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK3] (IRQs 7 *10)
ACPI: PCI Interrupt Link [LNK4] (IRQs 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 7 11) *0, disabled.
ACPI: PCI Interrupt Link [LNK6] (IRQs 7 10) *0, disabled.
ACPI: PCI Interrupt Link [LNK7] (IRQs *5)
ACPI: PCI Interrupt Link [LNK8] (IRQs 7 10) *0, disabled.
ACPI: Embedded Controller [EC0] (gpe 24)
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
PnPBIOS: Disabled by ACPI
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNK6] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:08.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI wakeup devices:
ACPI: (supports S0 S3 S4 S5)
ACPI: PCI interrupt 0000:00:10.0[A]: no GSI - using IRQ 0
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK7] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:0b.2[C] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:0b.1[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:0a.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: Battery Slot [BAT1] (battery present)
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Processor [CPU0] (supports C1 C2)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Thermal Zone [THRM] (57 C)
Thanks,
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-386
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Versions of packages kernel-image-2.6-386 depends on:
ii kernel-image-2.6.8-2-386 2.6.8-12 Linux kernel image for version 2.6
(completing manualy:)
ii kernel-image-2.6.10-1-386 2.6.10-3 Linux kernel image for version 2.6.10 on 386.
-- no debconf information
Reply to: