audiodef
Posts: 4
Joined: Fri Aug 31, 2012 4:39 pm

Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 4:43 pm

I've seen information about keys failing or sticking (producing things like "apt-geeeeeeeeeeeeeeeeeeeeeeeeeeee" or whatever) being related to the power supply; however, I'm using the wall outlet adapter and cord that came with my Nook. The adapter is rated for 5V, 0.85A. It seems this should be sufficient power. Am I wrong?

User avatar
Jim JKla
Posts: 2218
Joined: Sun Jan 29, 2012 11:15 pm
Location: Newcastle upon Tyne UK

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 5:23 pm

Some of these plug fittings are unreliable so it could be this dispite the adequate rating.

You could get another and find it works perfectly. ;)
Noob is not derogatory the noob is just the lower end of the noob--geek spectrum being a noob is just your first step towards being an uber-geek ;)

If you find a solution please post it in the wiki the forum dies too quick

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 5:29 pm

audiodef wrote:I've seen information about keys failing or sticking (producing things like "apt-geeeeeeeeeeeeeeeeeeeeeeeeeeee" or whatever) being related to the power supply; however, I'm using the wall outlet adapter and cord that came with my Nook. The adapter is rated for 5V, 0.85A. It seems this should be sufficient power. Am I wrong?
There's numerous causes for this. Power supply is one, and checking the voltage between TP1 and TP2 could rule that out:
http://elinux.org/R-Pi_Troubleshooting# ... r_problems

There's also issues with interrupt latency causing problems. There's been some recent fixes that could help. Try updating firmware:
http://elinux.org/R-Pi_Troubleshooting# ... g_firmware

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13092
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 5:37 pm

Its impossible to say about any charger you use as a power supply if it is really suitable, that it says 5V and 0.85A doesn't mean that it can supply exactly 5V while 0,85A is drawn from it. It could be that it can give 5.0 Volt, and it can give 0.85A but not both at the same time! Charging circuits are much less fussy on stable input voltage than USB devices, and may work fine with 4.5 volt, so some charger makers don't take quality of the voltage level quite serious.

If you get repeating characters (a failing keyboard) may depend (together with potential software issues) on how much power (voltage) actually reaches the keyboard. That depends on if you have bad or good USB fuses, (or non at all, as on some newer boards the fuses are replaced by wire bridges) AND how much voltage your PSU actually generates AND the quality of the cable between the PSU and the PI AND how much current the keyboard uses AND whether the keyboard is truly designed to USB specs, and thus can work with some loss of power.

You can measure how much power the PI actually reaches by using a voltmeter and measuring between test points TP1 and TP2, if you see less than 4.8 volt there you may have cause for concern, but it really depends on how much current the keyboard uses, and on the status of the polyfuse how much voltage the keyboard actually gets, and it depends on the keyboard if that amount is enough. If it is designed according to USB specifications it should work with voltages as low as 4.4 Volt, but some keyboards do not.

Most people solve the problem by either using a different PSU or a different keyboard, for the former solution I would look for a good reliable brand (not some cheap Chinese thing, which may not at all do what it states on the label) with a rating of 5V and at least 1A. If you go for another keyboard you should use the most simple and cheap wired keyboard, without any frills, these tend to work the best.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 5:40 pm

Closing thread as dupe - please follow Dom's links above.
Director of Communications, Raspberry Pi

audiodef
Posts: 4
Joined: Fri Aug 31, 2012 4:39 pm

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 6:40 pm

Thanks for the responses. That was fast! :-D

It looked like I had a recent firmware version (dated August this year), but I ran rpi-update anyway, and my RPi wouldn't boot. It just sat there blinking the OK LED in a series of 5-6 blinks. I'm trying a new image on my SD card, as my first guess would be my image got bjorked.

audiodef
Posts: 4
Joined: Fri Aug 31, 2012 4:39 pm

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 6:46 pm

The new image still has the same problem. Since someone suggested that even with the correct rating, one adapter could simply not work well with the unit, I'm going to go look for another one somewhere.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5537
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 7:11 pm

audiodef wrote:The new image still has the same problem. Since someone suggested that even with the correct rating, one adapter could simply not work well with the unit, I'm going to go look for another one somewhere.
Was this just a new image, or new image + rpi_update?
There was a relevant update to firmware today, which you'll only get from rpi-update.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5212
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Keyboard: keys fail or stick randomly

Fri Aug 31, 2012 7:25 pm

...actually remembering to hit the close thread button this time!
Director of Communications, Raspberry Pi

Return to “Troubleshooting”