我的笔记本电脑 wifi LED 不工作

我的笔记本电脑 wifi LED 不工作

我正在使用 Ubuntu 12.10 X64,我的笔记本电脑是 Asus X32U。WIFI 连接工作正常,但笔记本电脑上的 WIFI LED 根本不工作。这是rfkill 列表结果

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no

有人能帮助我吗?

答案1

请尝试临时驱动程序参数:

sudo modprobe -r ath9k
sudo modprobe ath9k blink=1

如果它按预期工作,请使其持久化:

gksudo gedit /etc/modprobe.d/ath9k.conf

添加一行:

options ath9k blink=1

校对、保存并关闭 gedit。一切就绪。

答案2

这不适用于我的华硕 K46 笔记本电脑,所以我尝试进行挖掘。

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)

找到参数 blink 和 led_active_high 后,我对它们进行了如下测试(当然使用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

..并且 wifi LED 仍然熄灭(但奇怪的是在其他操作系统上可以工作)。

相关内容