abperiasamy / rtl8812AU_8821AU_linux

rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
GNU General Public License v2.0
1.23k stars 435 forks source link

AnewKodi AC1200 - Ubuntu 18.04 kernel 4.17.0-041700-generic #253

Closed helektron closed 6 years ago

helektron commented 6 years ago

Hi, I installed the drivers without problems but usb wifi acapter doesn't turn on the light and I can't scan 5ghz wifi. How can I fix it?

Thanks!

kimocoder commented 6 years ago

what is the USB VID/PID for the adapter? Check with adapter plugged and type "lsusb" to find it

helektron commented 6 years ago

It's "Realtek Semiconductor Corp." Output:

➜ ~ lsusb Bus 001 Device 009: ID 0bda:b812 Realtek Semiconductor Corp.

helektron commented 6 years ago

rfkill list 0: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: no 1: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: no 2: phy0: Wireless LAN Soft blocked: no Hard blocked: no 3: hci0: Bluetooth Soft blocked: no Hard blocked: no

kimocoder commented 6 years ago

Yup. I don't think it's added.. you can add it manually to "os_dep/linux/usb_intfs.c" file yourself, then compile it again :)

helektron commented 6 years ago

What do I need to add to that file?

Thanks!

kimocoder commented 6 years ago

You will need to add the "0bda:b812" in the correct place (under 8812), I may do it tomorrow as I'm not close to my computer at the time.

helektron commented 6 years ago

I Will try It! I Will keep you posted. Thanks!

kimocoder commented 6 years ago

Just copy this line and edit the VID/PID after the "0x" sections

screenshot_20180604-155807

helektron commented 6 years ago

I did it but It doesn't work. Any idea? Many thanks!

helektron commented 6 years ago

@kimocoder sorry but network with new adapter is still disabled following your steps. Can you help me? Many thanks!

kimocoder commented 6 years ago

Could you try aborter fork og this? It's here checkout the v5.1.5 branch with "git clone https://github.com/aircrack-ng/rtl8812au -b v5.1.5" see if that one Scana. Hvem added your VID/PID to it

helektron commented 6 years ago

Fixed! At the end it was a wrong driver. The correct driver for that usb adapter is: rtl8822bu

I used this fork for compiling 4.15+ kernel:

https://github.com/FomalhautWeisszwerg/rtl8822bu

I hope it helps more people.

Thanks for your help!

Regards.