Edimax EW-7611ULB 2-in-1 dongle driver build

Hi,

I have volumio-2.175-2017-05-16-pi.img installed on an RPI B.
uname -r delivers 4.4.9+.
Executing “volumio kernelsource” delivers a raspbian source (4.4.50) that is not aligned with the running kernel.
Where can I get a kernel source that is aligned or how can I update the running kernel to align it to the downloaded source?

Since I have seen no response to my first post I decided to give it a try on my own.
What I have available to start with:

  • RPI A+, USB ethernet adapter with USB hub.
  • microSD card 32G (class 10)
  • USB to serial TTL (5V) adapter
  • EW-7611ULB 2-in-1 USB WiFi/Bluetooth dongle and corresp. driver source
  • Volumio image: volumio-2.175-2017-05-16-pi.img

After flashing the image on the SD card and booting the RPI I have executed:

  • sudo apt-get update
  • sudo apt-get install make
  • volumio pull
  • volumio kernelsource
  • cd /usr/src/rpi-source
  • make oldconfig && make prepare
  • make modules_prepare

After this I managed to build the device driver without errors. Upon reboot I noticed that all symbols versions are wrong.
Can anyone help me to figure out what went wrong?

You most probably need to compile with 4.4.9 kernel & headers; that’s the kernel Volumio currently ships with.

It is not advised to change Volumio kernel as is may adversely affect overall operations.
You’re probably better-off finding matching sources with current Volumio.

Current Volumio for Pi uses this particular commit binaries from May 6, 2016.
You may get kernel sources from original raspberry linux firmware github repo at an approaching commit: this one should be extremely close (.tar release).

Hope this helps.