mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4 virtual terminal timing
@ 2004-11-10 12:58 Tom Schouten
  2004-11-10 18:35 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Schouten @ 2004-11-10 12:58 UTC (permalink / raw)
  To: linux-kernel


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

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

end of thread, other threads:[~2004-11-10 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-10 12:58 2.4 virtual terminal timing Tom Schouten
2004-11-10 18:35 ` Alan Cox

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®