Keyboard random repeat and dropped key presses

Bug #39315 reported by eddie70
138
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.15 (Ubuntu)
Fix Released
Undecided
Ben Collins
linux-source-2.6.15 (Ubuntu)
Fix Released
High
Ben Collins
linux-source-2.6.17 (Ubuntu)
Fix Released
High
Ben Collins
Dapper
Invalid
Undecided
Unassigned

Bug Description

Hi all

I have a problem that my keyboard will seemingly at random start repeating itself or do nothing at all.

i.e I might get something like this:

  hellllllllllllllllllllllllllllloJkes
in place of
  Hello Jakes

Also happens to function buttons i.e. ctr, shift, alt, and in very rare moments the mouse buttons, this could be a red herring as I can only remember this once, could it be the "enter" key that was stuck?

I have a Dell INSPIRON 5150 notebook and the problem started when i upgraded from ubuntu breezy to ubuntu dapper, i had upgraded from hoary to breezy before. Runnin GNOME.

A few observations
1. The problem seems to get worse with the heaver the load on the box.
2. The problem seems to disappear in run level 1 but this may be a red herring and related to observation 1.
3. The longer the box is on the more this problem seems happens.
4. ssh'ing into the box does not have the problem.
5. The problem is a lot worse in a virtual term i.e. "ctr-alt-f1". Here the problem gets so bad that only in very few instances have I been able to log in. The virtual term also seems to do random carriage returns in the login phase. Once in a virtual term I have almost never been able the "ctr-alt-f7" out of them.
6. I have tried using a external usb keyboard, the problem 6, me 0, the problem is still there.

Things that i have tried
1. The only way to work with out smashing my fist through my keyboard is to turn auto repeat off under System --> Preference --> Keyboard

2. I have tried the "modprobe psmouse rate=40" problem still there and cant tell if better or worse.

3. Making changes to my xorg.conf file, no difference.

Have checked my dmesg for any thing "key".
# dmesg | grep -i key
  [4294672.433000] i8042.c: Warning: Keylock active.
  [4294672.443000] input: AT Translated Set 2 keyboard
  as /class/input/input0

and acpi (see end of doc)

Please if there is any thing else or help that some one needs i am willing to help as this problem is not only driving me mad but killing my productivity at work.

dmesg | grep -i acpi
[4294667.296000] ACPI: RSDP (v000 DELL) @ 0x000fdea0
[4294667.296000] ACPI: RSDT (v001 DELL CPi R 0x27d40308 ASL 0x00000061) @ 0x1fff0000
[4294667.296000] ACPI: FADT (v001 DELL CPi R 0x27d40308 ASL 0x00000061) @ 0x1fff0400
[4294667.296000] ACPI: MADT (v001 DELL CPi R 0x27d40308 ASL 0x00000047) @ 0x1fff0c00
[4294667.296000] ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000e) @ 0x00000000
[4294667.296000] ACPI: PM-Timer IO Port: 0x1008
[4294667.296000] ACPI: Local APIC address 0xfee00000
[4294667.296000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[4294667.296000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
[4294667.296000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[4294667.296000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[4294667.296000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[4294667.296000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[4294667.296000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[4294667.296000] ACPI: IRQ0 used by override.
[4294667.296000] ACPI: IRQ2 used by override.
[4294667.296000] ACPI: IRQ9 used by override.
[4294667.296000] Using ACPI (MADT) for SMP configuration information
[4294671.879000] ACPI: Looking for DSDT ... not found!
[4294671.993000] ACPI: bus type pci registered
[4294672.018000] ACPI: Subsystem revision 20051216
[4294672.029000] ACPI: Interpreter enabled
[4294672.029000] ACPI: Using IOAPIC for interrupt routing
[4294672.030000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[4294672.030000] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[4294672.035000] PCI quirk: region 1000-107f claimed by ICH4 ACPI/GPIO/TCO
[4294672.036000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[4294672.042000] ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
[4294672.042000] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
[4294672.042000] ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
[4294672.043000] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
[4294672.043000] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[4294672.043000] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[4294672.043000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[4294672.044000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
[4294672.044000] pnp: PnP ACPI init
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c01
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c01
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c01
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0f13
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0303
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0b00
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0800
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c01
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0200
[4294672.049000] pnp: PnPACPI: unknown resource type 7
[4294672.049000] pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c04
[4294672.050000] pnp: PnP ACPI: found 0 devices
[4294672.050000] PnPBIOS: Disabled by ACPI PNP
[4294672.050000] PCI: Using ACPI for IRQ routing
[4294672.064000] ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 169
[4294672.437000] ACPI: PCI Interrupt 0000:00:1f.6[B] -> GSI 17 (level, low) -> IRQ 177
[4294672.437000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[4294672.437000] ACPI: bus type ide registered
[4294672.448000] ACPI wakeup devices:
[4294672.448000] ACPI: (supports S0 S1 S3 S4 S5)
[4294673.898000] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
[4294673.898000] ACPI: Processor [CPU0] (supports 8 throttling states)
[4294673.901000] ACPI: Thermal Zone [THM] (62 C)
[4294674.392000] ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 169
[4294677.036000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 169
[4294677.138000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 185
[4294677.239000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 193
[4294677.341000] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 201
[4294695.810000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 177
[4294696.624000] ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 169
[4294696.624000] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 20 (level, low) -> IRQ 209
[4294696.624000] ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 17 (level, low) -> IRQ 177
[4294696.628000] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 193
[4294696.855000] ACPI: PCI Interrupt 0000:02:04.1[A] -> GSI 16 (level, low) -> IRQ 169
[4294752.247000] ACPI: AC Adapter [AC] (on-line)
[4294752.313000] ACPI: Lid Switch [LID]
[4294752.313000] ACPI: Power Button (CM) [PBTN]
[4294752.313000] ACPI: Sleep Button (CM) [SBTN]
[4294752.387000] ibm_acpi: ec object not found
[4294752.681000] ACPI: Battery Slot [BAT0] (battery present)
[4294752.703000] ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
[4294974.990000] ibm_acpi: ec object not found

Revision history for this message
FredericVDE (fred-mentalwarp) wrote :

i have the same problem on my acer aspire 1500. I use dapper since some time now, and i noticed this problem maybe a week ago.

Revision history for this message
Mike Basinger (mike.basinger) wrote :
Download full text (4.7 KiB)

Same here on a Toshiba M30 laptop.

This use to work on other Linux distros
One solution for this, is to change the refresh rate of the mouse.
To do this become root (su -) then run: modprobe psmouse rate=40

But this does not work in the latest Dapper Kernel.

Here is a old fix for it
   1. Download the latest kernel source
   2. then open up the file ./drivers/input/mouse/psmouse-base.c with your favorite editor.
   3. Find this section in the code: (More recent kernels will have different code)

      /*
       * Try Synaptics TouchPad
       */
            if (psmouse_max_proto > PSMOUSE_PS2 && synaptics_detect(psmouse)) {
                      synaptics_hardware = 1;
                      psmouse->vendor = "Synaptics";
                      psmouse->name = "TouchPad";

                      if (psmouse_max_proto > PSMOUSE_IMEX) {
                              if (synaptics_init(psmouse) == 0)
                                      return PSMOUSE_SYNAPTICS;

      /*
       * Some Synaptics touchpads can emulate extended protocols (like IMPS/2).
       * Unfortunately Logitech/Genius probes confuse some firmware versions so
       * we'll have to skip them.
       */
                            psmouse_max_proto = PSMOUSE_IMEX;
                      }
              }

      And replace it with this:

      /*
       * Try Synaptics TouchPad
       */
      /* if (psmouse_max_proto > PSMOUSE_PS2 && synaptics_detect(psmouse)) {
                      synaptics_hardware = 1;
                      psmouse->vendor = "Synaptics";
                      psmouse->name = "TouchPad";

                      if (psmouse_max_proto > PSMOUSE_IMEX) {
                              if (synaptics_init(psmouse) == 0)
                                      return PSMOUSE_SYNAPTICS;
      */
      /*
       * Some Synaptics touchpads can emulate extended protocols (like IMPS/2).
       * Unfortunately Logitech/Genius probes confuse some firmware versions so
       * we'll have to skip them.
       */
      /* psmouse_max_proto = PSMOUSE_IMEX;
                      }
              }
      */

      (Basically the entire if statement has been commented out)
   4. Now open up the file ./drivers/input/keyboard/atkbd.c
   5. Find this section in the code:

      switch (atkbd->keycode[code]) {
       case ATKBD_KEY_NULL:
        break;
       case ATKBD_KEY_UNKNOWN:
        printk(KERN_WARNING "atkbd.c: Unknown key %s (%s set %d, code %#x on %s).n",
         atkbd->release ? "released" : "pressed",
         atkbd->translated ? "translated" : "raw",
         atkbd->set, code, serio->phys);
         if (atkbd->translated && atkbd->set == 2 && code == 0x7a)
          printk(KERN_WARNING "atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.n");
         else
          printk(KERN_WARNING "atkbd.c: Use 'setkeycodes %s%02x ' to make it known.n",code & 0x80 ? "e0" : "", code & 0x7f);
        break;
       case ATKBD_SCR_1:
        scroll = 1 - atkbd->release * 2;
        break;
       case ATKBD_SCR_2:
        scroll = 2 - atkbd->release * 4;
        ...

Read more...

Revision history for this message
Mike Basinger (mike.basinger) wrote :

Editing psmouse-base.c and recompiling the kernel no longer works.

Revision history for this message
Mike Basinger (mike.basinger) wrote :

Workaround:
I looks like psmouse rate=40 still works, but /etc/modules is not passing the parameter through.

I have gotten it to work but enter the two following commands.

sudo modprobe -r psmouse
sudo modprobe psmouse rate=40

It is still a definite bug in the synaptic driver in psmouse-base.c

psmouse-base.c needs to be fixed, or figure out why /etc/modules no longer passes the rate=40 parameter to the module while loading.

Revision history for this message
Mike Basinger (mike.basinger) wrote :

I think the resaon that /etc/modules is not passing the rate=40 parameter to psmouse module, is because that needs to happen after the nvidia module is loaded.

This is more difficult now since the nvidia module is not longer loaded by /etc/modules.

Putting nvidia in /etc/module has no effect.

Revision history for this message
eddie70 (duncan-adams) wrote :

Hi Mike

Thanks fr r fee (this is driving me mad)

ok lets start over.

Thanks for your feed back as u see i am sill suffering under the yoke of this problem.

I did not not try every thing that you sent (as the first few no longer work if i understand you correctly) but did do the.

  sudo modprobe -r psmouse
  sudo modprobe psmouse rate=40

Which did not help so i did. Then I tryed

  sudo modprobe -r psmouse

Which had me fooled for a while and i thought the problem was licked but it showed its nasty head just as i was relaxing.

If I can elp in any way to help solve this problem, I would be most willing.

Revision history for this message
Mike Basinger (mike.basinger) wrote :

The psmouse problem only affects Toshiba laptop, as far as I know. If you have something different, it may be a completely different problem.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I had the same problem on my previous computer. It might be the DOUBLE CLOCK SPEED BUG.
Please, try my guide and see if it solves the problem:
http://ubuntuforums.org/showthread.php?t=75281

Revision history for this message
Paul Sladen (sladen) wrote :

Maybe related to bug #37472 or bug #21558.

Revision history for this message
eddie70 (duncan-adams) wrote : Re: [Bug 39315] Re: Keyboard random repeat

 i8042.nomux=1

On Tue, 2006-05-16 at 22:11 +0000, Paul Sladen wrote:
> Maybe related to bug #37472 or bug #21558.

Hi Paul

Yes this does seem to be the same bug as #37472 but not the same as
#21558

I also tried to place the "i8042.nomux=1" in my /boot/grub/menu.lst but
the problem did not go away.

kernel /vmlinuz-2.6.15-22-686 root=/dev/hdc6 ro quiet splash
i8042.nomux=1

strange that afterwards when i sysctl -a | grep nomux
i got the following.

error: "Operation not permitted" reading key "net.ipv6.route.flush"
error: "Operation not permitted" reading key "net.ipv4.route.flush"
error: "Invalid argument" reading key "fs.binfmt_misc.register"

although i suspect this is not how to check for kernel parameters or
that the nomux was not loaded?

Revision history for this message
Mike Basinger (mike.basinger) wrote : Re: Keyboard random repeat

Here is the best workaround I have came up with.

Add the following to lines to /etc/rc.local and reboot.
modprobe -r psmouse
modprobe psmouse rate=40

Revision history for this message
eddie70 (duncan-adams) wrote : Re: [Bug 39315] Re: Keyboard random repeat

On Tue, 2006-05-23 at 23:25 +0000, Mike Basinger wrote:
> Here is the best workaround I have came up with.
>
> Add the following to lines to /etc/rc.local and reboot.
> modprobe -r psmouse
> modprobe psmouse rate=40

I must have a diffrent problem as this does not fix the problem for me.

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote :

I installed xubuntu and when I activated the battery monitor my keyboard
became crazy, it was impossible to write a word correctly It' s critical . I
disabled the battery monitor under Xubuntu in order to use my keyboard

_________________________________________________________________
Windows Live Messenger : venez tester la version bêta !
http://www.ideas.live.com/programpage.aspx?versionId=0eccd94b-eb48-497c-8e60-c6313f7ebb73

Revision history for this message
Michael Baumann (michael-baumann) wrote : Re: Keyboard random repeat

I get the same behavior here on an Thinkpad T43, in X and on the console. When I lose a character relase the kernel prints e.g. the following:

[17214444.112000] atkbd.c: Unknown key released (translated set 2, code 0x6e on isa0060/serio0).
[17214444.112000] atkbd.c: Use 'setkeycodes 6e <keycode>' to make it known.

I have gnome-power-manager running displaying he battery status.
When I kill it, the problem goes away.

Revision history for this message
Paul Sladen (sladen) wrote :

Michael: Can you try booting with:

  i8042.nomux=1

Revision history for this message
Michael Baumann (michael-baumann) wrote :

Paul:
i8042.nomux=1 seems to work, after a quick test the problem does not seem to occur anymore.
Will update this info if I notice otherwise the next days.

Revision history for this message
Mohammed (gnucoder) wrote :

i8042.nomux=1 has no effect for me :(

Revision history for this message
buddhasmiles (bharaneer) wrote :

I have a dell 700m and installed dapper. Have the problem of key repeats or the key is stuck for a while (with no response) and suddenly i get repeat characters of the key i pressed.

This seems to happen more often when i have a lot of widows open.
i've tried i8042.nomux=1 in the boot parameter. But this doesnt help :-(

Changed in linux-source-2.6.15:
status: Needs Info → Confirmed
Revision history for this message
Ross Golder (ross-golder) wrote :

Same here. ASUS A8V Deluxe mainboard, AMD64 CPU. Breezy - no problems. Dapper - this very problem. I see from Googling about this is not distro-specific.

Revision history for this message
Wade Menard (wade-ezri) wrote :

I am with Michael Baumann in that killing gnome-power-manager appears to "fix" the problem for my Toshiba Satellite M100 Notebook

Revision history for this message
buddhasmiles (bharaneer) wrote :

I'm running fluxbox/rox on dapper, considering xfce :-)

I'm going to try turning off gkrellm monitors to see if the issue gets resolved. But I have a hunch that thats not going to fix it.

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote : RE: [Bug 39315] Re: Keyboard random repeat

i8042.nomux=1 doesn' t have any effect for me

_________________________________________________________________
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre
téléphone portable ! http://www.msn.fr/hotmailimode/

Revision history for this message
eddie70 (duncan-adams) wrote :

removing the following three apps has not helpe, i still have tisproblem
this problem*

battstat-applet-2
multiload-applet-2
cpufreq-applet

Revision history for this message
Paul Sladen (sladen) wrote : Re: Keyboard random repeat

These are all programs which cause the battery status to be queried. The battery status is handled by the same chip as the keyboard/mouse controller in laptop; and this is buggy in some respect.

In this case, stopping those programs stops battery queries coinciding with keyboard input.

Revision history for this message
Murphy666 (sebastien-bouchard) wrote :

I have the same bug... This append on my eMachines 6011 when I've upgraded from a one month old dapper version.

I can enter my password normally in KDM and after that the keyboard act like said in the previous post.

- I tried with the kernel parameter "i8042.nomux=1" , didn't work.
- psmouse module rate=40 parameter, didn't work.
- I tried removing battery management in KDE, didn't work (anyway i need battery monitoring).

So what's next?

I'm ready to debug my problem but i'm not sure what I should do now.

Revision history for this message
FhnuZoag (zhou-zfang) wrote :

Ok, I've fixed the problem on my computer. I'm not using a laptop, though, so this may not apply to you.

I've got one more thing to try:

Use synaptic to check if you have a package called plptools installed. (It handles file operations with docked Psion PDAs)

Remove it.

Pray.

(Last part is optional)

It worked for me.

I.e. this is at least in some cases a repetition of https://launchpad.net/distros/ubuntu/+source/plptools/+bug/40956

If, however, plptools is not installed, then well... I'm positing that there's a common link between these different issues, as they all raise the same symptoms.

But *if* this class of bugs are the same, then the bug isn't with X or the kernel - because I observed the problem with plptools causing key repeats occuring during installation, before restarting.

For now, I'd recommend that plptools be removed from the repositories ASAP, because it is currently completely broken.

Revision history for this message
Gopal (gramchurn) wrote :

Removing the power manager works for me on the Toshiba Portege M300 laptop. I had noticed the change by mistakenly removing it. I restarted it yesterday and the repeats came back... thanks to your posts i'm now sure why it was happening.

Revision history for this message
dla (dla) wrote :

I can confirm this bug on a Dell Latitude D610 laptop computer.
I tried the i8042.nomus=1 suggestion as well as a 2.6.16.18 vanilla kernel. Both did not cure the symptoms. When I boot the next time into my Ubuntu installation, I will check for plptools to be installed.

Revision history for this message
Ross Golder (ross-golder) wrote :

Removing plptools worked for me. Thanks FhnuZoag.

Revision history for this message
eddie70 (duncan-adams) wrote : Re: [Bug 39315] Re: Keyboard random repeat

On Fri, 2006-06-02 at 01:54 +0000, FhnuZoag wrote:

> Use synaptic to check if you have a package called plptools installed.
> (It handles file operations with docked Psion PDAs)
>
> Remove it.

This has fixed my problem

sudo dpkg -l | grep plptools

sudo dpkg -r plptools

and i have turned key repeat back on XD.

I suspect that we are dealing with a number of diffrent problems?

i will give feed back again on monday.

Revision history for this message
Murphy666 (sebastien-bouchard) wrote : Re: Keyboard random repeat

I don't have plptools, It seem to be a different problem that I have...

Revision history for this message
Murphy666 (sebastien-bouchard) wrote :

I have a temporary fix for Kubuntu, just kill the process kaccess

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Hello,
I have an Acer Travelmate 4000, running under latest Dapper, and am encountering a similar problem (only since I updated to Dapper, not before under Breezy). At first I did only have the "skip problem", not the "repetition problem".
I have tried the :
sudo modprobe -r psmouse
sudo modprobe psmouse rate=40
but it caused my touchpad not to work anymore. I also tried to uninstall plptools, but it wasn't installed. I rebooted, I used the embedded "Fn+F7" to reactivate the touchpad, which did work, and then tried the "i8042.nomux=1" fix, which didn't change anything and caused the "repetition bug" to happen in addition to the "skip bug".
For what I've seen, the problem also happens in virtual consoles. I've tried typing continuously and found the skips to last for about half a second, and happen every 30 seconds - could that be synchronised with the battery monitor's frequency ?
I'll try other suggested fixes, and see if something changes. Any help greatly appreciated, this problem is really annoying.

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Removing the battery monitor Gnome applet, killing battstat-applet-2, multiload-applet-2, cpufreq-applet gnome-power-manager had no effect either. I'll try again the
sudo modprobe -r psmouse
sudo modprobe psmouse rate=40

Revision history for this message
Antoine Amarilli (a3nm) wrote :

The
sudo modprobe -r psmouse
sudo modprobe psmouse rate=40
commands have no effect when entered in a terminal or included in /etc/rc.local
To be precise, the "repeat bug" won't happen in a virtual terminal. In a virtual terminal, it is enough to keep a key pressed down and wait - the repetition will stop for half a second every 30 seconds. In X, it not the case, and I have the "repeat bug" there.
I'm cancelling all previous fixes to avoid any side effects. Please help !

Revision history for this message
Kousik Nandy (kousiknandy) wrote :

I think the smart battery module is playing culprit here. Because if I remove the module acpi_sbs, I don't see the bug of missing/repeating keystrokes. Try

sudo rmmod acpi_sbs

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Hi
thanks a lot ! The problem seems to be solved for me - apart from the fact that I don't have battery status display, of course... That's less annoying - and I can load/unload the acpi_sbs module on the fly to get the info - but a solution allowing to get both the battery status display and no keyboard lag would be of course better. Do you have an idea for me to solve the problem with the acpi_sbs module ?
Again, thank you very much for your help !

Revision history for this message
FredericVDE (fred-mentalwarp) wrote :

none of the proposed workarounds has resolved the problem for me so far.
(Acer aspire 1501lmi)

Revision history for this message
buddhasmiles (bharaneer) wrote : Re: [Bug 39315] Re: Keyboard random repeat

Tried removing the acpi_sbs module on my dell 700m, no
effect still getting the repeats. Although i have
noticed that its got less frequent. Atleast that
counts for something :-)

--- FredericVDE <email address hidden> wrote:

> none of the proposed workarounds has resolved the
> problem for me so far.
> (Acer aspire 1501lmi)
>
> --
> Keyboard random repeat
> https://launchpad.net/bugs/39315
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Revision history for this message
mh (mamh) wrote : Re: Keyboard random repeat

The solution i tryed is, to check battery-status less frequent i check it every 240 seconds now and the problem occurs seldom, but is still there.

I have a question to the fix:

sudo rmmod acpi_sbs

is this change permanent - is there also a command for going back to the origin status of acpi?

Revision history for this message
buddhasmiles (bharaneer) wrote : Re: [Bug 39315] Re: Keyboard random repeat

nah...

just do

sudo modprobe acpi_sbs

and u shud have the module loaded

--- mh <email address hidden> wrote:

> The solution i tryed is, to check battery-status
> less frequent i check
> it every 240 seconds now and the problem occurs
> seldom, but is still
> there.
>
> I have a question to the fix:
>
> sudo rmmod acpi_sbs
>
> is this change permanent - is there also a command
> for going back to the
> origin status of acpi?
>
> --
> Keyboard random repeat
> https://launchpad.net/bugs/39315
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Revision history for this message
dla (dla) wrote : Re: Keyboard random repeat

Removing the plptools package seems to have fixed the bug for me, too.

Revision history for this message
eddie70 (duncan-adams) wrote : Re: [Bug 39315] Re: [Bug 39315] Re: Keyboard random repeat

yes a complete weekend hassle free

i am a happy man

On Fri, 2006-06-02 at 13:03 +0000, eddie70 wrote:
> On Fri, 2006-06-02 at 01:54 +0000, FhnuZoag wrote:
>
> > Use synaptic to check if you have a package called plptools installed.
> > (It handles file operations with docked Psion PDAs)
> >
> > Remove it.
>
>
> This has fixed my problem
>
> sudo dpkg -l | grep plptools
>
> sudo dpkg -r plptools
>
> and i have turned key repeat back on XD.
>
> I suspect that we are dealing with a number of diffrent problems?
>
> i will give feed back again on monday.
>

Revision history for this message
mh (mamh) wrote : Re: Keyboard random repeat

i never had "plptools" installed and i have this problem of random repeat with an acer travelmate 2300. so it can´t be a solution for me.

Revision history for this message
Martijn vdS (martijn) wrote :

I see this problem (acpi_sbs related key drops/repeats) on an Acer Aspire 1684WLMi as well. It gets worse when more programs poll the battery (gpsdrive is particularly annoying)

Revision history for this message
mh (mamh) wrote :

does someone know how to get the information which processes poll the battery. maybe i dont need some of them.

meanwhile i configured klaptop that it checks battery only every 800seconds and i must say - thats nearly a fix for me. i get these faults only every half a minute.

Revision history for this message
Ben Collins (ben-collins) wrote :

I've applied the patch that "fixes" the ec.ko module so that it should not cause hangs. Reads from the ec will be slower, but they will not cause missed interrupts.

This update should hit dapper within a few days.

Changed in linux-source-2.6.15:
status: Confirmed → Fix Committed
Changed in linux-source-2.6.17:
assignee: nobody → ben-collins
importance: Untriaged → High
status: Unconfirmed → Fix Committed
Changed in linux-source-2.6.15:
assignee: nobody → ben-collins
Revision history for this message
Lorenzo J. Lucchini (ljl) wrote :

Removing plptools apparently fixed this for me (can't say for sure, as the problem is intermittent).
I have an Abit KV7 motherboard, with an AMD Sempron 2400+ processor (Socket A).
For me, the problem occurred in a way that made using the computer effectively next to impossible.

Also, in a console (as opposed to X), the problem seemed to be less evident, but on the other hand, most of the time the console didn't output new-lines correctly: it only moved to the next line, but didn't move to the beginning of it.
The problem must have been related, as I don't seem to have it anymore, either, after removing plptools.

Revision history for this message
FhnuZoag (zhou-zfang) wrote :

Now that's interesting. I'm also using a Sempron 2400+.

Probably a coincidence though.

Revision history for this message
Ross Golder (ross-golder) wrote :

I have an Asus A8V (w/64-bit AMD 3200) and removing plptools was the fix that worked for me too.

I have just acquired an Asus K7V which I've been having serious *slowness* problems running the Ubuntu install CD. I thought it might be due to only having 128Mb RAM, but perhaps this plptools problem is aggravating that too. Not sure how I'll disable plptools in 'live'/install mode, but I'll try anyway. I will see if it displays the same problems with and without plptools if/when I get Ubuntu installed and running normally on it.

Revision history for this message
eddie70 (duncan-adams) wrote : Re: [Bug 39315] Re: Keyboard random repeat

On Thu, 2006-06-08 at 23:52 +0000, Lorenzo J. Lucchini wrote:
> Removing plptools apparently fixed this for me (can't say for sure, as the problem is intermittent).
> I have an Abit KV7 motherboard, with an AMD Sempron 2400+ processor (Socket A).
> For me, the problem occurred in a way that made using the computer effectively next to impossible.
>
> Also, in a console (as opposed to X), the problem seemed to be less evident, but on the other hand, most of the time the console didn't output new-lines correctly: it only moved to the next line, but didn't move to the beginning of it.
> The problem must have been related, as I don't seem to have it anymore, either, after removing plptools.

I was also seeing this before i removed plptools, as well as the random
carriage returns now i just get a blank screen when u ctl-alt-f1 to f6
(i changed the number ages ago)

Revision history for this message
buddhasmiles (bharaneer) wrote : Re: Keyboard random repeat

Ben Collins fix proved right,

removed acpi_sbs, i2c_acpi_ec and this seemed to fix this problem

put the modules in modprobe blacklist

/etc/modprobe.d/blacklist

add these two lines

blacklist acpi_sbs
blacklist i2c_acpi_ec

Changed in linux-source-2.6.15:
status: Fix Committed → Fix Released
Revision history for this message
Lorenzo J. Lucchini (ljl) wrote :

The new kernel version 2.6.15-25 didn't fix the problem for me.
As soon as I installed plptools again, the keyboard madness was back as before.

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote :

In a console rmmod acpi_sbs fix the problem that I have but the new kernel version 2.6.15-25 doesn' t fix the problem for me I have ever this problem

I' m on dapper and when I put "blacklist acpi_sbs and
blacklist i2c_acpi_ec" in /etc/modprobe.d/blacklist these modules start at boot again and I have The keyboard problem

Revision history for this message
Ben Collins (ben-collins) wrote : Re: [Bug 39315] Re: Keyboard random repeat

On Fri, 2006-06-16 at 14:22 +0000, Louis XVI with a gun wrote:
> In a console rmmod acpi_sbs fix the problem that I have but the new
> kernel version 2.6.15-25 doesn' t fix the problem for me I have ever
> this problem
>
> I' m on dapper and when I put "blacklist acpi_sbs and
> blacklist i2c_acpi_ec" in /etc/modprobe.d/blacklist these modules start at boot again and I have The keyboard problem

That's a bug in acpi-support, where it ignores blacklists because it
doesn't call modprobe with -b.

The -25 ec.ko fix should have corrected things for everyone. I'm
surprised it didn't. The patch was written for and claims to fix the
very bug (and it is obviously working for some people).

Revision history for this message
ayoli (ayolinux) wrote : Re: Keyboard random repeat

my keyboard still have the pb even after update to kernel version 2.6.15-25
rmmod acpi_sbs fix the pb but makes my battery status unreadable.
wha could be a way to fix this keyboard pb, without having battery status gone ?

Revision history for this message
Alessandro Gervaso (gervystar) wrote :

I report that none of the suggested fixes seems to work on an my roommate's Acer aspire 1363 WLMi.

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Hello,
I've installed latest updates for my Dapper and the problem still occurs, with no noticeable difference.
Any other ideas ?
Thanks in advance,
Antoine

Revision history for this message
mh (mamh) wrote :

I have also installed the latest Dapper-Update with the new kernel, and there is also no difference - i still get the missing letters approximately every 20 seconds.
My laptop is an acer travelmate 2303lm so the bug is not fixed for me. And if the bug 39315 is fixed now - the duplicate bug 37472 still exists, where the missing letters are described on an acer travelmate 2300.

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote : RE: [Bug 39315] Re: Keyboard random repeat

I have the same laptop than mr mh (acer travelmate 2303lm) and I can confirm
that the bug stiil exist after the update to the kernel 2.6.15-25

nb: rmmod acpi_sbs fix the problem

so where can be the problem ???

_________________________________________________________________
Windows Live Messenger : venez tester la version bêta !
http://www.ideas.live.com/programpage.aspx?versionId=0eccd94b-eb48-497c-8e60-c6313f7ebb73

Revision history for this message
eddie70 (duncan-adams) wrote : Re: [Bug 39315] Re: [Bug 39315] Re: Keyboard random repeat

On Fri, 2006-06-16 at 18:18 +0000, Ben Collins wrote:
> On Fri, 2006-06-16 at 14:22 +0000, Louis XVI with a gun wrote:

> The -25 ec.ko fix should have corrected things for everyone. I'm
> surprised it didn't. The patch was written for and claims to fix the
> very bug (and it is obviously working for some people).

just from an outsider point of view, this appears to be two separate bus

1. the power management on the acpi
2. plptools

Revision history for this message
Adam Bagnall (bagnaj97) wrote : Re: Keyboard random repeat

Removing the plptools package worked for me on my desktop pc using kernel 2.6.15-25-386.

Revision history for this message
SarahLempp (sarah-lempp) wrote :

Unfortunately the bug still doesn't seem to be fixed. My impression was that it worked for some days but now the keyboard errors occur again. I don't have plptools installed, and blacklisting acpi_sbs and i2c_acpi_ec does the trick on my Toshiba laptop.

Thanks for fixing..........
Sarah.

Revision history for this message
mh (mamh) wrote :

What can be the next steps for solving the problem with this bug? Any ideas?

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote : RE: [Bug 39315] Re: Keyboard random repeat

I want to know too when the problem will be resolved !!!
If it can help, "sudo rmmod acpi_sbs" stop the bug , but I must load this
command in console after each boot because backlisting acpi_sbs doesn' t
stop the loading of the acpi_sbs

ps: sorry for my bad english

_________________________________________________________________
Windows Live Mail : découvrez et testez la version bêta !
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

Revision history for this message
buddhasmiles (bharaneer) wrote : Re: Keyboard random repeat

If blacklisting does not work do this...

sudo vi /etc/rc.local

add these lines before 'exit 0'

rmmod acpi_sbs
rmmod i2c_acpi_ec

this should remove the modules everytime you boot

Revision history for this message
manolo_rei (manxopar) wrote : Re: Keyboard skip

 My acer 1410 with smart batteries skip keys on Dapper. The problem did not exist in Breezy.

It seems that the problem does not appear regularly. Sometimes little and in others is perceived much more.

  ??

Revision history for this message
manolo_rei (manxopar) wrote : Re: Keyboard random repeat

i8042.nomux=1 has no effect for me :(

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote : RE: [Bug 39315] Re: Keyboard random repeat

Thanks you buddhasmiles , now, those modules doesn't load at boot, I don' t
have keyboard problems , I don' t have battery status but I can work without
it for the moment .... I' m waiting for a real fix now. ;-)

_________________________________________________________________
Windows Live Mail : venez tester la version bêta !
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

Revision history for this message
mh (mamh) wrote : Re: Keyboard random repeat

the temporary fix:
sudo vi /etc/rc.local

add these lines before 'exit 0'

rmmod acpi_sbs
rmmod i2c_acpi_ec

is problematic for me in Kubuntu 6.06, because klaptop doesn´t load anymore and it is not possible for me now to suspend. Is there a way for suspending the laptop without klaptop?

However after working 1 month with a broken keyboard it pleasant to have a working laptop again.

Revision history for this message
buddhasmiles (bharaneer) wrote :

Cannot test kubuntu as i dont have it installed. but if you are having problems try

sudo echo mem > /sys/power/state

that should suspend your laptop, i think :-)

you can try putting this in a shell script, also may have to add

<username> ALL=NOPASSWD: <path/scriptname>

to /etc/sudoers

not sure if all these will work with your laptop setup, xorg etc. but worth a try

Revision history for this message
mh (mamh) wrote :

sudo echo mem > /sys/power/state
->
permission denied

linux is ardous

Revision history for this message
Lorenzo J. Lucchini (ljl) wrote :

A command such as "sudo echo mem >/sys/power/state" causes the command "sudo echo mem" to be executed, and its output redirected to /sys/power/state.
If you read the above carefully, you'll realize that the redirection does *not* happen as root: "echo mem" is executed as root, because sudo does that, but the redirection is done by the shell.

You probably want something like
 sudo -c sh "echo mem >/sys/power/state"

Revision history for this message
buddhasmiles (bharaneer) wrote :

My bad :-)

Lorenzo many thanks for fixing it !

Changed in linux-source-2.6.17:
status: Unconfirmed → Confirmed
Revision history for this message
Antoine Amarilli (a3nm) wrote :

Hello,
I'm still running Dapper on a Travelmate 4000, and I confirm that, even with the latest updates, I am still encountering the problem.
Any other ideas ?
Thanks in advance.

Revision history for this message
Max Vozeler (max-nusquama) wrote :

We are also seeing this problem on an Acer Travelmate 4000 with kernel 2.6.15-26-686 (2.6.15-26.45).

Repeatedly querying the battery status like below causes most key presses to be lost (about 1 in 10 works) and makes the mouse move in a jerky way:

$ while :; do cat /proc/acpi/battery/BAT0/state; done

Adding "i8042.nomux=1" to kernel cmdline made no noticable difference.

Revision history for this message
Nicola (nicolaw-lilacup) wrote :

I'm using a new IBM Thinkpad X60 without problems for a number of days. This evening I applied some updates and did a reboot and started to get this problem.

Removing the acpi_sbs and i2c_acpi_ec modules has had no effect.

Neither has adding i8042.nomux=1 nor the psmouse arguments.

I don't have the plptools package installed.

I see nothing useful in dmesg to help either.

I do however find it suspect that I only started seeing the problem after I did an update. If it was an update, I don't know which package might have started the problems. (It upgraded the kernel from 2.6.15-23-386 to 2.6.15-26-386 also).

Revision history for this message
Nicola (nicolaw-lilacup) wrote :

I rebooted in to the old kernel to check if that was the issue or not. It made no difference.

I then rebooted and removed the new three packages that I had installed (in addition to the updates). They were openswan, ipsec-tools and secvpn. I rebooted and tested again -- it still didn't fix the problem.

I then did:
dpkg -r openswan; dpkg -r ipsec-tools; dpkh -r secvpn
and
dpkg --purge openswan; dpkg --purge ipsec-tools; dpkh --purge secvpn
... and rebooted.

This appears to have fixed the problem. So, to recap, for me, the problem appeared to be caused by one of those three packages, and was only fixed after I completely purged them from my machine (apt-get remove <<package>> didn't appear to completely remove them - the --purge seemed to do the trick).

Hope this helps some of you track down your problems. Possibly try:

dpkg --purge plptools ?

Changed in linux-source-2.6.17:
status: Confirmed → Rejected
Changed in linux-source-2.6.17:
status: Fix Committed → Fix Released
Revision history for this message
Paul Sladen (sladen) wrote :

Regarding the mention of 'plptools', the 'ncpd' deamon (designed to connect to Psion organisers and Nokia Communicator phones) and which is automatically started by installing 'plptools' was causing this.

After messing around smashing the keyboard to pieces in enough frustration, the following was a good enough workaround:

  $ diff -U0 /etc/plptools.conf*
  --- /etc/plptools.conf 2006-08-10 17:02:38.000000000 +0100
  +++ /etc/plptools.conf~ 2006-08-08 18:04:47.000000000 +0100
  @@ -4 +4 @@
  -START_NCPD=no
  +START_NCPD=yes

BenC: what was your fix, and does this still need to be looked at in 'plptools' itself?

Revision history for this message
Paul Sladen (sladen) wrote :

The plptools issue is bug #40956 which is because it is opening /dev/tty0 instead of a serial port...

Revision history for this message
Maye (michael-aye) wrote :

I report, that on an up-to-date dapper installation (Kubuntu) with 2.6.15-27 kernel (as of yesterday), NO plptools installed, having none of the above mentioned 3 packages installed and having tried out all tricks with removal of seemingly relevant acpi modules, this bug does NOT go away.
This page says, that a fix has been released? What would that be?
Thanks,
Michael
PS: Thinkpad R51, Breezy was ok.

Revision history for this message
Maye (michael-aye) wrote :

some more info (before i unfortunately have to deleted this OS, b/c i need to stay productive... :S )
I tried the above mentioned kernel boot option, making sure it is used (editing the kopt line in grub interestingly does not put the option in the boot command line!!!).
To no avail, no change in behaviour.
(And why the heck does a change of /etc/inittab default boot level to 1 leave me with a freezing system at boot???)
Maybe important:
In the RESCUE boot (which I had to use to change back the inittab) the problem does NOT occur!
If somebody wants anymore feedback, (s)he better be quick, as I said, I have to kick this off soon. I will wait til tomorrow though, considering different timezones... :)
Regards,
Michael

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Hello,
I confirm that under an up-to-date Dapper, the problem is still present. I currently disable the acpi module at each boot (I did not took the time to automatise it), and wrote a little script that enables the module, outputs the battery status, and disables the module.
This problem is not critical but it is still annoying. Could anybody help ?
@+
Antoine.

Revision history for this message
Maye (michael-aye) wrote :

Oh bummer, bugger, blimey... :(
I found my culprit: It's the tleds package!
How did I found out:
At home I go online via WLAN, no keystrokes missing. That made me think. I remembered darkly from yesterdays installation of Dapper and browsing through software, that the tleds packages mentions a VERY RARE occurence of unusable keyboards while using tleds, but only for older laptops e.g Thinkpad 600 and some HP laptop or laptops with overly long cables. So I thought, come on, a Thinkpad like my R51 will be properly designed, shouldn't be a prob. Well, turns out, that this is not true.
tleds by default only monitors only eth0. That's why I did not see any missing keystrokes now using the WLAN via eth1.
To confirm I connected to my router via cable and switched off eth1. First there was no problem, but when I increased the netload by using a NASA TV stream like I had it at work this afternoon, I reproduced the bug very clearly.
So, everybody, check if you also like me, couldn't resist the geekiness of tleds and installed this semi-useful program. ;)
I'm glad now, that I can stay with Kubuntu for now. Yeah!
So, please cancel my confirmation of this bug and sorry for the noise.
Regards,
Michael

Revision history for this message
Antoine Amarilli (a3nm) wrote :

Hello,
The problem is still occuring on my installation, but the tleds package is *not* installed.
Any ideas ?
Antoine.

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote : RE: [Bug 39315] Re: Keyboard random repeat and dropped key presses

I confirm that the problem still occurs on a dapper up to date for me ...
:-( I 've disabled the "acpi_sbs" module to have a fonctionnal keyboard

_________________________________________________________________
Retrouvez tout en un clin d'œil avec Windows Desktop Search !
http://desktop.msn.fr/

Revision history for this message
mirage (tusi-mora) wrote :

On the IBM Bios Update site i've found the changelog regarding this issue:

Version 1YET62WW (1.27)
Note: This BIOS version will only work with Embedded Controller Program
Version 1.06 (or higher).
      * Previously released BIOS version 1YET60WW, 1YET61WW and Embedded
        Controller 1.05 combination may cause a spontaneous wrong key
        input when you key input with an external PS/2 type keyboard.
              * Numeric characters (2, 4, 6 and 8) will be inserted
                internittently during cursor move with cursor keys.
              * A keyboard behaves as if shift key depressed until a
                shift key is pressed.
                      * You can only type only Uppercase characters.
                        (Some keys seem to keystrokes, because the shift
                        cases are not defined)
                      * Multiple selection with cursor keys
                      * Numeric keypad will turn to cursor keys

        If you encounter these cases, please update the Embedded
        Controller to 1.06 (1YHT29WW).

So I suggest to all a BIOS-update, where it's possible.

It seems that the problem is solved by me now...

Revision history for this message
Fabian (fwin-deactivatedaccount) wrote :

Running both Dapper and up-to-date Edgy on a Toshiba M30 here. BOTH produce this error, though Edgy seems to work better. I tried all the tricks mentioned here except turning off ACPI, because I still need that.

Revision history for this message
colonius (cse) wrote :

I am not on Ubuntu, but on OpenSuSE, but I thought I'll post here anyway:

I had a similar problem, in that sudden key repeat would happen, and also mouse events sometimes were unpredictable.

I finally found an entry in some forum that said that replacing the SMP kernel, which was installed automatically, by the default, non-SMP kernel did the trick. I tried it, and can now finally return to normal operations under linux - although my confidence has been seriously damaged. 2 days of hacking - better not talk about TCO here.

Anyway, there seems to be a problem between SMP (which should be the right choice given that I have a dual core processor) and some periphery drivers (synaptics touchpad?).

Revision history for this message
Rostislav Raykov (zbrox) wrote :

I'm using an Acer Apire 3620. I've installed a fresh Edgy Beta 1 and I've tried with the additional parameter of grub fix, but to no avail. I've noticed that whenever I experience a key not-responding or a repeated stroke that can't be stoped by the keyboard I can make the keyboard behave normally if I move the pointer with the touchpad of the laptop. So it's a curious situation typing with one hand while moving the pointer with the touchpad with the other.
Other than that I haven't noticed any system or pattern when this is happening.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

I still have this very annoying problem on my Dell D620 with Intel Core 2 Duo.
Kernel is: 2.6.17-10-generic #2 SMP Fri Oct 13 15:34:39 UTC 2006 x86_64 GNU/Linux

I've unloaded acpi_sbs, battery, I've even removed the battery but still have this problem.

Please, is there any fix?

Revision history for this message
Richard Salsbury (richard-richardsalsbury) wrote :

My very small contribution to Hug Day:

I'm having the same problem on my Intel Core Duo Thinkpad R60e with Edgy Beta using both the built-in keyboard and an external USB keyboard.

None of the following solutions work:
* The i8042.nomux=1 line in grub's menu.lst
* modprobe psmouse rate=40
* Killing gnome-power-man
* I've tried killing every module with "acpi" in it.
* plptools and tleds aren't (and have never been) installed.

It also occurs in xfce, but not in the full-screen text-only consoles available via the Ctrl+Alt+1 to Ctrl+Alt+6 shortcuts.

I've managed to fix the problem by downloading the "linux-386" kernel from Synaptic and booting with that rather than Edgy's default "linux-generic" kernel. Keyboard responsiveness seems better all-round - no pauses, no repeated characters.

So, from my perspective at least, it looks like Colonius is right (cheers, mate!) - this is in some way related to using an SMP kernel.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

I compiled vanilla kernel (2.6.18.1) but no improvement. I'm running 2.6.15-23-amd64-generic #1 SMP PREEMPT no, which solved some other issues (Bug #64325: Konqueror is slow when opening a directory), but random keyboard repeats are still here. It's not possible to type a sentence without any randomly repeated characters.

Is this somehow amd64/em64t related?

Revision history for this message
Eragon (davidd-vacationexpress) wrote :

From what i can see, as others have stated, this is really a few different bugs, all with the same symptoms.

Mine is this one:
Affects: Users with Acer Laptops, or any other laptop manuf. that utilizes SBS (Smart Battery System)
Fix: Remove the SBS ACPI module (sudo rmmod acpi_sbs). Now while this is technically a fix, it leaves a bit to be desired, especially for people like me who actually use thier laptop as a laptop. What you CAN do, should you feel so froggy, you could recompile your kernel to use custom DSDT tables and do away with SBS entirely. There is a good guide to do this here:

http://forums.gentoo.org/viewtopic.php?t=122145

It was written for gentoo obviously, and on a gateway laptop, but with a bit of ingenuity you should be able to apply those instructions to ubuntu and acer. MAKE SURE YOU READ THE WHOLE POST BEFORE YOU RECOMPILE!!!!. Also, the original post is updated circa 2005, if something doesnt work for you there is plenty of good suggestions in the pages of responses.

Each of the bugs can be compounded upon each other, and starting out with a proper kernel always helps to avoid these things. The first thing everyone should do upon first install is open synaptic or run apt on the command line and install the proper kernel for thier architecture.

Extremely simple explanation of arch types:
i686 = intel procesors
i586 = AMD processors
either one comes in SMP version (multi processors), install this version if your processor is dual core, supports muti/hyper-threading or you just have multiple processors on your computer.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Well, in Edgy (AMD64), there is only linux-image-2.6.17-10-generic, so I can't simply install an non SMP kernel.

Obviously, the kernel (2.6.17 and vanilla 2.6.18) causes some programs to behave strange: like the x-server, kde (the slow icon animation/opening problem, Bug #64325), firefox (tab switching takes several seconds). Using 2.6.15-23-amd64-generic #1 SMP solves the probles with KDE and firefox (programs in general just start up faster!!!), but even with this kernel I have this bug with randomly repeated keys.

Writing this comment is pain already, cause it's nearly impossible to write a word without repeated characters.

The status of this bug report is "Fix Released" - what does it mean? I don't see that this bug is fixed yet.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

For now, I could solve this problem by using the boot kernel parameters "noapic" and "acpi=noirq" (I didn't try if just one of them is enough already, I'm just happy being able to type without repeated characters - now my laptop is usable again).

What I'm missing now: the 2nd cpu core, because with noapic, just one core of my core 2 duo is used.

Are there any other drawbacks of using noapic?

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Sorry for adding so many comments in a short time - but this bug is just driving me nuts :-(

I did some test with the "noapic" and "acpi=noirq" options. None of them for itself solves the problem, and not even both together, as I just found out. It's important to disable the splash options too!

Not using the splash option makes the problem with the repeated characters much better (in this comment I had it just 3 times) - so somewhere the framebuffer (needed for the usplash) causes a problem.

Additionally using "noapic" and "acpi=noirq" nearly makes the problem go away - but if you have a dual core cpu, only one core will be utilized.

It would be great if others, who are experiencing this problems, could try out my suggestions and give feedback. Thanks!

Is this problem maybe related to a special kind of cpu? Mine is an Intel Core 2 Duo.

Revision history for this message
SarahLempp (sarah-lempp) wrote :

For my Toshiba Satellite L10-101 the problem was solved by doing a BIOS update.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Unfortunately, there is no BIOS update for my notebook (Dell D620). I've checked the DSDT, which didn't show any errors, so this shouldn't be causing problems.

As I wrote in my report to bug# 64325, I can work normally only with kernel 2.6.15 (the one from dapper).

I've even compiled kernel 2.6.18 and 2.6.19rc2-mm2 myself (optimised for Intel Core 2 Duo) - but the problems described in both bug reports aren't solved with any of them.

Additionally, I have disabled the boot splash screen (it causes a lot of problems regarding the keyboard issue) and I'm using the kernel option pci=assign-busses.

I can't estimate whether this is an kernel- or an application-based (X or KDE) bug. Neither do I know what has changed from the kernel side from 2.6.15 to 2.6.17, so that this all happens. I have to point out, that problems regarding the keyboard only appear within X - but never on the VT.

To sum up:

2.6.19rc-mm2, 2.6.18 and 2.6.17 only work if I use "noapic" and/or "acpi=noirq", but with any of these options activated I've only ONE core, which is not what I desire.

2.6.15 (from dapper) works (having both cores), but I have to have disable the splash.

Is this any hint for someone with deeper kernel/X/KDE knowledge?

Revision history for this message
holycow (m8nt1s-launchpad) wrote :

I found a fix for the key repeat issue I was experiencing, and thought I'd share.

I added the kernel boot parameter "notsc" to my grub kernel line, and that fixed it. With this, I could also remove the "psmouse.rate=40" and other suggested settings listed in the thread.

So, try adding "notsc" to your kernel boot.

BTW, my system is:

Dell D820, T7400 (Core 2 duo 2.16GHz)
2 Gb mem
100 Gb hdd
GeForce Go 7400
Gentoo 2006.1 (2.6.18-r1 and ~amd64)

Note: There is a kernel config option, CONFIG_X86_TSC, but there does not seem to be a way to disable it since it is enabled by default.

Revision history for this message
Richard Salsbury (richard-richardsalsbury) wrote :

Updating the BIOS on my ThinkPad R60e had no effect. Nor did using the "notsc" kernel option - in fact this caused a Kernel Panic, so be careful that you haven't removed the fallback options in the Grub menu before you try this!

Revision history for this message
Louis XVI with a gun (anthony-guichard) wrote :

I' ve reinstalled Ubuntu with the new version : 6.10 edgy eft

Now, I can say that my keyboard works like a charm :)

Problem fixed for me

_________________________________________________________________
Découvrez Windows Live Messenger : le futur de MSN Messenger !
www.windowslivemessenger.fr

Revision history for this message
Richard Salsbury (richard-richardsalsbury) wrote :

Even after a complete re-install of Edgy, I still get this problem on my Thinkpad R60e. :-( Still using the single processor kernel for now.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

This problem seems to be solved with the kernel which is in Ubuntu feisty (published today)

2.6.19-4-generic #2 SMP Wed Nov 1 00:18:29 UTC 2006 x86_64 GNU/Linux

Revision history for this message
Richard Salsbury (richard-richardsalsbury) wrote :

Alas, The 2.6.19-4-generic kernel from Feisty doesn't solve the problem for me.

Revision history for this message
Antoine Amarilli (a3nm) wrote :

The problem seems to be resolved for me after migration from Dapper to Edgy.

Revision history for this message
jhansonxi (jhansonxi) wrote :

My encounter with this problem was with a SiS530/5595 chipset board, Bug #55843. It occurred in every instance of X. I resolved it by switching from the generic SMP kernel to the i386 one.

Revision history for this message
Kevin Cantu (kevincantu-deactivatedaccount) wrote :

I "fixed" this problem by turning off the keyboard repeat option.
In XFCE:
   Settings --> Keyboard Settings --> Settings --> Typing Settings --> [ ] Repeat

I still have the problems mentioned with konqueror (opening problem, Bug #64325) and firefox tab switching. And some other probably unrelated problems with lid-close and power ACPI events causing crashes.

Ubuntu Edgy / 2.6.17-10-generic / x86_64

Revision history for this message
Paul Coldrey (paul-ensigma) wrote :

Admittedly I am a Slackware user but the problem looks the same. I fixed it using the advice at:

http://rooster.stanford.edu/%7Eben/toshiba/keyboard.php

to paraphrase:

install accessx

then run the commands:

ax +bouncekeys
ax -timeout
ax bouncedelay 10

worked a treat for me.

Another method, based on the same reasoning is covered at:

http://www.janerob.com/rob/ts5100/index.shtml

Revision history for this message
Richard Salsbury (richard-richardsalsbury) wrote :

The xkbset method mentioned on the "janerob" website above works well for me. I wouldn't say it completely fixes the problem, but I've only seen it happen once in nearly two weeks. Thanks, Paul!

The good news is that xkbset is in the Ubuntu repositories, so it's a simple case of installing it, and creating the script mentioned in the website. This seemed a lot simpler (at least from an Ubuntu perspective) than trying accessx.

Revision history for this message
Rostislav Raykov (zbrox) wrote :

I'm using an Acer Aspire 3620, and as I mentioned before this annoyance isn't occurring when the touchpad registers moving. But it's kinda not comfortable to have my thumb always on the touchpad and writing with the other 9 fingers :)
I'm using the newest Edgy with all updates and I've also installed a copy of Feisty to see if the problem there is persisting and it is.
What info can I post to diagnose the problem and maybe a possible solution to fix it. I've tried the above with no visible change concering this behaviour.

P.S. This keystroke repeating or even not registering of keystrokes is occuring often - something like every 10 minutes for random period of time.

Revision history for this message
Haz (haz2a) wrote : Re: Keyboard random repeat solution

I had this problem in Xubuntu 6.06 LTS (XFCE) on an old AMD K6-2/500 with SiS 530/5595 chipset. Very difficult to login at the login window.

XFCE > Settings > Keyboard Settings > Settings > Typing Settings did not help - if anything worse.

The xkbset solution had no effect.

I didn't try the accessx solution, but I found
a simple solution that does work:-

Add the kernel parameter 'clock=tsc' in GRUB (ie: to the 'kernel' line of the top kernel entry in /boot/grub/menu.lst).

Revision history for this message
anonym (launch-mailinator) wrote :

I have a similar problem. If I continue typing sooner or later it will start spawning keyboard repeats aaaaaaaaaaaaaaaaaaaaany second now. Ah, Q.E.D.

Well, noticed every time this happens it's accompanied by ttttttttttttttttttttthe following line in /var/log/messages:

Feb 28 17:40:40 localhost kernel: [17292441.248000] usb 2-2: reset low speed USB device using uhci_hcd and address 3

This is repeated about once every two seconds.

There are some tips here, suggesting faulty USB ports or mouse:

http://<email address hidden>/msg17771.html

Gee, writing this makes me feel aaaaaaaaaaaaaaaaaaaaaaa lot better. Uh, not really.

Revision history for this message
Rostislav Raykov (zbrox) wrote :

Why is the status of the bug set to "Fix released". This behaviour hasn't changed a bit and I'm using Feisty for some time now, hoping a bug fix will be released with some new kernel or something.

Revision history for this message
Richard Salsbury (richard-richardsalsbury) wrote :

As per anonym's suggestion above, I replaced my mouse, even though I wasn't seeing kernel messages about USB.

Result: I haven't seen a single keyboard repeat in two weeks!

For info, my old mouse (the one that apparently was causing the problems) was a Logitech "Wheel Mouse" from 1998. The new one (which causes no keyboard repeats) is a Microsoft "Wheel Mouse Optical 1.1A USB" and is probably 3-4 years old.

Revision history for this message
Philip A. Marshall (philip-philipamarshall) wrote :

I didn't have this problem in Dapper or Edgy, but it's showing up in Feisty. I'll try some of the workarounds here.

Revision history for this message
Michael Katz (miceagol) wrote :

I've never had this problem before, also right after installing Feisty. When an update for Feisty came, this problem suddenly happened after rebooting. This needs to be fixed before the final Feisty release!

Keyboard: Logitech Internet Keyboard
Mouse: Logitech MX400

Revision history for this message
franxico (batuque) wrote :

Same problem here. When the repeat feature is on, the keyboard goes nuts. I'm using Feisty in a MS-6340 mobo, a PS2 french keyboard and an USB laser mouse plugged also in a PS2 port.

Revision history for this message
Fabian (fwin-deactivatedaccount) wrote :

I too got a Logitech Mouse (some wireless, don't know the exact model). I'm quite sure the problem first occured after I had switched to that mouse (before, I had a MS mouse).
Seems like a theme developing...

Revision history for this message
Michael Katz (miceagol) wrote :

This bug is listed as fixed. You should rather post a comment here: https://launchpad.net/ubuntu/+bug/99356

Revision history for this message
anonym (launch-mailinator) wrote :

I've been having this problem off and on for months. Today it was driving me crazy, with repeats every other second. I unplugged my Logitech USB Wheel Mouse (type M-BD58) and substituted an HP USB mouse (M-UAE96) instead. Voila - no more repeats. Unfortunately the HP mouse is crappy...

Revision history for this message
MartinRunge (martin-runge) wrote : Keyboard random repeat and dropped key presses: possible solution

I have had the same problem in to two different setups and here is what solved the problem for me:

1) Ubuntu 6.10 in VM-Ware Player
2) Ubuntu 7.04 on AMD64 X2 on Mainboard Asus M2N-E

Same behaviour on both, so I guess the hardware details are not so important. The Problem appeared from one day to the next without any change in the system.

I tried Rebooting, on the AMD64 as that had helped in the VM-WarePlayer, but no success. But rebooting keeps several components of the PC unter power. You can see
several LEDs still bright while Computer is switched off. So I shut down the computer and pulled the Plug for several seconds. All the LED were dark then (of cause :-). Reconnect to power and switch on and... the problem was gone.

So maybe there is an issue in the keyboard driver not initializing enough registers at startup? If they contain a wrong value for some resaon, you cannot get it out be reloading the driver or rebooting the computer.

Good luck
Martin

Changed in linux-restricted-modules-2.6.15:
assignee: nobody → ben-collins
status: New → Fix Released
Revision history for this message
David Gauchard (d-a-v) wrote :

Hello,

I have the same symptoms.
None of the options described above solve my problem.
In the meantime, I'm using a bad workaround (enabling repeat on some keys only using xset, see at the end of the post).

Let me describe my problem :
I'm running debian-stable (etch) withe the latest kernel (2.6.18.5)
Cpu: pentium 4 (single core, no hyper-threading).
Box : Dell Optiplex GX260
Symptoms :
The keyboard behaviour is usually correct, but when I press a key with involves some cpu calculation (more than displaying the key), then the systems behaves like if the key was not released. It is seen released "later". Typically the key is ctrl-T on firefox (I get tons of new tabs), / (slash) on firefox (when searching in a big page), ctrl-+ (this is horrible, I get a one huge letter after a while on my firefox window with this), enter in dselect (debian package management) on the search line (pressing / in the package list), ...
This does not happen in text-mode-virtual-console (with dselect).

This happens ONLY with 2.6 (any version from 2.6.15 up to 2.6.18), I have NO problem with 2.4.

What I tried :
Lots of combinations of acpi=off noacpi nosmp no apic nolapic notsc irqpoll noapictimer... (as described on a link above)
What I did not try :
Recompile a kernel with no smp and/or other PREEMPT config (the one shipped with Debian has SMP and CONFIG_PREEMPT_NONE=y)

For now I'm using this script where the list of number are keycodes which match the keys for which I want to enable repeat (backspace, del, arrows for now).
#!/bin/sh
xset r on
for i in `xmodmap -pke|awk '{print $2;}'`;do
        xset r $i
done
for i in `xmodmap -pke|awk '{print $2;}' | egrep -v "98|102|104|100|22|107"`; do
        xset -r $i
done

It is my office's PC so I have no much time to try everything.
I can live with this for now, but I'd prefer find a good solution. Maybe one of you have found something different to try so far. I'll let you know if I have time to recompile and try a new kernel.

david

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

David, did you try to install a current kernel version (e.g. 2.6.23)? I believe that the problem is caused by the kernel, and updating it solves it.

Revision history for this message
David Gauchard (d-a-v) wrote :

Hello,

Not yet, since kernels shipped with debian etch are 2.6.18 (I first noticed that problem "long" ago with 2.6.15).
But you are right, it is worth giving a try. I'll compile one as soon as possible and report here.

Thanks

david

Revision history for this message
David Gauchard (d-a-v) wrote :

Hey,

Thanks for this advice !

Everything has unfailed with 2.6.23 built with the debian-etch's 2.6.18 .config and
this command-line: 'make-kpkg --append-to-version "-trial" --initrd buildpackage --config menuconfig'.
The kernel is running without any special option (like noacpi,...)

Thanks again !

david

Revision history for this message
Guy Gong (guygong) wrote :

I too have a problem with my laptop keyboard which is an Omnibook 6100 running Mandriva 2008One. Sorry that this isn't a Ubuntu distro but this was the only place I found that had issues with the Keyboard and repeating Keys. Anyway, all was working fine out of the box and I had been trying to configure kpilot without success and all of a sudden, when I went to do a menu function, it would scroll on it's own to the right on it's own like the right arrow key was pressed. The problem would also be a problem with my spreadsheets, scrolling all the way to the end, and also be a problem in Konsole, where a "^[[C" would show and would affect my entering a password for "Root". I've tried the PSmouse rate=40, adjusting the key repeat, key slowness, Key bounce. Nothing worked. I kinda have a handle on it now by just pressing on the left arrow key and holding it down but I can't keep doing that all the time. It also causes my video to crash when watching a DVD. Again, sorry if this post shouldn't be here but I'm out of options.

Revision history for this message
ghostdogtree@gmail.com (ghostdogtree) wrote : Re: [Bug 39315] Re: Keyboard random repeat and dropped key presses

Hello,
      I dont know if I will be of much use too you.I think my bug was
specific to Ibm notepads.I will have a look at my notes and see what I did
to sort it out as I cant remember of the top of my head.
      Regards,
Mark

On Mon, Feb 25, 2008 at 10:23 PM, Guy Gong <email address hidden> wrote:

> I too have a problem with my laptop keyboard which is an Omnibook 6100
> running Mandriva 2008One. Sorry that this isn't a Ubuntu distro but this
> was the only place I found that had issues with the Keyboard and
> repeating Keys. Anyway, all was working fine out of the box and I had
> been trying to configure kpilot without success and all of a sudden,
> when I went to do a menu function, it would scroll on it's own to the
> right on it's own like the right arrow key was pressed. The problem
> would also be a problem with my spreadsheets, scrolling all the way to
> the end, and also be a problem in Konsole, where a "^[[C" would show and
> would affect my entering a password for "Root". I've tried the PSmouse
> rate=40, adjusting the key repeat, key slowness, Key bounce. Nothing
> worked. I kinda have a handle on it now by just pressing on the left
> arrow key and holding it down but I can't keep doing that all the time.
> It also causes my video to crash when watching a DVD. Again, sorry if
> this post shouldn't be here but I'm out of options.
>
> --
> Keyboard random repeat and dropped key presses
> https://bugs.launchpad.net/bugs/39315
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Guy Gong (guygong) wrote :

I went into my CMOS and it scrolls through the menus as well. I can control it by pressing on the left arrow key and it keeps it from scrolling on it's own to the right and the right arrow key will actually work when I actually press it. By the same token, I have to press down on the right arrow key in order to keep it from scrolling out of control to the left. I can do the same when I boot into Mandriva 2008. I could live with it because I can at utilize most of it but where it still annoying is when I want to use my spreadsheet application or when I am watching a DVD. This all seemed to start when trying to set my palm zire to sync, which worked in Mandriva 2006. I've seen posts on the net regarding a kpilot problem but don't see how that would have affected the keyboard on my laptop, and even stranger, how would it have affected the keyboard even while in CMOS. Again, sorry that I'm posting in a Ubuntu forum.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Guy Gong, you are not posting to a forum but to a bug report. As far as I can say from your description, you are not having the bug which is reported here. The bug was (in older versions of the linux kernel), that any key pressed was repeated or sometimes any key press was simply ignored. Your problem is that suddenly your right arrow key hangs and generates key press events. This seems to be a hardware fault (maybe dust or similar), as you experience this problem right at boot time (even in the BIOS). The bug which is described here only occurred at certain versions of the kernel. It didn't happen in the BIOS, nor in Windows.

I suggest you to get your notebook hardware (keyboard) checked.

Revision history for this message
Guy Gong (guygong) wrote :

Thanks for the help. I think you're correct that it could be a hardware issue. When the computer was still an Windows machine, I didn't notice it since I wasn't doing anything that required me to use the arrow keys like using a spreadsheet. Or it could all be coincidence that it happen at the same time I was trying to configure kpilot to sync my palm. Anyway, I'll try cleaning and looking at other options. Thanks...

Revision history for this message
ghostdogtree@gmail.com (ghostdogtree) wrote :

If it occuring in the CMOS then it is certainly a hardware problem as the
Bios runs on a deeper level than the OS,Might try small earbuds on cleaning
the keyboard keys when machine switched off.

On Wed, Feb 27, 2008 at 5:09 PM, Guy Gong <email address hidden> wrote:

> Thanks for the help. I think you're correct that it could be a hardware
> issue. When the computer was still an Windows machine, I didn't notice
> it since I wasn't doing anything that required me to use the arrow keys
> like using a spreadsheet. Or it could all be coincidence that it happen
> at the same time I was trying to configure kpilot to sync my palm.
> Anyway, I'll try cleaning and looking at other options. Thanks...
>
> --
> Keyboard random repeat and dropped key presses
> https://bugs.launchpad.net/bugs/39315
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
legolas558 (legolas558) wrote :
Revision history for this message
legolas558 (legolas558) wrote :
Revision history for this message
Ben (benny-and-the-bikes) wrote :

Me too ...

Revision history for this message
#pragma (ubuntar) wrote :

I have Lenovo Thinkpad T61,when i am connecting PS/2 mouse and PS/2 keyboard to USB adapter,that uses only one USB port,i have same random keypresses.Sometimes new firefox window can be opened about 10 times per second or may be more,and only helps reconnect of adapter.

Revision history for this message
Vyacheslav (sl-s) wrote :

also found this bug (keyboard imitates of pressing '1', '2', '3' and Enter) after installing of fresh copy of ubuntu 14.04 stable x64 server and when installing xorg and kubuntu-desktop meta package
also found this bug after installing of fresh copy of ubuntu 12.04.4 stable x64 server and when installing xorg and kubuntu-desktop meta package, but more rarely when in 14.04
my keyboard is physically well (dual-booting into Windows on this machine shows no problems), this bug exists if I change the keyboard to another.
If I reboot the computer and never click a button on keyboard (but work with it through RealVNC server and viewer - press any buttons on keyboard at other computer and VNC viewer sends it to server) - the bug appears again
The bug also appears sometimes after some hoгs of user inactivity (VNC viewers also disconnected for some hours)
updating from ubuntu repositories doesn't help

Revision history for this message
Alexey Elymanov (strangeqargo) wrote :

This bug persists or reappears on 4.15.0-23-generic Ubuntu 18.04, with usb wired mouse attached I got seemingly random keypresses repeating: i.e. all keys except qwertyuiop work ok

Revision history for this message
steve d (stevethefiddle-gmail) wrote :

I've had this problem for several years and have finally found a workaround that works for me.

My current system is:

Xubuntu 16.04 LTS
Advent wireless mouse (also happens with other mice, including wired)
SynPS/2 Synaptics TouchPad. Disabled in "Mouse and Touchpad" application.

The reason I use a mouse is that I don't get on with touchpads as I tend to catch them when typing, and even if I set the "Disable while typing" option, I find that I sometimes still accidentally move focus out of where I'm typing (really annoying).

I suspected that the touchpad was causing the problem, even though it is "disabled".
I have now covered the touchpad with a piece of cardboard, loosely taped into place.

When the touchpad is covered with card, no problem.
When the touchpad is not covered with card, I get the problem.
Cover with card again, no problem.

I suspect what is happening is that messages from the touchpad, when I accidentally catch it with a thumb while two finger typing, is somehow interfering with messages from the keyboard. If the key down event is lost or delayed, a typed key fails to register. If a key up event is lost or delayed, the key repeats.

I have tried most of the suggested fixes in this thread and elsewhere, but so far the only solution that works for me is to physically cover the touchpad so that it is mechanically disabled.

Revision history for this message
vak (khamenya) wrote :

btw, the bug is still present in ubuntu 18.04.1
on Lenovo IdeaPad Yoga 13 it affects: Shift, Alt, Ctrl, Win-key and AltGr that get stuck as well as arrow keys that produce repeated digits when they get stuck

Revision history for this message
Milan Kragujevic (milankragujevic) wrote :

This is a horrible problem that has been happening for years on multiple devices, latest of which is HP 15-db1041nm.

Revision history for this message
Sjoske (jos-huisken) wrote :

I can also confffirm ttttttttthhhhhhhhhhhhhhis problem still exists in 18.04.4.

Happens on virtual console as well as in desktop.
I'm using Logitech MX320 on usb.
Using a different wired usb keyboard has no effect, random repeats continue to appear.
ASUS P8Z68-V/GEN3 motherboard.

It is occurring to me few times last months.

Revision history for this message
Sjoske (jos-huisken) wrote :

One other note. Keys only get repeated while the cursor is already blinking very fast.
What is the reason that the cursor blinks fast while no keys are pressed?
This fast blinking occurs randomly and is correlated with the random repeated keys.

Revision history for this message
Sjoske (jos-huisken) wrote :

BTW 'xset -r' solves the random repeat issue.

Revision history for this message
Sjoske (jos-huisken) wrote :

So this bug is still present in Ubuntu 18.04.4 LTS, kernel 4.15.0.
Anyone an idea to diagnose this issue? Since disabling key repeat is not a solution.
Please realize it also occurs on a virtual console.

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.