morrownr / 88x2bu-20210702

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1
Other
913 stars 171 forks source link

Installation failed on raspi 2 #218

Open fcacarminati opened 3 months ago

fcacarminati commented 3 months ago

Here is the result of the command

$ sudo lsusb; rfkill list all; dkms status; iw dev; iw reg get Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub rtl88x2bu, 5.13.1: added global country GB: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A) (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW (5470 - 5730 @ 160), (N/A, 26), (0 ms), DFS (5725 - 5850 @ 80), (N/A, 23), (N/A), NO-OUTDOOR (57000 - 71000 @ 2160), (N/A, 40), (N/A)

pi@Pi2:~/88x2bu-20210702 $ uname -a Linux Pi2 6.6.30-v7+ #1762 SMP Thu May 9 15:15:51 BST 2024 armv7l GNU/Linux

pi@Pi2:~/88x2bu-20210702 $ sudo ./install-driver.sh : --------------------------- : install-driver.sh v20240222 : armv7l (kernel architecture) : arm (architecture to send to gcc) : 2/4 (in-use/total processing units) : 890260 (total system memory) : 6.6.30-v7+ (kernel version) : gcc (version of gcc used to compile the kernel) : gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110 : dkms:2.8 : mokutil not installed (Secure Boot status unknown) : ---------------------------

Checking for previously installed drivers...


Deleting module version: 5.8.7.1 completely from the DKMS tree.

Done. Finished checking for and removing previously installed drivers. : ---------------------------

Starting installation. Installing 88x2bu.conf to /etc/modprobe.d The dkms installation routines are in use. Copying source files to /usr/src/rtl88x2bu-5.13.1

Creating symlink /var/lib/dkms/rtl88x2bu/5.13.1/source -> /usr/src/rtl88x2bu-5.13.1

DKMS: add completed. The driver was added to dkms successfully. : ---------------------------

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... kernelver=6.6.30-v7+ ./dkms-make.sh................................................................................................................................................................................................................................................................................................................................................(bad exit status: 2) Error! Bad return status for module build on kernel: 6.6.30-v7+ (armv7l) Consult /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log for more information. An error occurred. dkms build error: 10 Please report this error. Please copy all screen output and paste it into the problem report. Run the following before reattempting installation. $ sudo ./remove-driver.sh

pi@Pi2:~/88x2bu-20210702 $ tail /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/hal/btc/halbtc8822b1ant.o CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/hal/btc/halbtc8822b2ant.o CC [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/platform/platform_ops.o LD [M] /var/lib/dkms/rtl88x2bu/5.13.1/build/88x2bu.o MODPOST /var/lib/dkms/rtl88x2bu/5.13.1/build/Module.symvers make[3]: No rule to make target '/var/lib/dkms/rtl88x2bu/5.13.1/build/88x2bu.ko', needed by '__modfinal'. Stop. make[2]: [/usr/src/6.6.30-v7+/Makefile:1846: modules] Error 2 make[1]: [Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/6.6.30-v7+' make: [Makefile:2527: modules] Error 2

morrownr commented 3 months ago

Hi @fcacarminati

Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

So, where is the wifi adapter that uses this driver? That adapter does not use this driver.