[Solved] Edimax EW-7811ULB N150 Driver Installation Fails

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
gmasters2
Level 1
Level 1
Posts: 4
Joined: Fri Jun 29, 2018 11:13 pm

[Solved] Edimax EW-7811ULB N150 Driver Installation Fails

Post by gmasters2 » Fri Jun 29, 2018 11:33 pm

I am new to the art of compiling driver load modules. The driver that came on the CD in the box did not support kernel 4.3+ versions. I obtained a newer version that supports these kernels. When I ran make to build the driver, I got the following output from make:

Code: Select all

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114  modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install [b]libelf-dev, libelf-devel or elfutils-libelf-deve[/b]l"
  CC [M]  /home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/core/rtw_cmd.o
In file included from /home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service.h:41:0,
                 from /home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/drv_types.h:32,
                 from /home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/core/rtw_cmd.c:22:
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service_linux.h:273:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/drv_types.h:32:0,
                 from /home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/core/rtw_cmd.c:22:
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service.h: In function ‘thread_enter’:
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service.h:345:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
  allow_signal(SIGTERM);
  ^~~~~~~~~~~~
  do_signal
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service.h:355:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  if (signal_pending (current))
      ^~~~~~~~~~~~~~
      timer_pending
/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/include/osdep_service.h:357:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
   flush_signals(current);
   ^~~~~~~~~~~~~
   do_signal
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/core/rtw_cmd.o' failed
make[2]: *** [/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114' failed
make[1]: *** [_module_/home/gmasters/Downloads/EW-7611ULB_Linux_Wi-Fi_Driver_1.0.0.8/rtl8723BU_WiFi_linux_v4.4.5_20171114] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
Makefile:1680: recipe for target 'modules' failed
make: *** [modules] Error 2
There are three possible dependency packages to install. I tried to install each one and none of them were findable by apt. I did get this to work on ubuntu 18.04, but I really like Linux Mint as it is more polished and works out of the box. I am running version 19 XFCE. I have also installed the Cinnamon desktop. Only this driver is not working anf this card is faster than the one in my Acer Aspire 5534 laptop. Driver manager didn't find anything either.
Last edited by gmasters2 on Fri Jul 13, 2018 10:22 pm, edited 3 times in total.

gmasters2
Level 1
Level 1
Posts: 4
Joined: Fri Jun 29, 2018 11:13 pm

Re: Edimax EW-7811ULB N150 Driver Installation Fails

Post by gmasters2 » Sat Jun 30, 2018 1:34 am

Tried another approach: I followed the procedure to install the open-source version of the driver at https://edimax.freshdesk.com/support/so ... -than-v4-1

Using this procedure I was able to compile the driver as a dkms module. It compiled with no errors and installed using the installer so the module is updated each time the kernel gets updated. When I turn off the built-in wifi card, there is no network connection.

dmesg | grep usb provided the following info about the new device:

[ 233.416104] usb 1-3: new high-speed USB device number 4 using ehci-pci
[ 233.573252] usb 1-3: New USB device found, idVendor=7392, idProduct=a611
[ 233.573262] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 233.573265] usb 1-3: Product: Edimax Wi-Fi N150 Bluetooth4.0 USB Adapter
[ 233.573269] usb 1-3: Manufacturer: Realtek

ifconfig shows no info for this device when I enable it. Using lsmod, I don't see the load module for the device. The module does not appear to lead after rebooting the system.

JeremyB
Level 19
Level 19
Posts: 9336
Joined: Fri Feb 21, 2014 8:17 am

Re: Edimax EW-7811ULB N150 Driver Installation Fails

Post by JeremyB » Sat Jun 30, 2018 6:35 am

Is Secure Boot disabled in BIOS?

gmasters2
Level 1
Level 1
Posts: 4
Joined: Fri Jun 29, 2018 11:13 pm

Re: Edimax EW-7811ULB N150 Driver Installation Fails

Post by gmasters2 » Mon Jul 02, 2018 1:47 pm

Hi Jeremy,

The machine is an old Acer 5534 laptop. It is a legacy BIOS machine (no UEFI and no Secure Boot).

JeremyB
Level 19
Level 19
Posts: 9336
Joined: Fri Feb 21, 2014 8:17 am

Re: Edimax EW-7811ULB N150 Driver Installation Fails

Post by JeremyB » Mon Jul 02, 2018 4:55 pm

Check out https://ubuntuforums.org/showthread.php ... st13629714 as your chipset is likely the rtl8723bu and the edimax instructions are for a rtl8812au

gmasters2
Level 1
Level 1
Posts: 4
Joined: Fri Jun 29, 2018 11:13 pm

[Solved] Re: Edimax EW-7811ULB N150 Driver Installation Fails

Post by gmasters2 » Fri Jul 13, 2018 10:19 pm

Hi Jeremy,

Thanks for your help! I solved the Driver Installation issue by:

1) Using the open source rtl7823bu driver
2) Commenting out Concurrent Mode in the Makefile
2) Ran make with elevated privileges to work around and Error 2 message from make
3) Ran make install with elevated privileges
4) Rebooed
5) sudo modprobe -v 7823bu

I left the built-in WiFi card on and both cards got an IP address from my network and bonded giving me almost double throughput!! However, I have not explored the Bluetooth option as I understand it is unsupported with new kernels.

Post Reply

Return to “Hardware Support”