Bug 197561

Summary: Kernel does'nt update /proc/acpi/battery/*/state on Laptop HP Compaq nx6125
Product: [openSUSE] SUSE Linux 10.1 Reporter: Tob Sch <Tob_Sch>
Component: KernelAssignee: Thomas Renninger <trenn>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ihno, suse-beta
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: output from command "acpidump"

Description Tob Sch 2006-08-07 14:03:57 UTC
I'm using the newest SUSE 10.1 x86_64 kernel 2.6.16.21-0.13-default.

I discovered, that the /proc/acpi/battery/C*/state files are not updated by the kernel. So for example also the "KPowersave" information icon always shows the wrong (old) capacity.

But after doing a "cat /proc/acpi/thermal_zone/TZ1/temperature", the kernel seems to freeze for 2-3 seconds, after that, the kacpid consumes 100%, but the kernel is updating /proc/acpi/battery/C*/state (for a while).
That seems to be a kernel bug :-(
Comment 1 Tob Sch 2006-08-07 14:20:27 UTC
Sometimes the kernel hangs (without any messages).

Sometimes I get following message (without kernel hanging):

Aug  7 16:03:23 MyLaptop [powersave]: WARNING (continueEvent:264) Could not exec
ute program /usr/lib/powersave/scripts for event daemon.scheme.change: No such f
ile or directory
Comment 2 Lars Marowsky-Bree 2006-08-07 15:24:14 UTC
Retrieving the battery state is an ACPI function.
Comment 3 Thomas Renninger 2006-08-07 15:37:53 UTC
> That seems to be a kernel bug :-(
Or BIOS.
Best you search for the newest BIOS of the machine first.
If you still have problems, please attach acpidump and dmesg output.

This is probably a duplicate of:
http://bugzilla.kernel.org/show_bug.cgi?id=5534

We also have such a machine. I try to have a look at it this week.
-> Still better go for the latest BIOS.
Comment 4 Tob Sch 2006-08-08 15:32:53 UTC
The same happens with the newest BIOS (F.OF) from http://h18007.www1.hp.com/support/files/hpcpqnk/us/locate/64_6170.html#0

Comment 5 Tob Sch 2006-08-08 15:37:08 UTC
Created attachment 95484 [details]
output from command "acpidump"
Comment 6 Thomas Renninger 2006-08-10 14:34:51 UTC
Holger/Seife:
Aug  7 16:03:23 MyLaptop [powersave]: WARNING (continueEvent:264) Could not
execute program /usr/lib/powersave/scripts for event daemon.scheme.change: No such file or directory

Any idea how that could happen

The nx6125 has ACPI problems with current kernels, also see:
http://bugzilla.kernel.org/show_bug.cgi?id=5534
I currently try to figure out what is going wrong here, but it's complicated...
Comment 7 Thomas Renninger 2006-08-18 14:10:19 UTC
This is probably a duplicate...
Does boot parameter: ec_intr=0
help here?

*** This bug has been marked as a duplicate of bug 200169 ***