2.4 virtual terminal timing

From: Tom Schouten
Date: Wed Nov 10 2004 - 07:59:49 EST



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/