Isso não funciona no meu laptop Asus K46, então tentei cavar.
lspci | grep -i wireless
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
lspci -vv -s 02:00.0
02:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
Subsystem: AzureWave AR9485 Wireless Network Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at f7d00000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at f7d80000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k
modinfo ath9k | grep parm
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: led_active_high:Invert LED polarity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
parm: bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm: ps_enable:Enable WLAN PowerSave (int)
parm: use_chanctx:Enable channel context for concurrency (int)
parm: use_msi:Use MSI instead of INTx if possible (int)
Após encontrar os parâmetros blink e led_active_high eu testei ambos da seguinte forma (claro que com sudo su
):
modprobe -v -r ath9k
rmmod ath9k
rmmod mac80211
rmmod ath9k_common
rmmod ath9k_hw
rmmod ath
rmmod cfg80211
modprobe -v ath9k blink=1
insmod /lib/modules/4.15.0-15-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/4.15.0-15-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko blink=1
modprobe -v -r ath9k
rmmod ath9k
rmmod mac80211
rmmod ath9k_common
rmmod ath9k_hw
rmmod ath
rmmod cfg80211
modprobe -v ath9k led_active_high=1
insmod /lib/modules/4.15.0-15-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/4.15.0-15-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
insmod /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko led_active_high=1
.. e o LED wifi ainda está desligado (mas curiosamente funciona em outros sistemas operacionais).