Documentation for Meilhaus Linux Device Drivers | ||
---|---|---|
Prev | Home | Next |
Contents | Contents | Support |
Check if '/usr/src/linux' is pointing to correct sources.
Before you can start the compilation and installation of the driver you have to prepare your kernel source tree.
In order to do this you must have root privileges.
Start a shell and type the following commands:
# su
# cd /usr/src/linux
# make cloneconfig (or oldconfig if this target is not available)
# make dep
Check if 'Module.symvers' file is actual and in correct directory (/usr/src/linux).
Then change into the directory, where the Meilhaus driver source code was extracted to.
Type in the commands:
# make module_2_4
The Meilhaus driver is now compiled and ready to be installed.
In order to install driver, you have to have root privileges.
Type the commands:
# su
# make install_module_2_4
# exit
In order to install headers and starting scripts, you have to have root privileges.
Type the commands:
# su
# make install
# exit
Modules, hearders and starting scripst are now installed.
Please reboot your system.
Check if '/usr/src/linux' is pointing to correct sources.
Before you can start the compilation and installation of the driver you have to prepare your kernel source tree.
In order to do this you must have root privileges.
Start a shell and type the following commands:
# su
# cd /usr/src/linux
# make cloneconfig (or oldconfig if this target is not available)
# make prepare
# make modules_prepare
Check if 'Module.symvers' file is actual and in correct directory (/usr/src/linux).
Then change into the directory, where the Meilhaus driver source code was extracted to.
Type in the commands:
# make module
The Meilhaus driver is now compiled and ready to be installed.
In order to install driver, you have to have root privileges.
Type the commands:
# su
# make install_modules
# exit
In order to install headers and starting scripts, you have to have root privileges.
Type the commands:
# su
# make install
# exit
Modules, hearders and starting scripst are now installed.
In order to start/stop driver, you have to have root privileges.
Type the commands:
# su
# /sbin/me9000mio start
# exit
Type the commands:
# su
# /sbin/me9000mio stop
# exit
Start a shell and change into the directory, where the Meilhaus driver source code was extracted to. First you have to compile the library. Simply type in the command line:
# make lib
Next the library is compiled. If the compilation was successful, the library has been generated in the subdirectory ./lib. In order to do the installation, you must have root privileges. Simply type on the command line:
# su
# make install_lib
# exit
The installation script generates some sympolic links in the /usr/lib directory and runs ldconfig on the /usr/lib directory in order to update the linker cache.
Please start a shell and change into the directory, where the Meilhaus driver source code was extracted to. Simply type in the command line:
# make examples
The applications are now compiled. If all worked fine, you can find the executables in the subdirectory ./examples and ./lib/examples.
1) Driver and library must be installed before examples compilation.
In order to do this, you need root privileges. Start a shell and change to the directory where the Meilhaus driver source code was extracted to. Simply type in the command line:
# su
# make clobber
# exit
This will remove any stuff previously installed. Please look at the output on your terminal to see what is removed.
Prev | Home | Next |
---|---|---|
Contents | Contents | Support |