Re: keyboard problems on HP Pavilion ZE4200

From: Jiri Kosina
Date: Tue Jun 16 2009 - 04:48:37 EST



[ restored CC list ]

On Thu, 11 Jun 2009, Bringer Didier wrote:

> > > >Under linux (ubuntu 9) some keys are "pressed" even when I'm not
> > > >touching the keyboard, so for example it launches the tool for the
> > > >printscreen hundreds of times and then the machine is not usable
> > > >anymore...
> > >Which kernel? Does it happen on 2.6.30? Does it happen on console?
> > >Which keys?
> >
> >Also output of 'evtest' on the corresponding device in /dev/input/event?
> >from the time the key(s) get stuck will be helpful.
> >
> >Is the keyboard in question PS2-conntected or USB-connected?
> First of all, thank you for your answer
>
> Kernel : Linux champ 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC
> 2009 i686 GNU/Linux
>
> Output of evtest /dev/input/event4 while the bug appears

> Event: time 1244751563.258790, -------------- Report Sync ------------
>Event: time 1244751563.349861, type 4 (Misc), code 4 (ScanCode), value 54
> Event: time 1244751563.349897, type 1 (Key), code 99 (SysRq), value 1
> Event: time 1244751563.349900, -------------- Report Sync ------------
> Event: time 1244751563.370076, type 4 (Misc), code 4 (ScanCode), value 38
> Event: time 1244751563.370107, type 1 (Key), code 56 (LeftAlt), value 0
> Event: time 1244751563.370109, -------------- Report Sync ------------
> Event: time 1244751563.401550, type 4 (Misc), code 4 (ScanCode), value 0f
> Event: time 1244751563.401583, type 1 (Key), code 15 (Tab), value 0
> Event: time 1244751563.401586, -------------- Report Sync ------------
> Event: time 1244751563.599697, type 4 (Misc), code 4 (ScanCode), value 54
> Event: time 1244751563.599731, type 1 (Key), code 99 (SysRq), value 2

So forever-repeating sysrq/printscreen is really coming out of the evdev
input node.

Could you please boot you kernel with i8042.debug kernel parameter and
send the output from the time the bug triggers? This way we'll see whether
the repeated key really arrives from PS/2.

> I will try with a 2.6.30 soon

Do you know about any kernel version where this bug didn't trigger?

> Weirdly the bug doesn't seem to work when I use KDE as windowsmanager...
> Under gnome it is every 20 seconds that it happens. I cannot say that
> the bug really doesn't appear under kde but I cannot see effects of it

You can check the evtest output when running KDE, if the repeated key
appears there as well.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/