Arch-Linux

使用 Qualcomm Atheros QCA9377 直接載入 ath10k 韌體失敗

  • May 27, 2017

我在 Acer Spin 5 筆記本上使用 Arch Linux (4.8.13-1)。WIFI工作正常,但有一些dmesg | grep ath我不明白的錯誤:

[    2.269128] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    2.546004] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[    2.546040] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[    2.556185] ath10k_pci 0000:01:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 105b:e0a1
[    2.556192] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0
[    2.557620] ath10k_pci 0000:01:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[    2.625627] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[    4.406204] ath10k_pci 0000:01:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    4.412611] ath: EEPROM regdomain: 0x69
[    4.412613] ath: EEPROM indicates we should expect a direct regpair map
[    4.412614] ath: Country alpha2 being used: 00
[    4.412615] ath: Regpair used: 0x69

lspci -v顯示有​​關網路控制器的資訊

01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
   Subsystem: Foxconn International, Inc. Device e0a1
   Flags: bus master, fast devsel, latency 0, IRQ 280
   Memory at b1000000 (64-bit, non-prefetchable) [size=2M]
   Capabilities: <access denied>
   Kernel driver in use: ath10k_pci
   Kernel modules: ath10k_pci

我想知道如何解決這個問題。我認為這可能會解決我在控制器上遇到的一些問題。我不知何故無法正確連接到我的大學 WIFI。我認為這可能與出現在dmesg. 我嘗試了 NetworkManager、connman、wicd、netctl,所有這些我都只能獲得網路中的 IP 地址,但無法連接到網際網路。與大學的 eduroam 網路相同。我已經嘗試了很多不同的配置,但都沒有奏效。

這是的輸出iwconfig

wlan0     IEEE 802.11  ESSID:"MY-WIFI"  
         Mode:Managed  Frequency:2.437 GHz  Access Point: 3C:7A:8A:F7:A2:C8   
         Bit Rate=1 Mb/s   Tx-Power=20 dBm   
         Retry short limit:7   RTS thr:off   Fragment thr:off
         Power Management:on
         Link Quality=50/70  Signal level=-60 dBm  
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:16   Missed beacon:0

lo        no wireless extensions.

給我iwlist scan | egrep -i 'ssid|cipher'這個

lo        Interface doesn't support scanning.

                   ESSID:"MY-WIFI"
                       Group Cipher : CCMP
                       Pairwise Ciphers (1) : CCMP
                   ESSID:""
                       Group Cipher : CCMP
                       Pairwise Ciphers (1) : CCMP
                   ESSID:"20da86"
                       Group Cipher : TKIP
                       Pairwise Ciphers (2) : CCMP TKIP
                       Group Cipher : TKIP
                       Pairwise Ciphers (2) : CCMP TKIP
                   ESSID:"0856e0"
                       Group Cipher : TKIP
                       Pairwise Ciphers (2) : CCMP TKIP
                       Group Cipher : TKIP
                       Pairwise Ciphers (2) : CCMP TKIP
                   ESSID:""
                       Group Cipher : CCMP
                       Pairwise Ciphers (1) : CCMP
                   ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
                       Group Cipher : CCMP
                       Pairwise Ciphers (1) : CCMP
                   ESSID:"20da86"
                       Group Cipher : TKIP
                       Pairwise Ciphers (2) : CCMP TKIP
                       Group Cipher : TKIP
                       Pairwise Ciphers (2) : CCMP TKIP

我參加聚會有點晚了,但我也不得不eduroam在某個時間點連接,這是我的配置(至少對我來說):

Description='Eduroam Tartu Student Village'
Interface=wlp8s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
       'ssid="eduroam"'
       'proto=RSN WPA'
       'key_mgmt=WPA-EAP'
       'eap=PEAP'
       'identity="<mylogin>"'
       'password="<mypass>"'
       'phase2="auth=MSCHAPV2 password=<mypassagain>"'
)

而且我也收到與您相同的錯誤。雖然它有時會導致我的無線網卡行為怪異。在最後一次更新之後,它甚至無法從睡眠中醒來後重新連接。

引用自:https://unix.stackexchange.com/questions/339136