TLCH723
Posts: 3
Joined: Thu Nov 08, 2012 1:36 pm

Raspberry Pi lag and keyboard problem

Thu Nov 08, 2012 1:48 pm

Hi, I just got my 512Mb Raspberry Pi.
1) I am using a Sandisk 4GB Ultra II Class 4 SD card and the
2012-10-28 Raspbian “wheezy” image. I am getting a terrible
lag. After I double click an icon on the desktop or select a
program in the menu, it take like 10 or more seconds to load
the program. I tried "reinstalling" the OS and that didnt help.
2) Another problem I am having is that whenever my keyboard
(Logitech G15) is plug in thru the USB hub (IOGEAR GHU286),
it will repeat keys and sometime lags. However, if I plug in
directly, it wont do it. I tried using my keyboard via the USB hub
on my win7 machine and it works perfectly.

Wheel_nut
Posts: 136
Joined: Tue Sep 18, 2012 7:51 pm

Re: Raspberry Pi lag and keyboard problem

Thu Nov 08, 2012 4:22 pm

1) is probably attributable to the CLASS 4 SD Card you are using. Although a Class 4 Card will work, the data rate is much slower (especially when writing) than a Class 10 Card.

2) is caused by the volt drop between your PSU and the RPi, across the RPI MisroUSB socket Polyfuse and then the cabling to your Hub and Keyboard. I use a POWERED Hub and then power the RPi by backfeeding the USB sockets. This way you circumvent the volt drop inherent in MicroUSB cables, the plug/ socket and the RPi's Polyfuse. The repeating characters from the keyboad usually occur when the Voltage drops below ~4.7 Volts.

User avatar
Grumpy Mike
Posts: 936
Joined: Sat Sep 10, 2011 7:49 pm
Location: Manchester (England England)
Contact: Website

Re: Raspberry Pi lag and keyboard problem

Thu Nov 08, 2012 4:31 pm

and the RPi's Polyfuse.
But he said:-
I just got my 512Mb Raspberry Pi.
So that means it is an issue 2 board and has no ploy fuses in the USB.

There is an unfixable problem with the USB that can cause key repeats on perfectly usable keyboards. Often the most expensive keyboards are a problem. It is a problem of dropping packages, the package dropped has the key up event it it. So it thinks you have the key pressed down. This is worse when going through a hub as it is another place a package can be dropped. The only real solution is to get a cheap keyboard the sort of £6.00 you get in supermarkets.

Wheel_nut
Posts: 136
Joined: Tue Sep 18, 2012 7:51 pm

Re: Raspberry Pi lag and keyboard problem

Thu Nov 08, 2012 4:47 pm

Grumpy Mike wrote:
and the RPi's Polyfuse.
But he said:-
I just got my 512Mb Raspberry Pi.
So that means it is an issue 2 board and has no ploy fuses in the USB.
Not quite. The Rev 2 Boards still have a Polyfuse just inboard of the MicroUSB socket. This is why I suggest powering the RPi through the USB sockets where the Polyfuses have been omitted.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi lag and keyboard problem

Thu Nov 08, 2012 4:52 pm

Grumpy Mike wrote:
and the RPi's Polyfuse.
But he said:-
I just got my 512Mb Raspberry Pi.
So that means it is an issue 2 board and has no ploy fuses in the USB.

There is an unfixable problem with the USB that can cause key repeats on perfectly usable keyboards. Often the most expensive keyboards are a problem. It is a problem of dropping packages, the package dropped has the key up event it it. So it thinks you have the key pressed down. This is worse when going through a hub as it is another place a package can be dropped. The only real solution is to get a cheap keyboard the sort of £6.00 you get in supermarkets.
It's not classified as unfixable. It's being worked on, so is currently unfixed, not unfixable.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

TLCH723
Posts: 3
Joined: Thu Nov 08, 2012 1:36 pm

Re: Raspberry Pi lag and keyboard problem

Fri Nov 09, 2012 3:47 am

Wheel_nut wrote:1) is probably attributable to the CLASS 4 SD Card you are using. Although a Class 4 Card will work, the data rate is much slower (especially when writing) than a Class 10 Card.

2) is caused by the volt drop between your PSU and the RPi, across the RPI MisroUSB socket Polyfuse and then the cabling to your Hub and Keyboard. I use a POWERED Hub and then power the RPi by backfeeding the USB sockets. This way you circumvent the volt drop inherent in MicroUSB cables, the plug/ socket and the RPi's Polyfuse. The repeating characters from the keyboad usually occur when the Voltage drops below ~4.7 Volts.
So I should use an USB port on my USB hub to power my RPi??
My USB hub is powered

TLCH723
Posts: 3
Joined: Thu Nov 08, 2012 1:36 pm

Re: Raspberry Pi lag and keyboard problem

Sat Nov 10, 2012 2:55 pm

Wheel_nut wrote:1) is probably attributable to the CLASS 4 SD Card you are using. Although a Class 4 Card will work, the data rate is much slower (especially when writing) than a Class 10 Card.
I dont think is the SD card. It enough lags during web browsing, eg scrolling up and down, typing into search box, etc.

Return to “Beginners”