
Installing Linux Driver Software
24
Chapter 5
Document Number 3PCI-0712m
Searching for MIport driver in: ...
The MIport driver was found in: ...
The MIport driver is loaded.
Making special nodes for MIport.
Making /dev/ttyM0 /dev/cum0
Making /dev/ttyM1 /dev/cum1
Making /dev/ttyM2 /dev/cum2
Making /dev/ttyM3 /dev/cum3
Making /dev/ttyM4 /dev/cum4
Making /dev/ttyM5 /dev/cum5
Making /dev/ttyM6 /dev/cum6
Making /dev/ttyM7 /dev/cum7
16. Verify that the device driver is running. If the output is similar to what is shown
below, then the MIport driver is running. If the output is blank, then the MIport driver is
not running.
username@computer$ dmesg | grep MIport
↲
[ 271.828182] B&B Electronics PCI MIport serial driver Revision: 4.5
[ 314.159265] MIport 0000:07:05:05.0: PCI INT A -> GSI 26 (level, low)
-> IRQ 26
17. Use a serial communications program to verify that the driver works. The serial ports
will be ―/dev/ttyM0‖ through ―/dev/ttyM7‖.
18. If the driver works correctly, modify /etc/rc.local to automatically load the driver when
the operating system starts.
username@computer$ sudo vim /etc/rc.local
↲
Add the following code to the file (before the "exit 0" statement):
if [ -f /etc/rc.MIport ] ; then
exec /etc/rc.MIport
fi
An example of the code to add to /etc/rc.local is in the MIport driver folder in the file
rc.local.
19. Restart the computer, and then test serial communications again.