User Manual

4
1.1.4 Install the Driver
After inserting the adapter, you can run
insmod deep31.o
to load the driver into the kernel.
1.1.5 Overall Installation Procedure
As a summary, the overall installation procedure for Linux driver is as below:
1. Extract the source into any directory. For example,
cd /usr/src
tar xvzf mb31ep_sdk_2_1_x_x.tar.gz
2. Go to the created directory and then compile the source code
cd MB31-DeepLinux
make clean
make
This should create the file deep31.o which is the driver as a loadable module.
3. There are four options to operate the driver.
a) To load this driver as AP mode, you can type
insmod deep31.o active=”deep_ap”
b) To load this driver as Client mode, you can type
insmod deep31.o active=”deep_wb”
c) To load this driver for firmware upgrade in AP mode
insmod deep31.o active=”change_ap_mode”
d) To load this driver for firmware upgrade in Client mode
insmod deep31.o active=”change_wb_mode”
(or You can execute/modify the run1 script in the source file directory to load driver)
4. If debug is enabled in the Makefile (-DDEBUG -DDBG) then debug messages can be printed
out through the klogd facility of the Linux kernel. The standard log files are in folder /var/log/debug,
folder /var/log/messages and folder /var/log/syslog.