Here I am stuck with a widespread problem compiling realtek driver,
Now, I don't know what to try else.
What I have:
0/I have a working RaspberryPi-B with a 2A external power supply and this is not the point, the driver I compiled is not recognized.
1/I have a Realtek wifi dongle (sold by MAXXTER)
Code: Select all
# lsusb
Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp.
Code: Select all
# cat /etc/debian_version
7.6
# cat /etc/apt/sources.list
deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
Code: Select all
# uname -r
3.12.31
# gzip -dc config.gz | head
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.12.31 Kernel Configuration
#
CONFIG_ARM=y
5/ got compiling driver sources v4.3.1.1 (that was a hard point to get compiling sources) from maxxter website:
http://www.maxxter.biz/default.aspx?op= ... em&id=8280 ==> Drivers software (148254 Kb)
What I have done:
A/in the unzipped sources directory,and prepare for module compilation.
Code: Select all
#make mrproper
#gzip -dc /proc/config.gz > .config
#make CROSS_COMPILE= modules_prepare
Code: Select all
#make mrproper
#gzip -dc /proc/config.gz > .config
#make olddefconfig
#make CROSS_COMPILE= modules_prepare
./scripts/mod/modpost -o Module.symvers
Anyway, all work as expected, except for the Module.symvers file which empty...
B/In the appropriate module 8192eu source directory (rtl8192EU_linux_v4.3.1.1_11320.20140505)
Code: Select all
#make ARCH=arm KSRC=/root/linux/3.12.31 KVER=3.12.31 MODDESTDIR=/lib/modules/3.12.31/kernel/drivers/net/wireless
# insmod 8192eu.ko
Error: could not insert module 8192eu.ko: Invalid module format
# dmesg | tail -1
8192eu: disagrees about version of symbol module_layout
- I don't what to use another dongle (I have other working wifi dongle, this is not the point)
- I want to make this one working (wrong pride ?, NO, I want to learn how to compile a module for a downloaded distro)
- I don't need to use CrossCompiler
- I don't really what to use my own compiled Kernel as "I want to learn how to compile a module for a downloaded distro"
EVERYTHING suggest me a kernel version issue
If anyone got a brilliant, stupid, blue or even alien idea, any idea around this issue will be welcome.
PS : Shame on me, For the fun, I even try a useless compilation of the whole kernel (4 to 5 hours)