All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-kernel@vger.kernel.org
Subject: Re: AT Keyboard (was: Helge Hafting vs. make menuconfig help)
Date: Tue, 15 Jun 2004 22:13:29 +0200	[thread overview]
Message-ID: <20040615201329.GR20632@lug-owl.de> (raw)
In-Reply-To: <20040615195903.A7813@beton.cybernet.src>

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

On Tue, 2004-06-15 19:59:03 +0000, Karel Kulhavý <clock@twibright.com>
wrote in message <20040615195903.A7813@beton.cybernet.src>:
> > 4. From there, the key is propagated through tty and
> >    console and ends up in your application.  This application
> >    might be X, which passes the key onto some program using X.
> 
> I am insterested in the 4. itself.

This is from memory, some details may be wrong:

	- The keyboard driver first determines what key the scancodes
	  belong to. If you press one single key, it may be sent as
	  multiple scancodes. The keyboard driver first has to assemble
	  these scancodes and make a decision from it (like "Key 'a'
	  pressed"). This information ('a' pressed down). is put into
	  Input API.
	- Input API then prepares hands this key press to the TTY
	  driver.
	- An application on the currently visible VT gets the 'a' (if it
	  didn't request raw scancodes. In this case, the TTY layer
	  *emulates* scancodes from the "'a' pressed down" event), and
	  the 'a' is also displayed on the VT (if echo'ing is switched
	  on).

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-06-15 20:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15 14:02 Helge Hafting vs. make menuconfig help Karel Kulhavý
2004-06-15 14:10 ` Jan-Benedict Glaw
2004-06-15 14:20   ` Karel Kulhavý
2004-06-15 14:41     ` Jan-Benedict Glaw
2004-06-15 17:21       ` Karel Kulhavý
2004-06-15 17:32         ` Jan-Benedict Glaw
2004-06-15 17:46           ` AT Keyboard (was: Helge Hafting vs. make menuconfig help) Karel Kulhavý
2004-06-15 18:37             ` Helge Hafting
2004-06-15 19:59               ` Karel Kulhavý
2004-06-15 20:13                 ` Jan-Benedict Glaw [this message]
2004-06-16 22:30                 ` Helge Hafting
2004-06-15 20:35 ` Helge Hafting vs. make menuconfig help Vojtech Pavlik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040615201329.GR20632@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.