User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Multiple keystroke and temporary failing keyboard

Sat Jul 21, 2012 8:50 pm

Hi everybody!

I'm using an usb-keyboard which works just fine with Arch Linux on my Laptop, but on the Raspberry Pi I have a lot of problems with it:

Sometimes it looks like the Raspberry Pi is missing that I release my finger of a key and I get multiple keystrokes. (Very much keystrokes in a very short time, just like when you press a key for a few socends). And sometimes I can press every button I like and none is recognized.

At first I thought this could be because of insufficient usb-power and I bought an powered hub. The hub does work fine, but the problems with the keyboard remain.

Has anyone a idea what to do about it?

Thank you for your help!

Btw: At the moment it works just fine (I'm actually writing this on my Pi). But ten minutes ago my keyboard failed about two times per minute.

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: Multiple keystroke and temporary failing keyboard

Sun Jul 22, 2012 8:21 pm

It looks like I'm not the only one having this problem:
http://archlinuxarm.org/forum/viewtopic ... ard#p17424

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Multiple keystroke and temporary failing keyboard

Sun Jul 22, 2012 8:37 pm

I have had an alpha board for a long time, finally got my new rpi and had the exact same proble.
Unplugged mouse and it seems ok now.
Powering my pi off a trimslice USB port, it can supply 1000 mA

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: Multiple keystroke and temporary failing keyboard

Sun Jul 22, 2012 9:35 pm

I think I know why unplugging the mouse does help: My keyboard becomes unusable while I have high network traffic. I think this is because the network card is connected via USB by the integrated hub of the Pi. With lesser traffic on the USB bus the keyboard seems to work more reliable.

Maybe it is something with a sort of USB scheduler?

At the Arch Linux ARM forum downgrading libusb was mentioned as a solution to this problem. Is there a way to get the old pkgbuild?

Thanks so far

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: Multiple keystroke and temporary failing keyboard

Mon Jul 23, 2012 1:34 pm

Btw: Pepedog was right: unplugging the mouse does help a lot, but this sill doesn't solve the problem.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Multiple keystroke and temporary failing keyboard

Mon Jul 23, 2012 2:12 pm

My alpha board worked fine with my unpowered hub/keyboard/mouse/powered hard drive, not on production rpi, so don't think it's USB interupts/traffic/timing. It could be polyfuse or power supply? Removing mouse eleviates things.
Believe it or not I'm glad to have a "real" rpi now so I can witness things first hand, I thought everyone else was crazy as I had nothing like this on the alpha.

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: Multiple keystroke and temporary failing keyboard

Mon Jul 23, 2012 2:30 pm

Hi pepedog!

As I'm using a powered hub which provides up to 2500 mA and only have the keyboard and the mouse plugged in, I'm pretty sure it is not about power.

To me it looks like me Pi is missing some events. Do you think it is a hardware fault of the Pi?

User avatar
RaTTuS
Posts: 10779
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Multiple keystroke and temporary failing keyboard

Mon Jul 23, 2012 2:33 pm

tail -f /var/log/syslog
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
maribu
Posts: 143
Joined: Mon Feb 13, 2012 9:56 pm

Re: Multiple keystroke and temporary failing keyboard

Sun Jul 29, 2012 9:09 pm

I posted this issue also on the genral disscussion forum:

http://www.raspberrypi.org/phpBB3/viewt ... 63&t=12786

The new info is: Someone is working on this problem.

Cheers,
Maribu

latki8
Posts: 31
Joined: Wed Aug 01, 2012 1:56 pm

Re: Multiple keystroke and temporary failing keyboard

Wed Aug 01, 2012 2:02 pm

My wireless keyboard/trackerball worked perfectly on the original OS shipped with Rpi (Debian, I think). Today I booted archlinuxarm-13-06-2012 for the first time and immediately started experiencing repeated characters so I feel confident it is an OS problem.

Jehosophat
Posts: 4
Joined: Sun Jul 22, 2012 11:37 pm

Re: Multiple keystroke and temporary failing keyboard

Fri Aug 03, 2012 6:30 pm

I booted up the RPi for the first time today and I got the same problem.

So first impressions of the RPi were not great. So I hope some one isqworking on this. Great to see that others have already reported this.

Jehosophat
Posts: 4
Joined: Sun Jul 22, 2012 11:37 pm

Re: Multiple keystroke and temporary failing keyboard

Mon Oct 01, 2012 3:19 pm

I dumped the Dell keyboard that came with my Dell Dimension 3000 computer and bought a new keyboard from Tesco. Everything works fine now.

Stokestack
Posts: 46
Joined: Wed Aug 15, 2012 1:00 am

Re: Multiple keystroke and temporary failing keyboard

Tue Aug 20, 2013 11:55 pm

Hm, more than a year later and this problem still exists. I've updated to the latest firmware, and I'm getting missed keystrokes and endlessly repeated characters at random but frequent intervals. Test points show that the voltage is 4.89.

User avatar
RaTTuS
Posts: 10779
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Multiple keystroke and temporary failing keyboard

Wed Aug 21, 2013 7:18 am

Stokestack wrote:Hm, more than a year later and this problem still exists. I've updated to the latest firmware, and I'm getting missed keystrokes and endlessly repeated characters at random but frequent intervals. Test points show that the voltage is 4.89.
ok so how about posting a link to the keyboard you have
what other hardware do you have plugged into your RPi
what power supply do you have
please give URL links to all
what make and model of Rpi have you got [cat /proc/cpuinfo]
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Stokestack
Posts: 46
Joined: Wed Aug 15, 2012 1:00 am

Re: Multiple keystroke and temporary failing keyboard

Thu Aug 22, 2013 10:11 pm

It's the Atrix phone dock made by Motorola. There's an Adafruit tutorial about it here: http://www.youtube.com/watch?v=yZkz_a52 ... 6B&index=6

The only other thing plugged in is the usual Wi-Fi dongle. Can't remember the brand, but it's the most popular one for the Pi. I think there's an X in the brand. There's little or no network activity going on, so it's not like the USB is being flooded.

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Multiple keystroke and temporary failing keyboard

Thu Aug 22, 2013 10:19 pm

Has moving keyboard to other USB port been tried?

Stokestack
Posts: 46
Joined: Wed Aug 15, 2012 1:00 am

Re: Multiple keystroke and temporary failing keyboard

Thu Aug 22, 2013 10:33 pm

Haven't tried the other port. I won't be able to do anything more with it for a week and a half.

Stokestack
Posts: 46
Joined: Wed Aug 15, 2012 1:00 am

Re: Multiple keystroke and temporary failing keyboard

Fri Dec 06, 2013 10:31 pm

I moved the keyboard to the bottom USB port (closest to the board), and the problem still happens.

This thing is useless as it stands.


Stokestack
Posts: 46
Joined: Wed Aug 15, 2012 1:00 am

Re: Multiple keystroke and temporary failing keyboard

Mon Dec 09, 2013 2:22 am

Thanks for that link. However, it seems only to involve the delay before key-repeat kicks in.

Return to “Arch”