Re: parport_pc disables parallel port on unload.
From: Bodo Eggert
Date: Wed Sep 24 2008 - 08:38:40 EST
Bill Unruh <unruh@xxxxxxxxxxxxxx> wrote:
> I have a parallel port module gps.c which I have written ( after the short
> module described in Linux Device Drivers), whose purpose is to timestamp
> the occurance of interrupts on the parallel port Ack line to as high a
> temporal accuracy as possible.These are generated by the PPS line of a Gamin
> 18LVC gps receiver. Since I want the highest accuracy possible I do not want
> the latency of going through the stock drivers and waiting for a poll or
> select to let me know an interrupt has occured.
> So, could anyone point me to some relatively comprehensible documentation (
> or "canned program") to show me how to switch the parallel port back on if
> unloading parport_pc has switched it off.
You can copy/paste the relevant parts from the parport_pc driver.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/