I'm trying to put together a Linux TW523 device driver that will both send
AND receive. As the basis for my work, I'm using the driver written by Mark
Aikens at www.desert.cx, which is a partial port of work done years ago by
Eugene Stark for Freebsd.
The current Linux driver was written for the 2.2 kernel and is send-only. The
freebsd driver is send and receive.
With a few tiny tweaks, I got the Linux 2.2 driver working in kernel 2.4.
However, I also need the receive side (actually, that's what I'm really
after). Looking at the freebsd source, the receive side is
My questions :
* I think the 2.2 driver uses the "old" style parport linux driver. Would
it be worthwhile to make it use the newer interface ? I found the parport
programming howto written by Tim Waugh, but it certainly doesn't match the
API used in the 2.2 driver (haven't found any info on that...)
* Regardless of which parport API I go with, how do I hookup
interrupts to be fired when the ACK pin is triggered (I know about
the interuppt enable bit in the port control register, I need info
on how to install an interrupt handler in parport framework) ?
* Given the above, I'm looking at the path of least resistance -
what's the easiest way to go about all this ?
If you want to look at the source, here's the URLs :
Linux 2.2 driver
I've put a bit more background info on my website at
Thanks for any help/advice you can provide !
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Wed Jul 24 2002 - 09:59:24 EDT