Keyboard repeating characters


67 posts   Page 3 of 3   1, 2, 3
by sonofusion82 » Mon Feb 04, 2013 8:20 pm
thradtke wrote:What if a key up signal is lost (the root cause of repeating keys), but a subsequent key down signal (of a different key) arrives within the timeout? This wouldn't be an uncommon situation.

HID keyboard reports are not simple single key up/down messages. It is an array of up to 6 keycodes of currently pressed keys. So for your example scenario, when the next report arrives without the previously pressed keycode, the parser knows that the previous key has been released.
Posts: 4
Joined: Sun Jan 06, 2013 7:25 am
by gsh » Mon Feb 04, 2013 8:23 pm
Made significant progress on the USB issues today, I think I've got the right solution, just ironing out the bugs, but all these issues should disappear in another couple of weeks...

Gordon...
--
Gordon Hollingworth PhD
Raspberry Pi - Director of Software Engineering
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 828
Joined: Sat Sep 10, 2011 11:43 am
by patlan » Mon Feb 04, 2013 9:01 pm
Just booted up my Pi for the first time and plugged a wireless USB adapter for my MS 2000 mouse and keyboard (50mA). Hardly works at all. Letters repeating it self, some are not working etc. etc.
Do I have to go and by a wired set instead or is there any solution?

Edit: Just found out that it was listed under "Problem Keyboards" http://elinux.org/RPi_VerifiedPeripherals#Problem_USB_Keyboards
Last edited by patlan on Mon Feb 04, 2013 9:26 pm, edited 1 time in total.
Posts: 2
Joined: Mon Feb 04, 2013 8:10 pm
by patlan » Mon Feb 04, 2013 9:17 pm
drgeoff wrote:
svetlev wrote:
Code: Select all
dwc_otg.speed=1
did not work for me. It couldn't even boot correctly.

Yes, I have also found that every time I tried it.


Me too. Doesnt boot. Also not after removing the line.
Posts: 2
Joined: Mon Feb 04, 2013 8:10 pm
by thradtke » Tue Feb 05, 2013 6:07 am
gsh wrote:[...] all these issues should disappear in another couple of weeks...

Honor and Glory will be yours.
Full-time noob forever.
Posts: 432
Joined: Wed May 16, 2012 5:16 am
Location: Germany / EL
by pluggy » Tue Feb 05, 2013 6:55 am
gsh wrote:Made significant progress on the USB issues today, I think I've got the right solution, just ironing out the bugs, but all these issues should disappear in another couple of weeks...

Gordon...


Another fan here..... :)
Don't judge Linux by the Pi.......
User avatar
Posts: 2757
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
by obcd » Tue Feb 05, 2013 8:06 am
+1 :)
Posts: 890
Joined: Sun Jul 29, 2012 9:06 pm
by kalehrl » Tue Feb 05, 2013 1:52 pm
While we wait for the definite solution, why not just accept the pull request from sonofusion82? I've got a wireless Microsoft 5000 set and it only works with ugly dwc_otg.speed=1 workaround.
Posts: 343
Joined: Tue Jul 24, 2012 10:49 am
by gridrun » Mon Feb 18, 2013 4:29 pm
I also got the repeating characters problem today, after a while of usage. Both with a Logitech iTouch Keyboard, and with a DELL SK-8125.

The problem went away when I disconnected the mouse (HP M-UV96).
Find more info on Raspberry Pi, Virtualization and all things cloudy on my blog: http://niston.wordpress.com
Posts: 45
Joined: Mon Feb 18, 2013 12:26 pm
by DemonicHawk » Tue Feb 19, 2013 1:30 am
I don't know if this helps or not, but I updated my RPi running Arch today and started to experience these problems. I hadn't updated since Dec 17th and everything was fine then, so I'm guessing something changed from then till now which is causing this?
Posts: 1
Joined: Tue Dec 18, 2012 3:57 am
by smarthouse » Sat Feb 23, 2013 1:14 pm
Just a further note on the keystroking issue. I played with raspbmc and XBMC for the last couple of months and never saw any keyboard entry problems. Decided to download the latest raspian and get going on some C coding. Now with the exact same setup as with XBMC the repeat keystroke problem really shows up. Make it look like a software issue rather than the kybd device /PSU solutions I have seen on these boards.
Posts: 2
Joined: Sat Feb 23, 2013 12:37 pm
by Baxter » Wed Apr 03, 2013 6:34 pm
Well a couple of weeks came and went ;) Was this problem ever solved..? Please say yes!
Posts: 3
Joined: Fri Mar 08, 2013 1:15 pm
by pluggy » Wed Apr 03, 2013 7:05 pm
Not altogether. Its not a problem for most keyboards but having just tested the latest raspdian with the latest kernel from github (#403) my Microsoft Sidewinder X4 still bounces keystrokes. But I think the latest USB updates have been aimed at webcams/audio devices rather than keyboards.
Don't judge Linux by the Pi.......
User avatar
Posts: 2757
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
by dom » Wed Apr 03, 2013 7:33 pm
This is the thread you should be following:
viewtopic.php?f=28&t=39175

(but still a work in progress)
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4064
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge
by Baxter » Wed Apr 03, 2013 8:14 pm
Thanks!
Posts: 3
Joined: Fri Mar 08, 2013 1:15 pm
by mskib » Fri May 09, 2014 1:53 am
I had a similar issue with a Logitech wireless keyboard - so bad that I was unable to login correctly as the repeating keystrokes would occur while trying to type my password. Typing through SSH connections was not affected. The problem appeared to manifest when I started the pulseaudio daemon. I disabled pulseaudio, and all seems normal now.

Not sure if this will help someone else out, but thought I'd post in case it does!
Posts: 1
Joined: Fri May 09, 2014 1:45 am
by jamesh » Fri May 09, 2014 8:44 am
Was that with the latest firmware with the latest USB driver?
Volunteer at the Raspberry Pi Foundation, helper at Picademy September and October 2014.
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 12130
Joined: Sat Jul 30, 2011 7:41 pm