[6934] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: can anyone help?

daemon@ATHENA.MIT.EDU (Erik Nygren)
Mon Jul 27 21:03:22 1998

To: Benjamin D Reich <breich@MIT.EDU>
Cc: bug-sipb@MIT.EDU
In-Reply-To: Your message of "Mon, 27 Jul 1998 16:00:12 EDT."
             <199807272000.QAA29180@biohazard-cafe.MIT.EDU> 
Date: Mon, 27 Jul 1998 21:03:14 EDT
From: Erik Nygren <nygren@MIT.EDU>


> 	i'm attempting to write some sort of interrupt handler for
> linux, but i've been told that some already exist. i'm interfacing a
> xilinx fpga with the parallel port, and rather than polling the pins
> of the parallel port, i'd like to utilize interrupts. can anyone help
> me out? thanks.

General inquiries should NOT be sent bug-sipb@mit.edu.
This list is for bug reports for software in the SIPB locker on Athena.
Please send general questions for the SIPB to sipb@mit.edu in the future.

Pending that, two sources that may provide useful information:

	http://www.redhat.com:8080/HyperNews/get/khg.html
	(The Linux Kernel Hacker's Guide)

and	/usr/doc/HOWTO/mini/IO-Port-Programming
which talks some at the end about accessing parallel ports directly.

The Linux parallel port driver is in /usr/src/linux/drivers/char/lp.c.
It contains some interrupt handling routines and quite a bit
of code you could probably modify to your ends.

Hope this helps,

	Erik


home help back first fref pref prev next nref lref last post