M-Bab / linux-kernel-amdgpu-binaries

Kernel binaries (amd64) of amd-staging with DAL and latest security patches
214 stars 29 forks source link

HP with Raven Ridge has no Wifi on current kernel #84

Closed stuaxo closed 4 years ago

stuaxo commented 4 years ago

On the latest update, to kernel 5.3.11-19 wifi seems to have stopped working.

I wasn't sure the best way to check the wifi module, but this output is the same on this kernel and the previous version where it worked:

$ ls /sys/class/net/wlp3s0/device/driver/module/drivers
pci:rtw_pci

$ dkms status
fwts-efi-runtime-dkms, 19.03.00, 5.0.0-37-generic, x86_64: installed
fwts-efi-runtime-dkms, 19.03.00, 5.3.11-19.11.19.amdgpu.ubuntu, x86_64: installed
fwts-efi-runtime-dkms, 19.03.00, 5.4.2-19.12.09.amdgpu.ubuntu, x86_64: installed
vhba, 20190410, 5.0.0-37-generic, x86_64: installed
vhba, 20190410, 5.0.4-19.03.25.amdgpu.ubuntu, x86_64: installed
vhba, 20190410, 5.2.13-19.09.09.amdgpu.ubuntu, x86_64: installed
vhba, 20190410, 5.3.11-19.11.19.amdgpu.ubuntu, x86_64: installed
vhba, 20190410, 5.4.2-19.12.09.amdgpu.ubuntu, x86_64: installed
virtualbox, 6.0.6, 5.0.0-37-generic, x86_64: installed
virtualbox, 6.0.6, 5.0.4-19.03.25.amdgpu.ubuntu, x86_64: installed
virtualbox, 6.0.6, 5.2.13-19.09.09.amdgpu.ubuntu, x86_64: installed

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0bda:b00b Realtek Semiconductor Corp. 
Bus 003 Device 003: ID 0483:91d1 STMicroelectronics Sensor Hub
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:58e6 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

However in gnome network settings no wifi networks show up and I cannot connect.

The main thing I'm unsure about at the moment is which extra info would be useful and where to get it from.

stuaxo commented 4 years ago

Running rfkill was showing an extra interface:

ID TYPE      DEVICE       SOFT      HARD
 0 wlan      hp-wifi   blocked   blocked
 1 wlan      phy0    unblocked unblocked
 2 bluetooth hci0    unblocked unblocked

Compared to older kernels where this was working

ID TYPE      DEVICE       SOFT      HARD
 0 wlan      phy0    unblocked unblocked
 1 bluetooth hci0    unblocked unblocked

The module for which showed up in lsmod

$ sudo lsmod
...[snipped]
wmi                    28672  2 hp_wmi,wmi_bmof

Removing the extra interface got wifi working: sudo rmmod hp_wmi.

I blacklisted the module by creating /etc/modprobe/blacklist-wifi.conf with this content:

blacklist-wifi.conf

Cheers :)