NAME
Device::ParallelPort::drv::script - Call a script to do your hardware actions
DESCRIPTION
This basic drive allows you to write a completely seperate piece of code to control the bits, and still allow the usual interface. This is fairly pointeless interface by itself but does allow for testing and unusal circumstances.
CAPABILITIES
Operating System
Totally depends on the scripts available... but this code is independent.
Special Requirements
Anything special about the scripts, eg: root/not etc. If the script requires root access then so does this system (unless you are using unix setuid)
Script parameters
The script has the following substituted before execution automatically. Things like port should be included in the parameter automatically.
{offset} Which byte to set, from 0
{byte} What is the byte to set
HOW IT WORKS
LIMITATIONS
This system can only write a byte to the output script, it uses the previouslly set values to return the current state of the output.
If you want to set the base port address, that is up to you in the script. For example your script could be along the lines of myscript 0x378 {offset} {byte}
AUTHOR
Scott Penrose scottp@dd.com.au, http://linux.dd.com.au/