Re: Timing serial events precisely.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 25 Nov 1999 23:30:07 +0000 (GMT)


> To do this, I need to get a series of bytes/overruns/parity errors/...
> from the serial port, with accurate timing (to within 10us or so, if
> possible)
> AIUI, a userspace solution is impossible.

I would believe you are correct.

> I suspect something heavily borrowing from the serial driver, which
> instead of returning bytes, returned arrays of timestamps+events.

Maybe. You might actually want to bitbang the hardware and also look at
using RTLinux for it. I dont think its going to be trivial

-
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/