Installing Linux Driver Software
46
Chapter 5
Manual Documentation Number 3PCIoUx-1008
3.
Make the device nodes:
a.
./bbmknod_sh
if the system uses
sh
for its shell
b.
./bbmknod_csh
if the system uses a
c-shell
environments
4.
Modify the startup script to automatically start the driver:
cp /home/username/bbelec/drivers/MIport/rc.bb17d15x /etc/rc.d
WARNING: Do not overwrite
/etc/rc.d/rc.serial
if it already exists!
Note:
These scripts will create the device nodes /dev/tty/M0/ and/dev/cum0
for each port, where the 0 is the number of the port.
If
/etc/rc.d/rc.serial
already exists append the commands from:
/home/username/bbelec/drivers/MIport/rc.serial
to
/etc/rc.d/rc.serial
The commands in
/home/username/bbelec/drivers/MIport/rc.serial
are:
#!/bin/sh
if [ -f /etc/rc.d/rc.bb17d15x ]; then
sh /etc/rc.d/rc.bb17d15x
fi
5.
Restart the computer
/sbin/shutdown –r now
Note: Only the root user and members of the “uucp” group will have
access to the driver. Add users to the “uucp” group as needed.