PEX-400111
-
21 -
Interface Corporation
Loading a Driver Module and Making a Device Node
>>Linux
By adding a configuration of our printer port to the driver source code for standard printer port, the
port will be an alternative standard printer port. GPH-8208 does not include any driver modules for
Linux.
>>RTLinux
1. Login to your Linux system as a super user using the “su” command.
%su
Password:-------------Passward of root
2. Load a Real-Time module for RTLinux.
#rtlinux start
3. Load a driver module, common module, and interruput sharing module. Run the shell script to load
a driver module.
Example: Assume that the installation directory is the default.
#cd /usr/src/interface/gph8208/<architecture name>
*l/
rtl/drivers
#sh insrtlpara.sh
4. Create the program to control the device.
5. Run the shell script for loading cancellation to cancel the loading of RTLinux driver module.
Example: Assume that the installation directory is the default.
#cd /usr/src/interface/gph8208/<architecture name>
*l/
rtl/drivers
#sh rmrtlpara.sh
Note:
*
Write “i386” or “sh4” depending on the architecture of your computer.
Uninstallation
1. To remove the modules, run the shell script.
2. Run uninstall located in the gph8208/<architecture name>
*
directory under the installation directory.
Example: Assume that the installation directory is the default.
#cd /usr/src/interface/gph8208/<architecture name>
*
#sh uninstall
3. Follow further instructions displayed on your screen.
Note:
*
Write “i386” or “sh4” depending on the architecture of your computer.