Linux

無線網卡已列出但已禁用

  • March 11, 2020

我在 PICO-KBU4 板上安裝了 WNFQ-258ACN(BT) 無線網卡。它正在執行 Yocto Linux。

當我進行 ifconfig 時,沒有無線介面出現。當我列出 PCI 設備時,它會顯示**$$ disabled $$**:

# lspci -vnn

01:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
   Subsystem: Device [1dac:0258]
   Flags: fast devsel, IRQ 11
   Memory at df000000 (64-bit, non-prefetchable) [disabled] [size=2M]
   Capabilities: [40] Power Management version 3
   Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit-
   Capabilities: [70] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [148] Virtual Channel
   Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
   Capabilities: [178] Latency Tolerance Reporting
   Capabilities: [180] L1 PM Substates

我已經載入了驅動程序ath9k。

# lsmod
[...]
iwlwifi               241664  0
ath9k                  94208  0
ath9k_common           16384  1 ath9k
ath9k_hw              421888  2 ath9k_common,ath9k
mac80211              544768  1 ath9k
ath                    28672  3 ath9k_common,ath9k,ath9k_hw
cfg80211              499712  5 ath9k_common,ath9k,ath,iwlwifi,mac80211
[...]

為什麼它顯示為禁用?我該如何啟用它?

編輯:

root@aaeonc:~# rfkill list all
0: hci0: bluetooth
       Soft blocked: no
       Hard blocked: no

正如 Freddy在評論中提到的,ath9k不支持我的設備,所以解決方案是安裝ath10k驅動程序。

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