(solved) where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

Message
Author
waldmattis
Posts: 260
Joined: Sat May 28, 2016 6:17 pm

(solved) where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#1 Post by waldmattis »

Good afternoon!
where can I find a driver for the RealTek RTL8812BU and RTL8822BU Chipsets?

I have a stick Realtek 8822BU wireless LAN 802.11ac USB NIC

Product on amazon:
https://www.amazon.de/YOFOKO-High-Gain- ... r=8-1&th=1

The stick works fine with Windows 10, but not at all with MX on the same laptop.

Who can help?
Regards
Karll


Code: Select all

System:    Kernel: 5.18.0-4mx-amd64 [5.18.16-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.18.0-4mx-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 
           dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower September 18  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Dell product: Latitude E6320 v: 01 serial: <filter> Chassis: 
           type: 9 serial: <filter> 
           Mobo: Dell model: 0GJF11 v: A01 serial: <filter> BIOS: Dell v: A06 date: 07/11/2011 
CPU:       Info: Dual Core model: Intel Core i5-2520M bits: 64 type: MT MCP arch: Sandy Bridge 
           family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 3 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19955 
           Speed: 1425 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 1425 2: 1085 3: 1089 
           4: 1314 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Not affected 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Dell 
           driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0126 class-ID: 0300 
           Device-2: Sunplus Innovation Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo 
           bus-ID: 1-1.5:3 chip-ID: 1bcf:2980 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver: 
           loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
           s-diag: 414mm (16.3") 
           Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 118 size: 293x165mm (11.5x6.5") 
           diag: 336mm (13.2") 
           OpenGL: renderer: Mesa Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 22.0.5 
           compat-v: 3.1 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Sound Server-1: ALSA v: k5.18.0-4mx-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Dell driver: e1000e v: kernel 
           port: 4080 bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200 
           IF: eth0 state: down mac: <filter> 
           Device-2: Broadcom BCM4313 802.11bgn Wireless Network Adapter 
           vendor: Dell Inspiron M5010 / XPS 8300 driver: wl v: kernel modules: bcma port: 4040 
           bus-ID: 02:00.0 chip-ID: 14e4:4727 class-ID: 0280 
           IF: wlan0 state: up mac: <filter> 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 
           port: 4060 bus-ID: 00:1f.2 chip-ID: 8086.282a rev: 04 class-ID: 0104 
Drives:    Local Storage: total: 447.13 GiB used: 20.02 GiB (4.5%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSD PLUS 480GB size: 447.13 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> 
           rev: 04RL scheme: MBR 
Partition: ID-1: / raw-size: 40 GiB size: 39.08 GiB (97.69%) used: 20.02 GiB (51.2%) fs: ext4 
           dev: /dev/sda3 maj-min: 8:3 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 57.0 C mobo: 31.0 C sodimm: SODIMM C 
           Fan Speeds (RPM): cpu: 2992 
Repos:     Packages: note: see --pkg apt: 2208 lib: 1183 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye main non-free
           2: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bullseye ahs
           Active apt repos in: /etc/apt/sources.list.d/plex-mx.list 
           1: deb https://downloads.plex.tv/repo/deb public main
           No active apt repos in: /etc/apt/sources.list.d/plexmediaserver.list 
Info:      Processes: 241 Uptime: 4h 26m wakeups: 4 Memory: 7.65 GiB used: 3.64 GiB (47.6%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)
Last edited by waldmattis on Sat Feb 25, 2023 8:33 am, edited 1 time in total.

User avatar
linexer2016
Posts: 733
Joined: Thu Dec 15, 2016 8:15 pm

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#2 Post by linexer2016 »

Hello Karll,
I use a Realtek usb dongle and I'd recommend you first do a search on the forum using the keys words Realtek 8822BU. That should lead you into several discussions about said driver. I've found the advice from timkb4cq very helpful in the past. You could also search github for driver information - see https://github.com/morrownr/88x2bu

Huckleberry Finn

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#3 Post by Huckleberry Finn »

https://github.com/morrownr/88x2bu-20210702

Edit: Been Ninja'd :)


P.S. If you like, you can also wait a bit for 6.2 kernel, (if I'm not wrong it says there 6.2 will be already supporting that.)

waldmattis
Posts: 260
Joined: Sat May 28, 2016 6:17 pm

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#4 Post by waldmattis »

@linexer2016
@Huckleberry Finn

Thank you for your advice.
I know these two sources but do not know
how to install/ compile the drivers

Regards
Karl

Huckleberry Finn

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#5 Post by Huckleberry Finn »

You can skip the first steps (as they are already installed ootb) and (all at once for you):

Code: Select all

mkdir -p ~/src ; cd ~/src ; git clone https://github.com/morrownr/88x2bu-20210702.git ; cd ~/src/88x2bu-20210702 ; sudo ./install-driver.sh

Huckleberry Finn

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#6 Post by Huckleberry Finn »

Shortly, this will create a src folder in your home and download all there, then will run the install-driver.sh in ~/src/88x2bu-20210702/

waldmattis
Posts: 260
Joined: Sat May 28, 2016 6:17 pm

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#7 Post by waldmattis »

@Huckleberry Finn

I followed your advice.
Please see the terminal output:

theo@theotest:~
$ mkdir -p ~/src ; cd ~/src ; git clone https://github.com/morrownr/88x2bu-20210702.git ; cd ~/src/88x2bu-20210702 ; sudo ./install-driver.sh
Klone nach '88x2bu-20210702' ...
remote: Enumerating objects: 1443, done.
remote: Counting objects: 100% (264/264), done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 1443 (delta 177), reused 173 (delta 149), pack-reused 1179
Empfange Objekte: 100% (1443/1443), 4.80 MiB | 1.25 MiB/s, fertig.
Löse Unterschiede auf: 100% (724/724), fertig.
[sudo] Passwort für theo:
A required package is not installed.
Please install the following package: gcc
Once the package is installed, please run "sudo ./install-driver.sh"Synaptic
theo@theotest:~/src/88x2bu-20210702
$ sudo ./install-driver.sh
A required package is not installed.
Please install the following package: gcc
Once the package is installed, please run "sudo ./install-driver.sh"
theo@theotest:~/src/88x2bu-20210702
$


Synaptic search many hits for gcc.
Please see attached screenshot
You do not have the required permissions to view the files attached to this post.

Huckleberry Finn

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#8 Post by Huckleberry Finn »

gcc-10 is already installed and the maintainer says it's ok (tested with) 10,11 and 12.

So, just install the gcc

(the one above the gcc-10 in the picture)

Huckleberry Finn

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#9 Post by Huckleberry Finn »

... If you have closed that terminal , you can then go on with this:

Code: Select all

cd ~/src/88x2bu-20210702 ; sudo ./install-driver.sh

waldmattis
Posts: 260
Joined: Sat May 28, 2016 6:17 pm

Re: where can I find driver for the RealTek RTL8812BU and RTL8822BU Chipsets

#10 Post by waldmattis »

@Huckleberry Finn

Thank you so much for your help!
Now the adapter is working fine.

You helped me so often in the past and again today.

Without your help my MX-installation would not work so excellent as it does.

Thank you
Karl

Post Reply

Return to “Hardware /Configuration”