Qualcomm Atheros 设备 [168c:0042] (rev 30) ubuntu 16.04

Qualcomm Atheros 设备 [168c:0042] (rev 30) ubuntu 16.04

我有一台运行 Ubuntu 16.04(内核 4.4)的联想 i310。只有按照以下奇怪的步骤操作,wifi 才能正常工作:

  • 打开笔记本电脑

  • 按住电源按钮几秒钟

  • 再次打开笔记本电脑

硬件开关全部打开。BIOS 中已启用 Wifi。

我迄今为止注意到的差异。

命令:lspci -nnv |grep ualcom

当 Wi-Fi 无法工作时:

02:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [168c:abcd] (rev 01)

当 Wi-Fi 工作时:

02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)

命令:rfkill list

当 Wi-Fi 无法工作时:

0: ideapad_wlan: Wireless LAN  
Soft blocked: no  
Hard blocked: no  
1: ideapad_bluetooth: Bluetooth  
Soft blocked: yes  
Hard blocked: no

当 Wi-Fi 工作时:

0: ideapad_wlan: Wireless LAN  
Soft blocked: no  
Hard blocked: no  
1: ideapad_bluetooth: Bluetooth  
Soft blocked: yes  
Hard blocked: no  
2: hci0: Bluetooth  
Soft blocked: yes  
Hard blocked: no  
3: phy0: Wireless LAN  
Soft blocked: no  
Hard blocked: no

编辑1:

命令:lsmod | grep ath

不工作时:无输出

工作时:

ath10k_pci             45056  0  
ath10k_core           311296  1 ath10k_pci  
ath                    32768  1 ath10k_core  
mac80211              737280  1 ath10k_core  
cfg80211              565248  3 ath,mac80211,ath10k_core 

编辑2:

命令:dmesg | grep ath

不工作时的输出:无输出

工作时输出:

[    9.243817] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0  
[    9.486944] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2  
[   11.457948] ath10k_pci 0000:02:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 17aa:4035) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 2 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp  
[   11.457951] ath10k_pci 0000:02:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0  
[   11.459947] ath: EEPROM regdomain: 0x6c  
[   11.459950] ath: EEPROM indicates we should expect a direct regpair map  
[   11.459951] ath: Country alpha2 being used: 00  
[   11.459952] ath: Regpair used: 0x6c  
[   11.465771] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0  
[   14.008726] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!  

编辑3:

命令:dmesg | grep 02:00

不工作时的输出:

[    0.209512] pci 0000:02:00.0: [168c:abcd] type 00 class 0x020000
[    0.209554] pci 0000:02:00.0: reg 0x10: [mem 0xa1000000-0xa11fffff 64bit]
[    0.209668] pci 0000:02:00.0: supports D1
[    0.209669] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.209720] pci 0000:02:00.0: System wakeup disabled by ACPI
[    0.865508] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt

工作时输出:

[    0.206106] pci 0000:02:00.0: [168c:0042] type 00 class 0x028000  
[    0.206181] pci 0000:02:00.0: reg 0x10: [mem 0xa1000000-0xa11fffff 64bit]  
[    0.206388] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold  
[    0.206471] pci 0000:02:00.0: System wakeup disabled by ACPI  
[    0.862590] pci 0000:02:00.0: Signaling PME through PCIe PME interrupt  
[    7.131821] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0  
[    7.416193] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2  
[    9.380874] ath10k_pci 0000:02:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 17aa:4035) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 2 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp  
[    9.380878] ath10k_pci 0000:02:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0  
[    9.391091] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0  

答案1

您的lsmod意思是驱动程序模块没有按预期自动加载。让我们稍微推动一下。从终端:

sudo -i
echo ath10k_pci  >>  /etc/modules
exit

重新启动并测试。

相关内容