lkml.org 
[lkml]   [2000]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PS/2 mouse latency was Re: [linux-audio-dev] Re: [DATAPOINT] kernels and latencies
Andi Kleen wrote:
>
> The PS/2 mouse interface has an incestuous relation to the keyboard
> controller; they use the same registers. Keyboard controller is writen
> to regularly in the keyboard interrupt when you press a key. Both
> have to be serialized.

Hi, Andi.

Writing to the k/b is a simple outb() and yes, the statefulness of the
host<->mouse-or-kb protocol presumably requires the higher level
serialisation.

But my question was: how often are aux_write_dev() and aux_write_ack()
actually called?

From my reading, it's only when:

- The system is booted
- /dev/psaux is opened
- /dev/psaux is written to

If these are sufficiently rare events, we can shrug and move on, no?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.109 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site