Re: Treating parallel port as serial device

Philip Blundell (philb@gnu.org)
Tue, 28 Aug 2001 21:15:32 +0100


--==_Exmh_-2145994864P
Content-Type: text/plain; charset=us-ascii

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

--==_Exmh_-2145994864P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999 (debian)

iD8DBQE7i/vkVTLPJe9CT30RAqHKAJ9RRV50ur9BSXAzIm/zffNu7NIwkgCg2ZMm
gev/z9Nt9gp7lnHsrVxBFVQ=
=8bVz
-----END PGP SIGNATURE-----

--==_Exmh_-2145994864P--
-
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/