Checking the driver installation – B&B Electronics 3PCIU4 User Manual

Page 53

Advertising
background image

Installing Linux Driver Software

Manual Documentation Number 3PCIoUx-1008

Chapter 5

47

Checking the Driver Installation

Open a terminal window and execute the following steps at the command
prompt to check the driver installation:

1. If the user is not root, then switch to the root user:

su

2. Check that the driver is running:

/sbin/lsmod | grep bb17d15x

3. Switch from the root user back to the user

4. a. Copy rc.bb15d15x

cp /home/username/bbelec/drivers/MIport/rc.bb17d15x/etc/rc.d

b. Modify or create /etc/rc.serial to call /etc/rc.d/rc.bb.17d15x

WARNING: DO NOT OVERWRITE AN EXISTING
/etc/rc.serial

If /etc/rc.serial already exists in /etc/rc.d then add the
following commands to the end of the file:

if [ -f /etc/rc.d/rc.bb17d15x ]; then
sh

/etc/rc.d/rc.bb17d15x

fi

If /etc/rc.serial does not exist, then copy it with the following
command:

cp /home/username/bbelec/drivers/MIport/rc.serial/etc/rc.d

c. Modify /etc/rc.d/rc.local to call /etc/rc.d/rc.serial


If the following commands are not in /etc/rc.d/rc.local , then
add them to the end of the file:

if [ -f /etc/rc.d/rc.serial ]; then
sh

/etc/rc.d/rc.serial

fi

5. Switch from the root user back to the user with the command:

exit

Advertising
This manual is related to the following products: