Touchpad stops responding on HP Dm1-4010us
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
release: 12.04
package: linux-image-
expected: keyboard/trackpad respond to input
instead: keyboard/trackpad do not respond to input
Recently purchased the HP DM1-4010us. A nice little machine with the AMD E-450.
Unfortunately, it appears there is a bug that is triggered when temperature gets too high after some amount of activity, usually USB access for me. It freezes the built-in keyboard and trackpad. I have to restart or suspend/resume to get them back. Attaching a USB keyboard or mouse works fine. Laptop works normally otherwise. While the temperature doesn't get extreme it does seem that the problem becomes worse once the computer has reached its operating temperature -- around 60C. There are some bug reports out on the Linux bug tracker that link problems with the internal i8042 controller module and the thermal or battery module.
Thus began a series of attempted configurations to resolve the problem.
Different configurations:
I tried numerous distributions. All exhibited the issue to some extent. The difference between distos running a 2.6.32 kernel (Debian) and more recent kernels (3.2) were slight. Both resulting a a frozen keyboard/trackpad after short amount of time and activity.
How to consistently trigger the problem:
Insert a USB drive, mount drive on /mnt/temp
dd if=/dev/zero of=/mnt/
This isn't the only way -- normal activity will cause it to stop responding -- this just speeds up the process.
On my machine, using dd to generate a bunch of USB disk traffic locks up the keyboard/trackpad immediately. Note that the fn key for wireless and brightness are still working. Also, the operating temperature does effect the time it takes to lockup -- basically it it has come up to operating temperature the lockup will happen with almost no additional activity. But if it been off for a while using dd (above) will cause the freeze.
My notes on troubleshooting so far:
A solution offered on the HP forums notes you can pass the kernel a command to turn off the thermal controls of the kernel and rely on the BIOS instead (add thermal.off=1). This didn't work for me. On distos where thermal, ac, and battery are build as modules, I have removed them and then removed and reload the psamouse module. It brings the keyboard/trackpad back to life for a short period of time and then stops responding again. I've tested this running Fedora 17, Debian Squeeze, Ubuntu 12.04, and the SysRescueCd. Usually from a live USB drive but also from the HD.
I've put it through it's paces and temperature setting don't seem to have any effect. Also, still getting a few odd kernel warnings which I'll pull out here.
...
DMI: Hewlett-Packard HP Pavilion dm1 Notebook PC/3387, BIOS F.14 2/13/2012
...
ACPI: acpi_idle registered with cpuidle
[Firmware Bug]: Invalid critical threshold (0)
thermal LNXTHERM:00: registered as thermal_zone0
ACPI: Thermal Zone [THRM] (64 C)
GHES: HEST is not enabled!
...
It appears the Thermal event is not triggering the freeze -- keyboard and touch pad now freezing regularly even though temp is moderate and reports ok:
Thermal 0: ok, 63.0 degrees C
Thermal 0: trip point 0 switches to mode hot at temperature 100.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 97.0 degrees C
No combination of BIOS setting and thermal.off=1 seems to make any difference. The devices continue to stop responding. I stopped using the install on my hard drive and am now using a live USB version. Doesn't seem to make any difference. Think I need to start with whatever driver is controlling the touch pad/keyboard and work from there.
Trying acpi=off really breaks things -- can't boot of the usb drive. It appears this laptop relies heavily on acpi for normal operation.
Trying psmouse.proto=imps -- still freezes
At this point I noticed that the f12-mapped to wireless and the f2 and f3 key (brightness) work while the keyboard is "frozen". This definitely looks like something going on in kernel/user space -- not hardware breakage. Also, noticed the keyboard and mouse coming back for a couple seconds and then freezing up again though it doesn't happen often and freezes very quickly again. Changing the setting for fn key control in the BIOS, unfortunately, has no effect.
Timing of the freeze definitely temperature related, but at no time does the laptop reach any sort of critical temperature. Stays in the 59-64C range.
More odd behavior -- once the machine locks up, it will lock up again very quickly after the next reboot. Doesn't matter if I shutdown and power the machine off to reboot. If I remove the battery and re-insert it, however, it will reset and it take a while for the lockup to occur again. Then it's back to locking up soon after a soft-reboot. Why would the battery be linked to this behavior? Or perhaps a red herring -- I haven't tested that extensively. This may just be letting the laptop cool of a little. Again -- it never gets too hot but once it reaches operating temperature, the freezes are almost immediately after reboot.
Again booted Ubuntu -- install this time. After keyboard/touchpad froze did a rmmod psmouse. Took a while to register and then flooded terminal with repeated key. Dmesg shows :
atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly.
Can't get keyboard/touchpad restarted without a reboot or suspend/resume. HP FN Keys are working.
Again, looks like some combination of resource collision between something in ACPI and the i8042 kernel space.
Attempted a series of kernel mode setting by themselves and in combination for i8042:
i8042.nomux
i8042.notimeout
i8042.reset
i8042.dumbkbd
None of these setting resolved the issue.
After a while the freeze happens so quickly that the i8042 module doesn't look like it can initialize the devices. For example tried to pas i8042.reset with no effect:
[ 33.632233] input: PS/2 Synaptics TouchPad as /devices/
[ 33.832101] psmouse serio1: Failed to enable mouse on isa0060/serio1
It's really odd how the devices can freeze and lockup again -- if I knew what was getting released and then causing the lockup I think I could get somewhere. For instance, started with keyboard/trackpad frozen, then it kicks a couple messages (see below) and then the keyboard/trackpad are working again (but freeze again soon after):
[ 36.860195] input: PS/2 Generic Mouse as /devices/
[ 37.060096] psmouse serio1: Failed to enable mouse on isa0060/serio1
[ 433.522028] psmouse serio1: Mouse at isa0060/
another example:
psmouse serio1: TouchPad at isa0060/
atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying access hardware directly.
Sometimes after reload and reset it thinks the isa0060/
I'm stuck. Let me know if you need any additional information or testing -- though I may just have to send this back to HP and find a laptop that has better Linux support.
Meanwhile in Windows:
The install of Windows seems to work without any issues for the most part but I've now seen it lock up once on a reboot from Linux -- but after waiting a little bit with a frozen keyboard/trackpad it started working normally. It appears the Windows drivers know how to circumvent the problem.
And here is cat /proc/bus/
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/
S: Sysfs=/
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/
S: Sysfs=/
U: Uniq=
H: Handlers=event1
B: PROP=0
B: EV=21
B: SW=1
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/
S: Sysfs=/
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/
S: Sysfs=/
U: Uniq=
H: Handlers=sysrq kbd event3
B: PROP=0
B: EV=120013
B: KEY=20000 20 0 0 500f02100003 3803078f900d401 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/
S: Sysfs=/
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0
I: Bus=0003 Vendor=046d Product=c016 Version=0110
N: Name="Logitech Optical USB Mouse"
P: Phys=usb-
S: Sysfs=/
U: Uniq=
H: Handlers=mouse0 event5
B: PROP=0
B: EV=17
B: KEY=70000 0 0 0 0
B: REL=103
B: MSC=10
I: Bus=0003 Vendor=05c8 Product=032b Version=0108
N: Name="HP TrueVision HD"
P: Phys=usb-
S: Sysfs=/
U: Uniq=
H: Handlers=kbd event7
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="HP WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/
U: Uniq=
H: Handlers=kbd event9
B: PROP=0
B: EV=33
B: KEY=4000000000 0 1000700000000 2100400 0 0
B: MSC=10
B: SW=22
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HD-Audio Generic HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA ATI SB Mic"
P: Phys=ALSA
S: Sysfs=/
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA ATI SB Headphone"
P: Phys=ALSA
S: Sysfs=/
U: Uniq=
H: Handlers=event12
B: PROP=0
B: EV=21
B: SW=4
I: Bus=0003 Vendor=413c Product=2003 Version=0110
N: Name="Dell Dell USB Keyboard"
P: Phys=usb-
S: Sysfs=/
U: Uniq=
H: Handlers=sysrq kbd event8
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/
S: Sysfs=/
U: Uniq=
H: Handlers=mouse1 event6
B: PROP=9
B: EV=b
B: KEY=6420 30000 0 0 0 0
B: ABS=260800011000003
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 1: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'Generic'/'HD-Audio Generic at 0xf0344000 irq 43'
Mixer name : 'ATI R6xx HDMI'
Components : 'HDA:1002aa01,
Controls : 6
Simple ctrls : 1
Card0.Amixer.
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Card1.Amixer.info:
Card hw:1 'SB'/'HDA ATI SB at 0xf0340000 irq 16'
Mixer name : 'IDT 92HD87B2/4'
Components : 'HDA:111d76d9,
Controls : 16
Simple ctrls : 9
CurrentDmesg:
[ 13.089765] r8169 0000:07:00.0: eth0: link up
[ 13.090596] ADDRCONF(
[ 14.856332] init: bluetooth main process (775) killed by SEGV signal
[ 14.856403] init: bluetooth main process ended, respawning
[ 23.256037] eth0: no IPv6 routers present
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
MachineType: Hewlett-Packard HP Pavilion dm1 Notebook PC
Package: linux (not installed)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.79
Tags: precise
Uname: Linux 3.2.0-26-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 2/13/2012
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.14
dmi.board.
dmi.board.name: 3387
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 36.15
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP Pavilion dm1 Notebook PC
dmi.product.
dmi.sys.vendor: Hewlett-Packard
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: needs-upstream-testing precise |
tags: |
added: kernel-bug-exists-upstream removed: needs-upstream-testing |
summary: |
- Touchpad stops responding on HP Dm1-4010us + Keyboard and Synpatics TouchPad stop responding on HP Dm1-4010us |
summary: |
- Keyboard and Synpatics TouchPad stop responding on HP Dm1-4010us + Keyboard and Synaptic TouchPad stop responding on HP Dm1-4010us |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1026697
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.