Re: Treating parallel port as serial device

From: Philip Blundell (philb@gnu.org)
Date: Tue Aug 28 2001 - 15:15:32 EST


>even comes close. Userspace probably wouldn't cut it as I'm reading as
>9600 baud and usleep doesn't have nearly enough resolution.

9600 baud is only 1 bit every 100us or so. SCHED_FIFO and nanosleep should be
perfectly adequate for timing. You can use ppdev or direct port I/O to get at
the pins.

p.



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



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:31 EST