Bug 1128216

Summary: RTL8822BE Wifi Adapter does not work on leap 15.0 . Fix this issue for 15.1 [ 1121870 ]
Product: [openSUSE] openSUSE Distribution Reporter: Nick Dordea <ndordea>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: ndordea, tiwai
Version: Leap 15.1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Nick Dordea 2019-03-06 19:14:05 UTC
Hello, 
I just installed leap 15.0 on HP Pavilion x86_64 machine.  The install was ok but the wireless connection is not defined and can not be activated .
The ticket 1121870 was opened for this issue in leap 15.0 .
However it is classified as RESOLVED FIXED , under the assumption that RTL8822BE chip  will be supported/included in leap 15.1  project .
I just entered a comment on the ticket 1121870 .


Should you have any requests/info from my machine please contact me .

Thank you .

Nick
Comment 1 Ludwig Nussel 2019-03-07 09:45:17 UTC
could you please try with a 15.1 beta version to verify?

https://software.opensuse.org/distributions/testing
Comment 2 Nick Dordea 2019-03-07 17:20:31 UTC
Hi Ludwig, 

A.
I just fixed the issue by installing Kernel-default as explained below :
Bug 1121870] Include the driver for the Realtek RTL8822BE Wi-Fi chipset
(bugzilla_noreply@novell.com, 3/6/19 1:02 PM)
Comment # 4 on bug 1121870 from Jean-François Juneau

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/
=======================================================

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

Install ok !

B. I had some problems due to the fact that Windows 10 which comes with HP Pavilion has Boot secure enabled .
In order to make the linux 5.00-4 work, I had to disable Secure Boot on both Windows machine as well as linux leap 15.0 [ via boot loader ]

AS for testing on 15.1 beta, I could not afford to do it . My old PC is close to giving up [ some IO errors] and I am in process of tranfering data from the old to the new laptop .  Going to 15.1 I might lose a lot of data which was already transferred . 

Should you have any questions/requests for the Linux 5.0.0.-4 please let me know .

Thank you for looking into this issue .

Best Regards,

Nick
Comment 3 Takashi Iwai 2019-03-13 13:10:05 UTC
The latest Leap 15.1 kernel does support the chip, so it should work as is without installing the TW kernel.  You can try the Leap 15.1 kernel on top of the existing Leap 15.0 system, too, instead of OBS Kernel:stable one.

So this is RESOLVED/FIXED for Leap 15.1.  If you install Leap 15.1 and it still doesn't work for your device, please reopen the bug.  Thanks.
Comment 4 Nick Dordea 2019-03-13 19:52:01 UTC
Hi Takashi,

Thank you for keeping me posted .  After leap 15.1 is in GA I will upgrade my laptop to leap 15.1 .  If there will be any issues with wifi chip I will reopen the bug ,

Thans to you and your team for solving this issue .

Best regards,

Nick
Comment 5 Takashi Iwai 2019-03-13 20:36:34 UTC
Actually it's not bad to use Leap 15.1 kernel on top of Leap 15.1 even in the current state.  Leap 15.1 is merely the update, so no big surprise should be there.

Grab the Leap 15.1 kernel-default package from OBS distribution repo, e.g.
  https://download.opensuse.org/distribution/leap/15.1/repo/oss/x86_64/

Then install it on your system.  It should work with the secure boot, too.
Comment 6 Nick Dordea 2019-03-15 02:07:18 UTC
Hi Takashi,

Thank you for your suggestion ,

I tried to see what happens if I install the kernel-default 15.1 on my machine .

The repository https://download.opensuse.org/distribution/leap/15.1/repo/oss/ was added as kernel-default_leap_15.1

I got .....

zypper in -D --from kernel-default_leap_15.1  kernel-default

Loading repository data...
Reading installed packages...
The selected package 'kernel-default-4.12.14-lp151.22.7.x86_64' from repository 'kernel-default_leap_15.1' has lower version than the installed one. Use 'zypper install --oldpackage kernel-default-4.12.14-lp151.22.7.x86_64' to force installation of the package.
There is an update candidate 'kernel-default-5.0.2-1.1.gd1f1d19.x86_64' for 'kernel-default-5.0.0-4.1.g6bc6477.x86_64', but it does not match the specified version, architecture, or repository.
Resolving package dependencies...

Nothing to do.

For the time being I am wanting until I feel confortable on installing the leap 15.1 kernel-default at a level that does not produce aby regressions ,

Please let me know if that is possible .

Thanks .

Best regards,

Nick
Comment 7 Takashi Iwai 2019-03-15 07:17:06 UTC
You need to pass --oldpackage option because you've already installed 5.0.x kernel package beforehand.
Comment 8 Nick Dordea 2019-03-16 01:47:36 UTC
Hi Takashi,

Your comment convinced me that it is better to use leap 15.1  even if the stable/standard kernel is newer than kernel-default-4.12.14_lp151.22.7 because very soon I will upgrade to leap 15.1 .

So I removed the stable/standard kernel and installed leap 15.1  .

The wifi chip works . So far no issues .

If down the road, I  get/see any issues I will update this ticket to make you aware of what's wrong .

Nick