============
open your console
1. Unpack tar.gz Driver package file:
$ gzip -dc (file name.tar.gz) | tar xf -
2. 'cd' go to package directory:
$ cd (directory name)
3. Review and edit 'Makefile' (if need):
In many cases you will need to correct path to your local kernel source tree:
KERNEL_DIR=/path/to/linux
Default KERNEL_DIR is '/lib/modules/
Many Linux Distributions use directory '/usr/src/linux-
Note: If you are using Linux kernel 2.4, only header files should be
available for build in $(KERNEL_DIR)/include
Another way to pass right value KERNEL_DIR is to use command line
parameter while running 'make':
$ make KERNEL_DIR=/path/to/linux ...
4. Run 'make' command to compile package:
$ make
5. Install. As 'root' user run:
# make install
It will install:
- application under '/usr/sbin' directory
- hardware specific drivers (kernel modules)
under kernel modules directory
- character device nodes '/dev/.........' with major number ......
- config modules for auto loading (by editing file '/etc/modules.conf')
(only with 2.4 kernels)
6. Uninstallation.
In package directory just type:
# make uninstall
After successful installation and configuration:
Load driver.
Load your hardware specific kernel module:
# modprobe (drivers name)
0 comments:
Post a Comment