morrownr / 88x2bu-20210702

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

Can't show interface in RP4 with AC1200 Techkey #221

Open quocneo opened 5 months ago

quocneo commented 5 months ago

Hi,

I have a USB adapter (Techkey AC1200 ID: 0bda:b812, working fine with Windows 11). When installing it on Raspberry Pi 4, everything looks fine but there is no wireless interface.

Do you have any ideas about this issue?


piap@piap:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:    22.04
Codename:   jammy
piap@piap:~$ uname -a
Linux piap 5.15.0-1055-raspi #58-Ubuntu SMP PREEMPT Sat May 4 03:52:40 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

piap@piap:~$ cat /etc/modprobe.d/88x2bu.conf  | grep rtw_switch_usb_mode | grep -v "#"
options 88x2bu  rtw_switch_usb_mode=1 rtw_led_ctrl=1

piap@piap:~$ lsusb 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 037: ID 214b:7250 Huasheng Electronics USB2.0 HUB
Bus 001 Device 084: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu [AC1200 Techkey]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

piap@piap:~$ sudo dmesg | tail -n 8
[  438.834631] usb 1-1.1: SerialNumber: 00e04c000001
[  443.253832] usb 1-1.1: USB disconnect, device number 86
[  443.481579] usb 1-1.1: new high-speed USB device number 87 using xhci_hcd
[  443.582490] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=b812, bcdDevice= 2.00
[  443.582526] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  443.582543] usb 1-1.1: Product: 802.11ac WLAN Adapter
[  443.582560] usb 1-1.1: Manufacturer: Realtek
[  443.582573] usb 1-1.1: SerialNumber: 00e04c000001

piap@piap:~$ iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11  Mode:Master  Tx-Power=31 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

piap@piap:~$ lsmod | grep 88
88x2bu               3420160  0
snd_soc_core          319488  2 vc4,snd_soc_hdmi_codec
cfg80211              966656  2 88x2bu,brcmfmac
morrownr commented 5 months ago

Hi @quocneo

I am not seeing anything that would help solve this problem. I test this driver on a Pi4 with RasPiOS and it works well. I am not familiar with your distro.

Regards,

@morrownr