From: Tom Schouten <doelie@zzz.kotnet.org>
To: linux-kernel@vger.kernel.org
Subject: 2.4 virtual terminal timing
Date: Wed, 10 Nov 2004 13:58:29 +0100 [thread overview]
Message-ID: <20041110125828.GB15767@zzz.i> (raw)
hi all,
kernel noob first post beware..
i am using a virtual terminal on i386 arch to do reaction time measurement
for a perception psychology vision/hearing experiment.
i am trying to find out if there is a direct path in 2.4.x from
keyboard interrupt, through console/tty stuff to process wakeup,
for a 2 thread process with one thread blocking on tty read,
running SCHED_FIFO, or a single thread process with async IO.
i suspect there is no direct path to wakeup or SIGIO delivery,
so i walked the tty/console code for a day and i can't tell really.
i got very confused. i'm not using 2.6 yet (other scheduling problems).
so, questions:
- where exactly does wake-up after keyboard interrupt happen?
- if no direct path, how can i get reasonable timing from keyboard?
- anyone has keyboard driver code or incredibly dirty hack replacing tty code
that can record time stamps for keys pressed/released?
- any pointers to documentation or other hints that could put me on the right track??
i'm a bit lost
cheers
tom
next reply other threads:[~2004-11-10 12:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 12:58 Tom Schouten [this message]
2004-11-10 18:35 ` Alan Cox
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=20041110125828.GB15767@zzz.i \
--to=doelie@zzz.kotnet.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®