Keyboard issue on HP dv6-3013cl Laptop

Asked by recrit

Laptop keyboard has stopped working in Ubuntu 10.10, Linux 2.6.35-28, GNOME 2.32.0. Keyboard was working on initial install for about 2 weeks before March 20 2011, then I suspect after a kernel update, it started to stop working.

Symptoms:
1. On Ubuntu login screen, I can press one key which then infinitely repeats that key character. I can stop the insanity by using a USB keyboard. After stopping it, the laptop keyboard is completely unresponsive.

2. Laptop keyboard does still work for
---- any boot screen (bios, grub, etc).
---- windows 7

3. I can connect a USB keyboard and it works fine. I can login and then try the laptop keyboard and get the same as in 1.

What I have done:
- reinstalled Ubuntu - issue occurred immediately as opposed to initial install when it worked
- updated BIOS

Laptop Specs:
- http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02204319&tmp_task=prodinfoCategory&lc=en&dlc=en&cc=us&site=null&key=null&product=4230412
- RAM upgraded to 8GB

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-input-keyboard Edit question
Assignee:
No assignee Edit question
Solved by:
recrit
Solved:
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

You suspect kernel issue. Could you install previous kernel and reboot on it to check this hypothesis.

Revision history for this message
recrit (recrit) said :
#2

Linux 2.6.35-22 came with the 10.10 install that I have. l selected that version from the grub boot screen and got the same issue.

So it might just a timing coincidence that the kernel also updated around the time this issue started.

Revision history for this message
delance (olivier-delance) said :
#3

Sorry, I'm not expert in keyboard management by xorg.
You could try a live session of Beta2 of Ubuntu 11.04 (Natty) to see if problem will be solved with this version.
You could also request help on ubuntuforums.org
Please post again when will you have try Beta2 of Natty

Revision history for this message
recrit (recrit) said :
#4

thanks for reply.
I just tested Ubuntu 11.04 beta2 from a live cd and had the same issue.

Revision history for this message
recrit (recrit) said :
#5

I tracked this down to how the scancodes are being translated for the initial key stroke.
After reading some on keyboard drivers and scancodes, I wanted to capture what happened on the first key stroke. I used evtest to scope out what was going on. When the initial key was pressed, I noticed that there was no break code firing after the make code. From my minimal reading, I saw that some HP PS/2 keyboards use the scancode set 3, so I tried a key that always has a break even in set 3 -- Caps Lock. If Caps Lock is the first key pressed after boot (ie on login screen), then the keyboard works fine for the whole session.

Why does that fix it? no clue. Hopefully someone more familiar with how the translations are handled can solve it.

If you have the same issue that I experienced, then try hitting Caps Lock first.

Revision history for this message
Paul Stewart (paulbrianstewart) said :
#6

Hi

This may sound like a silly question, but are you sure it is not a case of having something sticky or some dirt in the keyboard mechanism under the keys? I have a HP laptop, and they are notorious for jamming the keys when a cookie crumb or something like that gets under the plastic key and into the pusher plastic underneath...I have had this happen and needed to flick the key off with a knife, clean it and then push the key back on.

It sounds like a hardware problem, especially as it isn't a problem when you use the USB keyboard.

Hope this helps
Paul

Revision history for this message
recrit (recrit) said :
#7

I don't want to rule at that it could be a hardware problem, but I don't think its anything stuck under the keys.
[1] if it was a stuck key then they all are stuck since I've tried pressing many different keys as the first key.
[2] why does the entire keyboard die after pressing the 1 key
[3] why does hitting caps lock fix all of the keys

Revision history for this message
Paul Stewart (paulbrianstewart) said :
#8

Well, that probably rules out my idea then.
I'll have to pass it to someone else.

Revision history for this message
Snabieel (snabieel) said :
#9

yup, I have the same problem. i updated my laptop from 10.04 to 10.10 and along with the kernel and the keyboard is not working !!!

Revision history for this message
Snabieel (snabieel) said :
#10

update: After upgrading my Ubunto to 11.04 the keyboard is automatically fixed.

Revision history for this message
recrit (recrit) said :
#11

this has been solved for me with latest ubuntu 11.04, linux 2.6.38-11, gnome 2.31.1 .. marking as solved

Revision history for this message
recrit (recrit) said :
#12

*correction on #11 - gnome 2.32.1