Ath9k wireless device not showing up

I installed Openwrt 21.02.3, but my wireless device doesn't show up

root@OpenWrt:/etc/config# iw list
root@OpenWrt:/etc/config#

The PCI device exists, though:

root@OpenWrt:/etc/config# lspci
00:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)

And I have the ath9k module:

root@OpenWrt:/etc/config# lsmod
aead                    3456  1 dm_crypt
ath                    18976  3 ath9k,ath9k_common,ath9k_hw
ath9k                 103536  0
ath9k_common           12064  1 ath9k
ath9k_hw              349568  2 ath9k,ath9k_common
cfg80211              278080  4 ath9k,ath9k_common,ath,mac80211
compat                  1088  4 ath9k,ath9k_common,mac80211,cfg80211

Is there another module I might be missing? Do I have to enable the device to get it to show in iw?

What target/ device?
Going on a limb and guessing x86, you might have to recompile with ATH9K_PCOEM set.

1 Like

Ubiquiti Bullet M

root@OpenWrt:~# cat /proc/cpuinfo
system type             : Atheros AR7240 rev 2
machine                 : Ubiquiti Bullet M (XM AR7240)

AR5008, an early (actually the very first) Atheros n chip. These often-- or always-- had the calibration data in a dedicated EEPROM connected to the 5008, the way that laptop cards are made. Does the boot log show any errors related to EEPROM (or anything about the ath9k driver?)

Here's the output of dmesg. Not seeing anything about the ath9k or the eeprom.

Ath5k ????
To my knowledge there is a separate driver for ath5k.

kmod-ath5k_5.4.188+5.10.110-1-1_mips_24kc.ipk

Despite the name, ar5008 needs ath9k.

1 Like

Interesting, based on the chip code I would have thought otherwise

I ran lspci -nn. After searching the device id 168c:002a, I found this thread.

I needed to install kmod-owl-loader. iw list now lists the device.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.