README.md a écritThis tree supports Dynamic Kernel Module Support (DKMS), a system for generating kernel modules from out-of-tree kernel sources. It can be used to install/uninstall kernel modules, and the module will be automatically rebuilt from source when the kernel is upgraded (for example using your package manager).
Install DKMS and other required tools
for normal Linux systems
$ sudo apt-get install git linux-headers-generic build-essential dkms
for Raspberry Pi
$ sudo apt-get install git raspberrypi-kernel-headers build-essential dkms
Add the driver to DKMS. This will copy the source to a system directory so that it can used to rebuild the module on kernel upgrades.
$
sudo dkms add .
Build and install the driver.
$
sudo dkms install rtl8192eu/1.0
The Makefile is preconfigured to handle most x86/PC versions. If you are compiling for something other than an intel x86 architecture, you need to first select the platform, e.g. for the Raspberry Pi, you need to set the I386 to n and the ARM_RPI to y:
...
CONFIG_PLATFORM_I386_PC = n
...
CONFIG_PLATFORM_ARM_RPI = y
# cd /usr/src/rtl8192eu
# sudo make clean
# sudo make
# sudo make install
# sudo modprobe -a 8192eu
Check that your kernel has loaded the right module:
$ lshw -c network
You should see the line driver=8192eu
If you wish to uninstall the driver at a later point, use sudo dkms uninstall rtl8192eu/1.0. To completely remove the driver from DKMS use sudo dkms remove rtl8192eu/1.0 --all.
Submitting patches
Fork repo
Do your patch in a topic branch
Open a pull request on GH, or send it by email to Magnus Bergmark <
magnus.bergmark@gmail.com>.
I'll squash your commits when everything checks out and add it to master.