Open DobleV55 opened 4 years ago
If you are on 18.04 it should work now, otherwise could you post the log part with the error?
I'm having exactly the same issue but on 5.4.7-050407-generic
.
My tail log is:
/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.c:4699:4: note: in expansion of macro ‘rtw_warn_on’
rtw_warn_on(1);
^~~~~~~~~~~
scripts/Makefile.build:265: recipe for target '/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1
Makefile:1652: recipe for target '/var/lib/dkms/rtl8192eu/1.0/build' failed
make[1]: *** [/var/lib/dkms/rtl8192eu/1.0/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.7-050407-generic'
Makefile:1829: recipe for target 'modules' failed
make: *** [modules] Error 2
Is this on 18.04?
Did you try the installer?
Yeah, it was on 18.04, the only way to make it work was going back to kernel 5.3.0. It's working fine now and I don't need to use the latest Kernel, so I'm okay with it.
It should work though. I merged a specific pull request to enable kernel 5.4 support for 18.04 a while ago.
Did you completely remove the dkms driver with
sudo rmmod 8192eu sudo dkms remove rtl8192eu/1.0 --all
and re-install after installing kernel 5.4 (from the driver directory) with
sudo dkms add .
before running
sudo dkms install rtl8192eu/1.0
?
Yeah, I did all the procedures to remove and install again but it was showing exactly the same error. I was using Ubuntu 18.04.3 with the latest Kernel...
Ok, I can repro on 18.04. This is related to using an older gcc version <7.5 which is not compatible with kernel 5.4 ('s asm_inline).
The issue will be fixed once gcc 7.5 is released (already in proposed packages).
i have gcc 7.5 and the same problem here
Newest kernel 5.4.0-56-generic same problem and the dongle has stopped working altogether
Did you try an older 5.4 or the default 5.4.83 kernel?
So my Comment got lost. 53 didn't work either had to go back to 52 kernel to get it to work again.
Log? Output of cat /proc/version
on the kernel with issues?
Did you try the unmodified 5.4.83 kernel from the mainline directory, or a newer one? It compiles fine on 20.10.
Could you help me with the below. I am trying to install the drivers on a Raspberry Pi 4.
rahul@RGDesk:~/Downloads/rtl8192eu-linux-master$ sudo dkms install -m rtl8192eu -v 1.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' all KVER=5.11.0-1015-raspi...(bad exit status: 2) ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found Error! Bad return status for module build on kernel: 5.11.0-1015-raspi (aarch64) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
even if you somehow install its drivers it doesn't support monitor mode and packets injection
@Rahulgutal Could you try the clnhub_test5 branch for improved (32-bit ARM) support?
@xvilen clnhub_test4 has full monitor mode support, but is a bit behind.
@Rahulgutal Could you try the clnhub_test5 branch for improved (32-bit ARM) support?
@xvilen clnhub_test4 has full monitor mode support, but is a bit behind.
@clnhub i checked out the branch "clnhub_test5" for my DLINK usb adaptor on Raspberry pi 4 along with Ubuntu for Raspberry pi and i get the same error.
Requesting help to proceed further logs are below:
root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# rmmod 8192eu rmmod: ERROR: Module 8192eu is not currently loaded root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# rmmod rtl8xxxu rmmod: ERROR: Module rtl8xxxu is not currently loaded root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# dkms remove -m rtl8192eu -v 1.0 Error! The module/version combo: rtl8192eu-1.0 is not located in the DKMS tree. root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# echo "blacklist rtl8xxxu" >> ./blacklist-rtl8xxxu.conf root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# mv ./blacklist-rtl8xxxu.conf /etc/mod modprobe.d/ modules modules-load.d/ root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# mv ./blacklist-rtl8xxxu.conf /etc/mod modprobe.d/ modules modules-load.d/ root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# mv ./blacklist-rtl8xxxu.conf /etc/modprobe.d/ root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# cp -ar . /usr/src/rtl8192eu-1.0 root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# ^C root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# git branch
Creating symlink /var/lib/dkms/rtl8192eu/1.0/source -> /usr/src/rtl8192eu-1.0
DKMS: add completed. root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux# dkms install -m rtl8192eu -v 1.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' all KVER=5.11.0-1016-raspi...(bad exit status: 2) ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found Error! Bad return status for module build on kernel: 5.11.0-1016-raspi (aarch64) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information. root@RGDesk:/home/rahul/dlink_drivers/rtl8192eu-linux#
@Rahulgutal
Please try the master branch with the following changes (Makefile):
CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ARM_AARCH64 = y
i tried this in my ubuntu 18.4 but still its error....... what should i do?
~/rtl8192eu-linux$ sudo dkms install rtl8192eu/1.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' all KVER=4.9.253-tegra...(bad exit status: 2) ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found Error! Bad return status for module build on kernel: 4.9.253-tegra (aarch64) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... 'make' all KVER=4.9.253-tegra...(bad exit status: 2) ERROR (dkms apport): binary package for rtl8192eu: 1.0 not found Error! Bad return status for module build on kernel: 4.9.253-tegra (aarch64) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
Unfortunately i am getting same error.
I want to install it, but I get this error when I make:
sudo dkms install rtl8192eu/1.0