Skip to contentSkip to conversation

parport_pc disables parallel port on unload.

DISCUSSION Bodo Eggert 2 participants 2 messages Sep 24, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines · Bill Unruh

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.

#2 lore raw
Quoted 10 lines · Bodo Eggert
Quoted 7 lines · Bill Unruh

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.

Quoted 5 lines
Quoted 3 lines

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.

Of course, then, identifying the relevant parts becomes the problem, but thank you.

Quoted 2 lines
Signature · 4 lines
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     [email protected]
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/