linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* keyboard problems
@ 2000-08-01  5:48 Thomas Graichen
  2000-08-01 20:37 ` Nelson Abramson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Thomas Graichen @ 2000-08-01  5:48 UTC (permalink / raw)
  To: linuxppc-dev


i have a little keyboard problem on my blueberry imac with the
standard usb keyboard: whenever i type something very quickly
followed by space the typed in will be repeated before the
space (best example: i want to type "cd " and get "cdcd ")
- this gets a bit annoying - does anybody have the same
problem (or even a fix for it) ? - is it more a soft-
wareproblem (i hope :-) or maybe a hardwareproblem ?
(i had it on all kernels from 2.2.x to 2.4.0-testx)

a lot of thanks in advance

t

p.s.: it appears both on the console and under x - so it has
      to - if software - a problem in the kbd driver

--
thomas.graichen@innominate.de
technical director                                       innominate AG
clustering & security                                networking people
tel: +49.30.308806-13 fax: -77 web: http://innominate.de pgp: /pgp/tgr

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* keyboard problems
       [not found] <8m5oaq$6tj$3@mate.bln.innominate.de>
@ 2000-08-01 19:49 ` Thomas Graichen
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Graichen @ 2000-08-01 19:49 UTC (permalink / raw)
  To: linuxppc-dev


looks like this one got lost too - so here it is again ...

i have a little keyboard problem on my blueberry imac with the
standard usb keyboard: whenever i type something very quickly
followed by space the typed in will be repeated before the
space (best example: i want to type "cd " and get "cdcd ")
- this gets a bit annoying - does anybody have the same
problem (or even a fix for it) ? - is it more a soft-
wareproblem (i hope :-) or maybe a hardwareproblem ?
(i had it on all kernels from 2.2.x to 2.4.0-testx)

a lot of thanks in advance

t

p.s.: it appears both on the console and under x - so it has
      to - if software - a problem in the kbd driver

--
thomas.graichen@innominate.de
technical director                                       innominate AG
clustering & security                                networking people
tel: +49.30.308806-13 fax: -77 web: http://innominate.de pgp: /pgp/tgr

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: keyboard problems
  2000-08-01  5:48 keyboard problems Thomas Graichen
@ 2000-08-01 20:37 ` Nelson Abramson
  2000-08-02  0:07 ` David A. Gatwood
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Nelson Abramson @ 2000-08-01 20:37 UTC (permalink / raw)
  To: Thomas Graichen; +Cc: linuxppc-dev


Thomas Graichen wrote:

> i have a little keyboard problem on my blueberry imac with the
> standard usb keyboard: whenever i type something very quickly
> followed by space the typed in will be repeated before the
> space (best example: i want to type "cd " and get "cdcd ")
> - this gets a bit annoying - does anybody have the same
> problem (or even a fix for it) ? - is it more a soft-
> wareproblem (i hope :-) or maybe a hardwareproblem ?
> (i had it on all kernels from 2.2.x to 2.4.0-testx)

This is a well known issue with the usb keyboard driver.  It was a a
relatively lengthy thread a few months ago with no (AFAIK) solution,
other than "will be fixed in the future".

It has to do with depressing three keys at a time.  It takes a little
getting used to, but now, except for the occasional moment of serious
energy, I no longer strike three simultaneous keys on my Sawtooth.

HTH
--Nelson Abramson


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: keyboard problems
  2000-08-01  5:48 keyboard problems Thomas Graichen
  2000-08-01 20:37 ` Nelson Abramson
@ 2000-08-02  0:07 ` David A. Gatwood
  2000-08-02  3:53 ` USB keyboard problems - cdcd Hollis Blanchard
  2000-08-03  6:17 ` keyboard problems Paul Mackerras
  3 siblings, 0 replies; 7+ messages in thread
From: David A. Gatwood @ 2000-08-02  0:07 UTC (permalink / raw)
  To: Thomas Graichen, thomas.graichen; +Cc: linuxppc-dev


On 1 Aug 2000, Thomas Graichen wrote:

> i have a little keyboard problem on my blueberry imac with the
> standard usb keyboard: whenever i type something very quickly
> followed by space the typed in will be repeated before the
> space (best example: i want to type "cd " and get "cdcd ")
> - this gets a bit annoying - does anybody have the same
> problem (or even a fix for it) ? - is it more a soft-
> wareproblem (i hope :-) or maybe a hardwareproblem ?
> (i had it on all kernels from 2.2.x to 2.4.0-testx)

I believe I've experienced this as well.  As I recall, it occurs when two
non-modifier keys are pressed nearly simultaneously.  I suspect the issue
is that the driver is seeing a key up event and passing it on, and then at
a higher level, the kernel is getting confused because it gets two key
downs followed by two key ups, and proceeds to turn them all into bytes at
the tty level or something similar, instead of ignoring the key up events.

Probably the easiest fix would be to modify the driver to send a key up
event when a second key is pressed, even if the first key hasn't been
pressed, then to ignore the very next key up event for that first key....
Just a thought.  Of course, it's critical that such a change exclude the
modifier keys, so....  Not sure how easy that would end up being.

I'm not sure how to implement that sort of change beyond a conceptual
view, though, as I haven't really looked at Linux's USB drivers much.


Later,
David

---------------------------------------------------------------------
A brief Haiku:

Microsoft is bad.
It seems secure at first glance.
Then you read your mail.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: USB keyboard problems - cdcd
  2000-08-01  5:48 keyboard problems Thomas Graichen
  2000-08-01 20:37 ` Nelson Abramson
  2000-08-02  0:07 ` David A. Gatwood
@ 2000-08-02  3:53 ` Hollis Blanchard
  2000-08-03  6:17 ` keyboard problems Paul Mackerras
  3 siblings, 0 replies; 7+ messages in thread
From: Hollis Blanchard @ 2000-08-02  3:53 UTC (permalink / raw)
  To: Thomas Graichen; +Cc: linuxppc-dev


Thomas Graichen wrote:
>
> i have a little keyboard problem on my blueberry imac with the
> standard usb keyboard: whenever i type something very quickly
> followed by space the typed in will be repeated before the
> space (best example: i want to type "cd " and get "cdcd ")
> - this gets a bit annoying - does anybody have the same
> problem (or even a fix for it) ? - is it more a soft-
> wareproblem (i hope :-) or maybe a hardwareproblem ?
> (i had it on all kernels from 2.2.x to 2.4.0-testx)

This is well-known (at least for people with USB keyboards). Interestingly,
it *only* seems to happen with the old Apple USB mini keyboard (the fullsize
is too new; haven't heard anything about it).

The problem only seems to happen when some (not all) groups of three keys
are hit too quickly. It could be because this keyboard physically allows you
to press more keys simultaneously, or it could be driver-related (or both).

The only solution for now seems to be type "cd " one key a time.

-Hollis

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: keyboard problems
  2000-08-01  5:48 keyboard problems Thomas Graichen
                   ` (2 preceding siblings ...)
  2000-08-02  3:53 ` USB keyboard problems - cdcd Hollis Blanchard
@ 2000-08-03  6:17 ` Paul Mackerras
  2000-08-04 12:31   ` Thomas Graichen
  3 siblings, 1 reply; 7+ messages in thread
From: Paul Mackerras @ 2000-08-03  6:17 UTC (permalink / raw)
  To: linuxppc-dev


Thomas Graichen writes:
>
> i have a little keyboard problem on my blueberry imac with the
> standard usb keyboard: whenever i type something very quickly
> followed by space the typed in will be repeated before the
> space (best example: i want to type "cd " and get "cdcd ")
> - this gets a bit annoying - does anybody have the same
> problem (or even a fix for it) ? - is it more a soft-
> wareproblem (i hope :-) or maybe a hardwareproblem ?
> (i had it on all kernels from 2.2.x to 2.4.0-testx)

It's simply a bug in the USB keyboard driver.  It just means that the
driver isn't coping with the "overflow" code that the keyboard sends
when it has too many keys depressed at once.

--
Paul Mackerras, Senior Open Source Researcher, Linuxcare, Inc.
+61 2 6262 8990 tel, +61 2 6262 8991 fax
paulus@linuxcare.com.au, http://www.linuxcare.com.au/
Linuxcare.  Support for the revolution.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: keyboard problems
  2000-08-03  6:17 ` keyboard problems Paul Mackerras
@ 2000-08-04 12:31   ` Thomas Graichen
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Graichen @ 2000-08-04 12:31 UTC (permalink / raw)
  To: linuxppc-dev


Paul Mackerras <paulus@linuxcare.com.au> wrote:

> Thomas Graichen writes:
>>
>> i have a little keyboard problem on my blueberry imac with the
>> standard usb keyboard: whenever i type something very quickly
>> followed by space the typed in will be repeated before the
>> space (best example: i want to type "cd " and get "cdcd ")
>> - this gets a bit annoying - does anybody have the same
>> problem (or even a fix for it) ? - is it more a soft-
>> wareproblem (i hope :-) or maybe a hardwareproblem ?
>> (i had it on all kernels from 2.2.x to 2.4.0-testx)

> It's simply a bug in the USB keyboard driver.  It just means that the
> driver isn't coping with the "overflow" code that the keyboard sends
> when it has too many keys depressed at once.

any chance of this getting fixed in the next time ? - any patch
around to try ? (because it's close to unuseable for me this
way :-)

t

--
thomas.graichen@innominate.de
Technical Director                                       innominate AG
Clustering & Security                                networking people
tel: +49.30.308806-13  fax: -77                   http://innominate.de

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-08-04 12:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-01  5:48 keyboard problems Thomas Graichen
2000-08-01 20:37 ` Nelson Abramson
2000-08-02  0:07 ` David A. Gatwood
2000-08-02  3:53 ` USB keyboard problems - cdcd Hollis Blanchard
2000-08-03  6:17 ` keyboard problems Paul Mackerras
2000-08-04 12:31   ` Thomas Graichen
     [not found] <8m5oaq$6tj$3@mate.bln.innominate.de>
2000-08-01 19:49 ` Thomas Graichen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).