On 01/29/2018 12:07 AM, Glenn wrote:
Hello, My new laptop apparently has a Real Tek R8822BE as the wifi device. The module loads but I can not bring up the interface or do anything with it. I think the problem is that the firmware load fails, see below. I can not find any source for the listed firmware file or any make rules to build it. Possibly connected, the machine also has an R8822B as the Bluetooth device (possibly a secondary port on the same device?) which shows the same error. The problem is not higher up in the networking stack as eth0 works fine. Any help will be appreciated. Relevant (I think) info: uname -a: Linux IceFalcon 4.14.13-tuned #1 SMP Tue Jan 16 20:35:41 PST 2018 x86_64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz GenuineIntel GNU/Linux ifconfig wlan0: wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether d4:6a:6a:55:89:39 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ifconfig wlan0 up: SIOCSIFFLAGS: Operation not permitted lspci -v: 3c:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b822 Subsystem: Hewlett-Packard Company Device 831b Flags: bus master, fast devsel, latency 0, IRQ 131 I/O ports at c000 [size=256] Memory at dc200000 (64-bit, non-prefetchable) [size=64K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [70] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-b8-22-01 Capabilities: [158] Latency Tolerance Reporting Capabilities: [160] L1 PM Substates Kernel driver in use: r8822be Kernel modules: r8822be dmesg: [ 0.259212] pci 0000:3c:00.0: reg 0x10: [io 0xc000-0xc0ff] [ 0.259235] pci 0000:3c:00.0: reg 0x18: [mem 0xdc200000-0xdc20ffff 64bit] [ 0.259352] pci 0000:3c:00.0: supports D1 D2 [ 0.259353] pci 0000:3c:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.337550] pci_bus 0000:3c: resource 0 [io 0xc000-0xcfff] [ 0.337551] pci_bus 0000:3c: resource 1 [mem 0xdc200000-0xdc2fffff] [ 2.148955] r8822be: module is from the staging directory, the quality is unknown, you have been warned. [ 2.173850] r8822be 0000:3c:00.0: enabling device (0000 -> 0003) [ 2.191530] r8822be: Using firmware rtlwifi/rtl8822befw.bin [ 2.193717] r8822be 0000:3c:00.0: Direct firmware load for rtlwifi/rtl8822befw.bin failed with error -2 [ 2.194503] r8822be: Selected firmware is not available
As the log clearly states, you have not installed the firmware. It seems that your distro is not up to date. You could obtain it from the linux-firmware repository, or get it from my GitHub repo named rtlwifi_new. I will send it to you privately in the next E-mail.
Larry