spurious keyboard events

Bug #63024 reported by Amedee Van Gasse
22
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Low
Unassigned
linux-source-2.6.17 (Ubuntu)
Won't Fix
Medium
philomela_sidhe

Bug Description

1/10 of every keypress behaves as if the key is continuously pressed. For example, I type a web address and I get http://wwwwwwwwwwwwwwwww ad infinitum or until another key is pressed. Depending on what key is repeated, the system may go into an infinite loop and hang.
Keyboard repetition is at the default values.
This occurs in Gnome, KDE, and even outside X (CTRL+ALT+F1).

This problem occurs only in Ubuntu 6.06LTS.

This problem did/does not occur in: Ubuntu 5.10, Knoppix 5.0, PC-BSD, Windows XP Pro, FreeDOS,...

The problem appears to be unrelated to hardware, because it appears with the following hardware:
* Logitech Cordless keyboard on USB
* Logitech Cordless keyboard on PS/2
* plain vanilla keyboard on PS/2

Steps to reproduce the problem:
* installing a clean Ubuntu 6.06, no installation of any extra software, and running the update. (sudo apt-get update)
Problem started somewhere in august, after an update. Before that, Ubuntu 6.06 LTS worked perfectly for more than a month.

Measures taken to mitigate the problem:
disabled keyboard repetition.
Now the modifier keys (ctrl, alt, shift,...) "sometimes" behave as if they are sticky.
Also, some keypresses get lost. This is also independent of the keyboard, typing speed *or* the person using it.
This is still annoying but does not cause a hang.

Tags: cft-2.6.27
description: updated
Revision history for this message
tjengo (tjengo) wrote :

exact the same problem here on kubuntu (now using edgy beta).

Revision history for this message
Frank (frank-feldner) wrote :

Similar keyboard issues, see also: https://launchpad.net/distros/ubuntu/+bug/63147

Revision history for this message
Amedee Van Gasse (amedee) wrote :

soe information that might be ueful:

amedee@saruman:~$ uname -a
Linux saruman 2.6.15-27-k7 #1 SMP PREEMPT Sat Sep 16 02:35:20 UTC 2006 i686 GNU/Linux
amedee@saruman:~$ lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
0000:00:08.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 378/SATA 378) (rev 02)
0000:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6200] (rev a2)

attached: xev output

Revision history for this message
Amedee Van Gasse (amedee) wrote :
Revision history for this message
Amedee Van Gasse (amedee) wrote :
Revision history for this message
Amedee Van Gasse (amedee) wrote :

I did a bit more troubleshooting.
When I boot with a "recovery mode" kernel, for example:

kernel /vmlinuz-2.6.17-10-386 root=/dev/md1 ro single

the problem does not appear.

When I boot with a fresh compiled plain vanilla kernel, straight from kernel.org, the problem is also there. This rules out any debian- or ubuntu-specific patches to the kernel. So it's either a standard kernel problem, or it's something completely unrelated.

I took a deep breath, made a good backup, and upgraded to Edgy. I don't want to jump to conclusions, but it appears that the keyboard issue is gone. This message is the longest text that I have typed in about two months (!) without double and triple checking every keypress. It took me about 2 minutes (including looking up that line in /boot/grub/menu.lst) when before it would have taken me over 15 minutes.

Revision history for this message
Frank (frank-feldner) wrote :

I can confirm this bug!

See also #bug 63147

Revision history for this message
J. Sundermeyer (sunderme) wrote :

I have the same problem.
After a while keyboard gets unresponsive.
A workaround seems to be to unload and reload the usb module:
sudo modprobe -r uhci_hci;sudo modprobe uhci_hci

After that keyboard seems to work normally for a while.

Revision history for this message
WrMulf (robert-weinhold) wrote :

I had the same issues, but the problem ist gone since I replaced the kernel module for my onboard ethernet controller [lspci: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)] e100 (intel driver) by eepro100 (community driver). I'm not sure if this is a solution for everyone, but I realized, that the problems always occured during downloads or other network traffic.

Revision history for this message
Amedee Van Gasse (amedee) wrote :

On 15/10 I reported that the problem appeared to be gon when upgrading to Edgy.
Edgy is running smooth, and I haven't had any keyboard problems in 3 weeks.
So as far as I am concerned, the problem is solved and this bug report can be closed.

Revision history for this message
J. Sundermeyer (sunderme) wrote : Re: [Bug 63024] Re: spurious keyboard events

I have still the problem, also with edgy.

 Jan
-------- Original-Nachricht --------
Datum: Mon, 06 Nov 2006 19:59:13 -0000
Von: amedee <email address hidden>
An: <email address hidden>
Betreff: [Bug 63024] Re: spurious keyboard events

> On 15/10 I reported that the problem appeared to be gon when upgrading to
> Edgy.
> Edgy is running smooth, and I haven't had any keyboard problems in 3
> weeks.
> So as far as I am concerned, the problem is solved and this bug report can
> be closed.
>
> --
> spurious keyboard events
> https://launchpad.net/bugs/63024

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Revision history for this message
Brian Murray (brian-murray) wrote :

Is this still an issue for anybody? If so do you have the same issue in a virtual terminal console? (i.e. vt[1-4]) Thanks in advance.

Revision history for this message
J. Sundermeyer (sunderme) wrote :

If i remember correctly, all keyboard inputs are spurious/delayed and they problem disappears only after reboot or after unloading and reloading the usb kerenel module.

 Jan
-------- Original-Nachricht --------
Datum: Tue, 20 Feb 2007 23:54:39 -0000
Von: Brian Murray <email address hidden>
An: <email address hidden>
CC:
Betreff: [Bug 63024] Re: spurious keyboard events

> Is this still an issue for anybody? If so do you have the same issue in
> a virtual terminal console? (i.e. vt[1-4]) Thanks in advance.
>
> ** Changed in: Ubuntu
> Assignee: (unassigned) => Brian Murray
> Status: Unconfirmed => Needs Info
>
> --
> spurious keyboard events
> https://launchpad.net/bugs/63024

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Revision history for this message
Amedee Van Gasse (amedee) wrote :

On wo, 2007-02-21 at 07:27 +0000, J. Sundermeyer wrote:
> If i remember correctly, all keyboard inputs are spurious/delayed and
> they problem disappears only after reboot or after unloading and
> reloading the usb kerenel module.

I can confirm this, from memory.
When I had the problem, it was on all VTs.

But corrently I don't have the problem any more.
I am running Feisty.

--
Amedee

Revision history for this message
Brian Murray (brian-murray) wrote :

As I understand it per amedee this has been resolved in Feisty. Is anybody else still having this issue?

Revision history for this message
JohnP (john-pagett) wrote :

I've had this keyboard bug on and off since I started with Ubuntu (which is about 4 days now). Machine is a P4 500MHz "spare" which I thought I'd try Linux on.
Symptoms are that on pressing a key I randomly get anywhere from one to hundreds of that key's characters. I can improve the situation by disabling keyboard repeats, but this does not help when logging in. The login often skips the password entry, so I assume the "Enter" key is giving extra entries too. I have tried a different keyboard - this appeared to work correctly at first, but later gave the same problem.
The problem ONLY appears on the GUI, if I ctl alt F1 to a terminal, the key entry is fine.
I'm using Ubuntu 6.06.1, and the CD and image check out. I'm updating the system (111 updates!) to see if that works, but I'm having to use my "other" PC to write this.
I'll gladly supply any other information that you may need, but I'll need instruction if it's anything other than very basic! (I've used computers for years, going back to MSDOS and before, but the UNIX stuff is all new to me ;-)

JohnP

Revision history for this message
Frank (frank-feldner) wrote :

Hi John,

I had the same Problem with Ubuntu and Kubuntu Version 6.06 on my
Laptop.

In my opinion, the easiest way to fix that problem is to install the
Ubuntu 6.10 Edgy Eft Version.

There is no other solution at the moment to fix that issue in a
easy-to-use manner.

Best regards,

Frank
Germany

Am Donnerstag, den 15.03.2007, 20:09 +0000 schrieb JohnP:
> I've had this keyboard bug on and off since I started with Ubuntu (which is about 4 days now). Machine is a P4 500MHz "spare" which I thought I'd try Linux on.
> Symptoms are that on pressing a key I randomly get anywhere from one to hundreds of that key's characters. I can improve the situation by disabling keyboard repeats, but this does not help when logging in. The login often skips the password entry, so I assume the "Enter" key is giving extra entries too. I have tried a different keyboard - this appeared to work correctly at first, but later gave the same problem.
> The problem ONLY appears on the GUI, if I ctl alt F1 to a terminal, the key entry is fine.
> I'm using Ubuntu 6.06.1, and the CD and image check out. I'm updating the system (111 updates!) to see if that works, but I'm having to use my "other" PC to write this.
> I'll gladly supply any other information that you may need, but I'll need instruction if it's anything other than very basic! (I've used computers for years, going back to MSDOS and before, but the UNIX stuff is all new to me ;-)
>
> JohnP
>

Revision history for this message
Frank (frank-feldner) wrote :

Updating to Ubuntu 6.10 (Edgy) works for me. But:

JohnP has upgrated to Ubuntu 6.10 but the issues still there. He works on a desktop system with SiS chipset.

I suggest to consolidate the requests refered to that kind of keyboard problems and give them more drive?

This bug report does not reflect my problem 100% but the status is "confirmed" (Importance: medium).

@Brian: I think that dealing with logfiles does not help us in that case because no errors will be throwed by any process. Have you got any idea how to trace the system (top, ps, lsof ...) ...

My bug report:
https://launchpad.net/distros/ubuntu/+bug/63147

Revision history for this message
Colin Watson (cjwatson) wrote :

console-setup just defines how the keycodes map to symbols (more or less); which keycodes get produced is up to the kernel. Reassigning.

Revision history for this message
Benny Bräuer (b-braeuer) wrote :

Hi,

I can confirm the problem too ... my machine is a HP Comapq nx6125 with 7.04 (Final).
Outside X, on the console it works fine for me (resp. I haven't recognized this annoying bug there).

Cheers,
Benny

Revision history for this message
mangopunch (mangopunch) wrote :

I have this problem running Feisty 7.04.

Revision history for this message
Sebastian Kapfer (caci) wrote :

the probllllllllllllllllem is still present iiiiiiiiiiiiiiiiin feisty. Keyboard input iiiiiiiiiiiiiiiiis slow and random kkkkkkkkkkkkkkkkkeys are reopeated, Input on VTs is slowwwwwwwwwwwwwwwww too, but no spuuuuuuuuuuuuuuuurioussssssssssssssss reppppppppppppppppetitions tttttttttttttttthere................

Intel chipset, Pentium M, no USB keybbbbbbbbbbbbbbbboard.

This buuuuuuuuuuuuuuuug firrrrrrrrrrrrrrrrst surfaced aftttttttttttttttter installing the

2222222222222222.................6.20.16.28.1 Linux update. Never obbbbbbbbbbbbbbbbbserveeeeeeeeeeeeeeeeed before.

(This sucks!)

Revision history for this message
Sebastian Kapfer (caci) wrote :

DDDDDDDDDDDDDDDDoes not go away wwwwwwwwwwwwwwwwwhen downgrading the keeeeeeeeeeeeeeeeernel. 2.6.20-15-generic haaaaaaaaaaaaaaaas thhhhhhhhhhhhhhhhe same bug.

Attached dmmmmmmmmmmmmmmmmmesg iiiiiiiiiiiiiiiiis from 2.6.20.16.28.1

Revision history for this message
Sebastian Kapfer (caci) wrote :

A few new bits of information:

a) On VTs, keyboard works (i.e. no spurious repeats), but is slow.

b) Turning X keyboard repeat off kills the spurious repeats. Keyboard is still slow
and as is to be expected, keyboard repeat does not work (*g*)

c) Suspending and resuming the machine (this is a Thinkpad R40) makes the keyboard
fast & working as normal. I'm puzzled.

d) The phenomenon is persistant across reboots, not "random" in any way.

Revision history for this message
mangopunch (mangopunch) wrote :

Removal of the i8kutils programme has fixed this problem for me.

Revision history for this message
Brian Murray (brian-murray) wrote :

I am assigning this bug to the 'ubuntu-kernel-team' per their bug policy. For future reference you can learn more about their bug policy at https://wiki.ubuntu.com/KernelTeamBugPolicies .

Changed in linux-source-2.6.17:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
philomela_sidhe (philomela82) wrote :

It also occurs at Ubuntu 7.10, kernel 2.6.22-14-generic on a desktop-PC with two different keyboards, but not from the beginning, Most of the times it occurs after about an hour of working with kile, since the las kernel-update ...

Changed in linux-source-2.6.17:
assignee: ubuntu-kernel-team → philomela82
Revision history for this message
Benny Bräuer (b-braeuer) wrote :

My problem with this "bug" was solved after the changing of the motherboard of my notebook. So I guess it's was a problem with the hardware (in my case, the USB ports).

Cheers,
Benny

Revision history for this message
Cruncher (ubuntu-wkresse) wrote :

Please have a look at bug #124406 and its duplicates which seem to describe one variant of this problem (spurious key repeats that stop by themselves). For several people, that bug was fixed after upgrading the kernel to Hardy Alpha2 (2.6.24-2-386).
Another key repeat bug (endlessly repeating keys, needs an X server reset) is discussed in bug #194214, with a patch available.

Revision history for this message
JohnP (john-pagett) wrote :

Since my last post, I updated the machine to (I think) 6.20. The problem seemed to be cured, but the machine itself died (motherboard failure) soon after, and since the problem was intermittent, I could not be certain of the cure.

I'm now running 7.20 as a dual boot machine (2 seperate hard drives) on my "main" PC with no problems, so I probably won't be able to make any useful contributions to this thread.

Cheers,

JohnP

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi guys,

Just migrating this forward to the Hardy "linux" kernel package since Edgy and the 2.6.17 kernel has reached it's end of life for the 18 month support period. If and when you get a chance please confirm if this is still an issue with Hardy Heron 8.04. Thanks.

Changed in linux-source-2.6.17:
status: Confirmed → Won't Fix
Changed in linux:
status: New → Incomplete
Revision history for this message
Amedee Van Gasse (amedee) wrote :

Ok, will do.
I booked the weekends of 21-22 and 28-29 june for reinstalling the pc that
has the issue. No time until then unfortunately.
I will report back either if it is still an issue or also if it's not an
issue any more.

On Wed, May 21, 2008 11:04, Leann Ogasawara wrote:
> Hi guys,
>
> Just migrating this forward to the Hardy "linux" kernel package since
> Edgy and the 2.6.17 kernel has reached it's end of life for the 18 month
> support period. If and when you get a chance please confirm if this is
> still an issue with Hardy Heron 8.04. Thanks.
>
> ** Changed in: linux-source-2.6.17 (Ubuntu)
> Status: Confirmed => Won't Fix
>
> ** Also affects: linux (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
> --
> spurious keyboard events
> https://bugs.launchpad.net/bugs/63024
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Amedee Van Gasse
<email address hidden>

Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

   1. I am by definition, "the intended recipient"
   2. All information in the email is mine to do with as I see fit and
make such financial profit, political mileage, or good joke as it lends
itself to. In particular, I may quote it on usenet.
   3. I may take the contents as representing the views of your company.
   4. This overrides any disclaimer or statement of confidentiality that
may be included on your message.

Revision history for this message
Amedee Van Gasse (amedee) wrote :

I did a clean install with hardy heron 8.04, and I still have the same problem occasionally.

I think that this bug is related to https://bugs.launchpad.net/ubuntu/+source/bluez-utils/+bug/32415 because it only happens on the bluetooth keyboard. My ps2 keyboard doesn't have this problem.

Anyway I'm going to unsubscribe from this bug, because I am switching from Ubuntu to Opensuse, which has better out of the box support for bluetooth.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Unfortunately this bug report is being closed because we received no response to the last inquiry for information. However, the Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . If you are able to confirm this is still an issue with this most recent release please feel free to reopen this report. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks.

Changed in linux:
importance: Undecided → Low
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.