我在 HP 245 G2 笔记本电脑上安装了 Xubuntu 16.04,除了 WiFi 之外,其他一切都运行正常。我有一张 Qualcomm Atheros 9565 WiFi 卡,Xubuntu 告诉我 WiFi 已禁用。我在使用 Ubuntu 和 Linux Mint 的实时 USB 驱动器时也遇到了同样的问题。
当我按下 时F12,WiFi 指示灯变为红色(关闭)一毫秒,然后恢复为白色(打开)。
Ubuntu 据称附带了该卡的默认驱动程序,所以我没有安装任何东西。
以下是一些命令的输出:
$ sudo rfkill unblock all
$ sudo rfkill list
0: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: hp-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ sudo modprobe ath9k && dmesg | grep ath
[ 23.046369] ath: phy0: WB335 1-ANT card detected
[ 23.046375] ath: phy0: Set BT/WLAN RX diversity capability
[ 23.061786] ath: phy0: Enable LNA combining
[ 23.065354] ath: phy0: ASPM enabled: 0x43
[ 23.065362] ath: EEPROM regdomain: 0x6a
[ 23.065364] ath: EEPROM indicates we should expect a direct regpair map
[ 23.065369] ath: Country alpha2 being used: 00
[ 23.065371] ath: Regpair used: 0x6a
[ 23.356577] usbcore: registered new interface driver ath3k
[ 24.164539] ath9k 0000:03:00.0 wlo1: renamed from wlan0
答案1
我通过在终端运行解决了该问题:
sudo tee /etc/modprobe.d/blacklist-hp.conf <<< "blacklist hp_wmi"
重启后 WiFi 就可以正常工作了!!!