Bug 1121870

Summary: Include the driver for the Realtek RTL8822BE Wi-Fi chipset
Product: [openSUSE] openSUSE Distribution Reporter: Jean-François Juneau <jfjuneau>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ndordea, tiwai
Version: Leap 15.0   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jean-François Juneau 2019-01-14 14:30:33 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build Identifier: 

The Realtek RTL8822BE driver is missing in the current openSUSE Leap 15. It's a commonly used Wi-Fi chip in recent AMD based laptops. (ex: Lenovo ThinkPad A475, A485) It would be a good thing to include it in openSUSE Leap 15.1 to give a great out of the box experience for AMD based laptop users.

Reproducible: Always

Steps to Reproduce:
1. Just install openSUSE Leap 15 on a laptop with a RTL8822BE Wi-Fi chip
Actual Results:  
The Wi-Fi card is not detected and doesn't work.

Expected Results:  
The Wi-Fi card should work out of the box, without installing a newer kernel from another repository.
Comment 1 Takashi Iwai 2019-01-14 17:43:25 UTC
The driver code is not available as of SLE15 kernel base code, hence it's hard to support for Leap 15.0.

However, we already backported the driver patches for SLE15-SP1 / Leap 15.1 via another FATE.  That is, it will be available on Leap 15.1.
Comment 2 Jean-François Juneau 2019-01-14 19:03:20 UTC
(In reply to Takashi Iwai from comment #1)
> The driver code is not available as of SLE15 kernel base code, hence it's
> hard to support for Leap 15.0.
> 
> However, we already backported the driver patches for SLE15-SP1 / Leap 15.1
> via another FATE.  That is, it will be available on Leap 15.1.

That's good news, thanks!
Comment 3 Nick Dordea 2019-03-06 18:47:57 UTC
Greetings, 

I have the same issue .

Machine : HP Pavilion with Windows 10 
          Boot Mode = UEFI

Operating system : opensuse leap 15.0-1 
                   Installed  2-3 days ago .
             
leap 15.0-1 reports that hardware as RTL8822BE 802.11 a/b/g/n/ac Wifi Adapter

Info ....
# dmesg | grep -i rtl
[   20.185384] r8169 0000:01:00.0 eth0: RTL8168h/8111h at 0xffffc90001aed000, f4:39:09:e5:1c:bf, XID 14100800 IRQ 127
[   24.266863] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[   24.266873] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
[   24.403462] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin

bash-4.4# dmesg | grep -i 8822
[   24.266863] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[   24.266873] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
[   24.403462] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin

Waiting for leap 15.1  is not the best solution and does not fix the issue .

Is there any work around ?
If not, what about re-opening this ticket ?  

Thanks.
Nick
Comment 4 Jean-François Juneau 2019-03-06 19:02:23 UTC
(In reply to Nick Dordea from comment #3)
> Greetings, 
> 
> I have the same issue .
> 
> Machine : HP Pavilion with Windows 10 
>           Boot Mode = UEFI
> 
> Operating system : opensuse leap 15.0-1 
>                    Installed  2-3 days ago .
>              
> leap 15.0-1 reports that hardware as RTL8822BE 802.11 a/b/g/n/ac Wifi Adapter
> 
> Info ....
> # dmesg | grep -i rtl
> [   20.185384] r8169 0000:01:00.0 eth0: RTL8168h/8111h at
> 0xffffc90001aed000, f4:39:09:e5:1c:bf, XID 14100800 IRQ 127
> [   24.266863] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b
> lmp_ver=07 lmp_subver=8822
> [   24.266873] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
> [   24.403462] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
> 
> bash-4.4# dmesg | grep -i 8822
> [   24.266863] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b
> lmp_ver=07 lmp_subver=8822
> [   24.266873] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
> [   24.403462] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
> 
> Waiting for leap 15.1  is not the best solution and does not fix the issue .
> 
> Is there any work around ?
> If not, what about re-opening this ticket ?  
> 
> Thanks.
> Nick

Hi, you can look at the comments from deano_ferrari in the following thread for a workaround (it worked for me): https://forums.opensuse.org/showthread.php/530102-Realtek-WIFI-Driver-Issue

Basically you can install the latest stable kernel in Leap 15.0 to get the Wi-Fi driver:

zypper ar -f http://download.opensuse.org/repositories/Kernel:/stable/standard Kernel:stable
zypper in --from Kernel:stable kernel-default

Then install the Realtek firmware:

wget https://github.com/wkennington/linux-firmware/raw/master/rtlwifi/rtl8822befw.bin
mv ./rtl8822befw.bin /lib/firmware/rtlwifi/
Comment 5 Nick Dordea 2019-03-07 04:13:31 UTC
(In reply to Jean-François Juneau from comment #4)
> (In reply to Nick Dordea from comment #3)
> > Greetings, 
> > 
> > I have the same issue .
> > 
> > Machine : HP Pavilion with Windows 10 
> >           Boot Mode = UEFI
> > 
> > Operating system : opensuse leap 15.0-1 
> >                    Installed  2-3 days ago .
> >              
> > leap 15.0-1 reports that hardware as RTL8822BE 802.11 a/b/g/n/ac Wifi Adapter
> > 
> > Info ....
> > # dmesg | grep -i rtl
> > [   20.185384] r8169 0000:01:00.0 eth0: RTL8168h/8111h at
> > 0xffffc90001aed000, f4:39:09:e5:1c:bf, XID 14100800 IRQ 127
> > [   24.266863] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b
> > lmp_ver=07 lmp_subver=8822
> > [   24.266873] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
> > [   24.403462] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
> > 
> > bash-4.4# dmesg | grep -i 8822
> > [   24.266863] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b
> > lmp_ver=07 lmp_subver=8822
> > [   24.266873] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_config.bin
> > [   24.403462] Bluetooth: hci0: rtl: loading rtl_bt/rtl8822b_fw.bin
> > 
> > Waiting for leap 15.1  is not the best solution and does not fix the issue .
> > 
> > Is there any work around ?
> > If not, what about re-opening this ticket ?  
> > 
> > Thanks.
> > Nick
> 
> Hi, you can look at the comments from deano_ferrari in the following thread
> for a workaround (it worked for me):
> https://forums.opensuse.org/showthread.php/530102-Realtek-WIFI-Driver-Issue
> 
> Basically you can install the latest stable kernel in Leap 15.0 to get the
> Wi-Fi driver:
> 
> zypper ar -f
> http://download.opensuse.org/repositories/Kernel:/stable/standard
> Kernel:stable
> zypper in --from Kernel:stable kernel-default
> 
> Then install the Realtek firmware:
> 
> wget
> https://github.com/wkennington/linux-firmware/raw/master/rtlwifi/rtl8822befw.
> bin
> mv ./rtl8822befw.bin /lib/firmware/rtlwifi/
========

Hi Jean-Francois, 

Thank you for your reply .

I followed your indications and everything worked fine .

At the first boot with the new kernel I got the messages :
you need to load the kernel first
/boot/vm.......... has invalid signature .

What a good/brilliant idea to install linux5.0.0.4 kernel and keeping the old kernel. The Windows 10 that comes with the laptop uses Secure Boot . leap 15.0 installs with the option Enable Secure boot [ bootloader ] 
It was not enough to disable the linux secure boot but also for windows [ from  BIOS/UEFI options ]. 
After the secure boot was disabled on both windows and boot loader the RTL8822BE was seen in the Network settings. Manually I configured the adapter [ activate at boot ] + via wicked service the port + domain + wifi router were defined.  Another boot and the wifi is up ......

Thank you very much for your replay. Without it I would had spent a lot of time to get this wifi done .

Best Regrdards, 
Nick