[Bug 226069] New: ac-adapter state and battery charing is not updated on hp NC6400
https://bugzilla.novell.com/show_bug.cgi?id=226069 Summary: ac-adapter state and battery charing is not updated on hp NC6400 Product: openSUSE 10.2 Version: RC 5 Platform: All OS/Version: All Status: NEW Severity: Critical Priority: P5 - None Component: Mobile Devices AssignedTo: trenn@novell.com ReportedBy: mmaher@novell.com QAContact: qa@suse.de CC: behlert@novell.com, seife@novell.com, fseidel@novell.com when i pull off the power cable, kpowersave don't detect it. icon and status is still on cable. /proc/acpi/ac_adapter/C1AE/state don't update any data too. battery does apparently not discharge. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 axelgenus@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |axelgenus@gmail.com ------- Comment #1 from axelgenus@gmail.com 2006-12-11 08:32 MST ------- This also applies to NX7400! Many recent HP laptops are affected by this problem (often called "bad state"). It would be enough to compile psmouse as a module and remove it before shutdown: # echo "/sbin/modprobe -r psmouse" > /etc/init.d/host.local Unfortunately openSuSE's kernel comes with psmouse built-in so it doesn't work. I also can't recompile my kernel because the support for my Wireless card is not in the kernel sources (ipw3945). PLEASE FIX THE KERNEL CONFIGURATION! Other distros (i.e. Ubuntu) already come with psmouse compiled as a module!!! Take a look at this website: http://emisca.altervista.org/nx7400/. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #2 from axelgenus@gmail.com 2006-12-11 08:34 MST ------- Sorry, a mistake: # echo "/sbin/modprobe -r psmouse" > /etc/init.d/halt.local -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #3 from seife@novell.com 2006-12-11 11:14 MST ------- (In reply to comment #1)
This also applies to NX7400! Many recent HP laptops are affected by this problem (often called "bad state").
It would be enough to compile psmouse as a module and remove it before shutdown:
# echo "/sbin/modprobe -r psmouse" > /etc/init.d/host.local
Are you sure? Loading psmouse as a module will fix the battery state?
Take a look at this website: http://emisca.altervista.org/nx7400/.
This says nothing about battery problems. Also, the nx7400 i have here does not have a battery problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #4 from axelgenus@gmail.com 2006-12-11 11:44 MST ------- (In reply to comment #3)
Are you sure? Loading psmouse as a module will fix the battery state?
Yes, it does. Follow this instruction to have a working laptop: 1) install the kernel-sources, gcc, gcc-c++ and ncurses-devel from SUSE 2) in /usr/src/linux do "make cloneconfig" 3) in the files /usr/src/linux/.config replace the line "CONFIG_MOUSE_PS2=y" by "CONFIG_MOUSE_PS2=m" 4) compile and install the kernel (make; make modules_install; make install) 5) in the file /etc/sysconfig/kernel" add the value "psmouse" to the variable MODULES_LOADED_ON_BOOT 6) to the file /etc/init.d/halt.local add the line "rmmod psmouse" 7) Shut down the laptop 8) Unplug the battery 9) Wait 5 seconds and plug the battery again 10) Power on the laptop and forget that
Take a look at this website: http://emisca.altervista.org/nx7400/. This says nothing about battery problems.
Have you read it?!? Take a look at "ACPI problems and fixes, bad state problem" paragraph...
Also, the nx7400 i have here does not have a battery problem.
There are many models called NX7400... maybe you're so luck to have one working out-of-box. However this is the only way to make "bad state" go away: I've tested it and it works! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 axelgenus@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Mobile Devices |Kernel Priority|P5 - None |P2 - High Platform|All |HP Fixed in Milestone|--- |Final Version|RC 5 |Final -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 axelgenus@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ac-adapter state and battery|AC adapter and battery states are not updated on |charing is not updated on hp|HP NC6400 and HP NX7400 |NC6400 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 trenn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Priority|P2 - High |P5 - None ------- Comment #5 from trenn@novell.com 2006-12-11 11:54 MST ------- Please do not play with severity/priority switches. I know about these bugs. It's right that the psmouse module workarounds an ACPI bug, but AFAIK it's not this one, but it's cpufreq not going up to the highest freq. This one is already fixed properly. It's ok to let this one set to critical. The problem is that the patches for that one are quite risky and I want to have them tested on a wide range on machines first. I can provide you with a test kernel the next days. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #6 from axelgenus@gmail.com 2006-12-12 01:34 MST ------- (In reply to comment #5)
Please do not play with severity/priority switches. I know about these bugs.
Sorry but this bug makes the distro (which is a very good distro) almost useless on my laptop so I changed priority...
It's right that the psmouse module workarounds an ACPI bug, but AFAIK it's not this one, but it's cpufreq not going up to the highest freq. This one is already fixed properly.
Which one is fixed? The ACPI problem or the CPUfreq one? I had both of them with openSuSE 10.2...
It's ok to let this one set to critical. The problem is that the patches for that one are quite risky and I want to have them tested on a wide range on machines first. I can provide you with a test kernel the next days.
Ok, thanks... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed in Milestone|Final |--- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #7 from trenn@novell.com 2006-12-12 01:58 MST ------- The cpufreq one (here a little extract of the discussion of the patch):
I don't know about the HP NX 6125, but on my nc 6320, you have to rmmod psmouse before you shutdown or reboot the computer, otherwise something upsets the BIOS and it won't run at full speed on next boot up.
The proposed patch fix exactly this one on the HP NX 6125.
Do you really still see the cpufreq not going up to the highest freq with 10.2 final? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #8 from axelgenus@gmail.com 2006-12-12 02:07 MST ------- (In reply to comment #7)
Do you really still see the cpufreq not going up to the highest freq with 10.2 final?
I checked the CPU frequency when I recompiled the kernel and it went up to 1.33GHz and down to 1GHz. I have a Centrino Core Duo 1.66GHz. I tried many linux distros and NONE gave me the maximum speed... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #9 from trenn@novell.com 2006-12-12 08:46 MST ------- Alessandro, I am quite sure you are wrong. I just checked with a SLE10 kernel without the mentioned patch and I checked with a 10.2 kernel (2.6.18.2-34, not a vanilla this one might not have that patch yet!) on a HP nc6400. The SLE10 kernel (patch is in SP1, this one should also work then) shows the symptom, I only have 1.66 GHz The 10.2 kernel has this fixed and goes up to 2GHz. So please do not recompile yourself and recheck on a 10.2 final, binary kernel and your machine should go up to 1.66GHz. These problems have nothing to do with the mouse, it's just pure luck that these bugs can be workarounded by a totally unrelated module. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #10 from axelgenus@gmail.com 2006-12-12 09:11 MST ------- (In reply to comment #9)
So please do not recompile yourself and recheck on a 10.2 final, binary kernel and your machine should go up to 1.66GHz.
OK I'll try that but I don't really care too much about speed, what I *really* need is that ACPI works the way it should (when I connect/disconnect my laptop from AC power, AC adapter and battery status MUST update!).
These problems have nothing to do with the mouse, it's just pure luck that these bugs can be workarounded by a totally unrelated module.
I don't know if it's a BIOS bug or a kernel bug... removing the psmouse module before shutdown/reboot works. Moreover it's harmless to compile PS/2 mouse support as a module so I don't see why it's built in the kernel. The only thing I'm asking for is to change a "y" in a "m" in the kernel configuration, that's all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #11 from trenn@novell.com 2006-12-12 12:59 MST ------- Be careful: I also run into this with 10.2. AFAIK this is because I booted into SLED10 once and got the limited states. The bad system state survives a reboot and even shutdown somehow. I removed battery and AC for a minute or so, that should help, but didn't, maybe I should have removed the power for longer time, no idea. At lease it should work with a "only 10.2 booted system"... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #12 from axelgenus@gmail.com 2006-12-13 03:26 MST ------- (In reply to comment #11)
The bad system state survives a reboot and even shutdown somehow.
I know... it's the stragest thing at all... When I remove my battery the system goes back to normal state in few seconds. However, I'm also using Ubuntu 6.10 and its kernel has psmouse compiled as a module... Maybe unloading that module before shutdown/reboot is not the right solution and it's just a workaround but, at the moment, is the only *secure* way to solve the problem. I hope that either HP will finally fix the BIOS or someone will find a good patch for the kernel as soon as possible. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #13 from clint@traveljury.com 2006-12-16 11:04 MST ------- Created an attachment (id=110004) --> (https://bugzilla.novell.com/attachment.cgi?id=110004&action=view) messages log while trying to connect -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #14 from clint@traveljury.com 2006-12-16 11:04 MST ------- Created an attachment (id=110005) --> (https://bugzilla.novell.com/attachment.cgi?id=110005&action=view) NetworkManager log wil trying to connect -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #15 from clint@traveljury.com 2006-12-16 11:06 MST ------- Created an attachment (id=110006) --> (https://bugzilla.novell.com/attachment.cgi?id=110006&action=view) hwinfo for my wireless car -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 clint@traveljury.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #110004|messages log while trying to|ignore - wrong bug description|connect | Attachment #110004|0 |1 is obsolete| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 clint@traveljury.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #110005|NetworkManager log wil |ignore - wrong bug description|trying to connect | Attachment #110005|0 |1 is obsolete| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 clint@traveljury.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #110006|hwinfo for my wireless car |ignore - wrong bug description| | Attachment #110006|0 |1 is obsolete| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #16 from trenn@novell.com 2007-01-04 06:32 MST ------- Created an attachment (id=111478) --> (https://bugzilla.novell.com/attachment.cgi?id=111478&action=view) This one should fix it (see http://bugzilla.kernel.org/show_bug.cgi?id=5534, comment #180) A similar patch already was mainline for some weeks, but broke Linus' machine and got reverted again. It got reworked and this is what Alexey with help from some other good kernel guys suggests for 2.6.20 now. I already adjusted and committed this one to SLED10-SP1. Andreas, Andi can I commit this to 10.2? I would wait one SLED10-SP1 preview (patch didn't get into Preview1), if I don't get any bug reports after about a week or two, I would like to add this one to 10.2, is that ok? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 trenn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ak@novell.com Status|ASSIGNED |NEEDINFO Info Provider| |aj@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 trenn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markus.walser@gmail.com ------- Comment #17 from trenn@novell.com 2007-01-04 09:08 MST ------- *** Bug 224286 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #18 from aj@novell.com 2007-01-08 00:52 MST ------- Looking at the history of the bug, we really need more testers. Could you submit it to kernel CVS head while it's still at 2.6.18 now so that we get more testing? If that and SP1 are fine, I'm ok with adding this to 10.2 after two weeks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #19 from axelgenus@gmail.com 2007-01-08 03:53 MST ------- That patch doesn't resolve the problem (it's about something else). I opened a new bug at kernel bugzilla (http://bugzilla.kernel.org/show_bug.cgi?id=7689), it had already been assigned... I'm waiting for news. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #20 from trenn@novell.com 2007-01-08 10:42 MST ------- comment #18: Yes, of course after the CVS got branched I can just push it... done patch is committed to CVS Head. AFAIK kernel of the day sync to ftp does not work fine ATM. I will place a kernel rpm to test into my home soon as compilation is through and point you to a test kernel. This patch should help a lot people with a recent HP and thermal, battery or fan update problems. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 ------- Comment #21 from admin@phdserver.com 2007-01-08 12:23 MST ------- Hi Thomas, I could confirm the "bad state" problem is still present in the HP nx9420 with bios F.17 and OpenSuse 10.2. The workaround is removing psmouse before shutdown. Also, not related with above, max cpu freq is not reached by default when starting OpenSuse 10.2. I have to do cpufreq-set -c 0 -u 1833000 ; cpufreq-set -c 1 -u 1833000 and then all is working as it should. I would be happy to test your patched kernel. Thanks. Philippe. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 trenn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@phdserver.com ------- Comment #22 from trenn@novell.com 2007-01-10 03:28 MST ------- *** Bug 200169 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=226069 trenn@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE ------- Comment #23 from trenn@novell.com 2007-01-10 04:38 MST ------- Collecting all ACPI HP bugs that seem to have similar issues in 179702 now, 10.1 and 10.2. *** This bug has been marked as a duplicate of bug 179702 *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com