无线 LED 指示灯问题

无线 LED 指示灯问题

问题本身:有没有办法让这个指示灯根据无线状态打开和关闭(不仅仅是在有无线活动时闪烁)?

安装 Linux 后,我发现无线 LED 指示灯不工作。这个问题是在 Ubuntu 中出现的,但现在我使用 Debian(确实很棒!)。在 Elementary OS 0.2 Luna 中它运行良好,但在下一个版本 0.3 Freya 中这个问题再次出现。

我现在找到的唯一解决方案如下:

sudo rmmod -f ath9k
sudo modprobe ath9k blink=1

并创建了一个文件以避免每次启动系统时输入此文件:

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

并在其中写入下一个字符串:

options ath9k blink=1

但它会眨眼,这很烦人!特别是当您有 2 个无线 LED 指示灯(一个与其他 3 个排成一排:电源、充电、硬盘)且第二个位于盖子背面时。 (这笔记本电脑型号:戴尔 Latitude 3340)

有关硬件的一些信息:

yulian@debian:~$ lspci | grep -i wireless
03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)

yulian@debian:~$ lspci -vv -s 03:00.0
03:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
Subsystem: Dell Device 020e
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 19
Region 0: Memory at f7c00000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at f7c80000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k

现在,dir 的遏制/sys/class/leds。有递归文件(链接),所以我将级别限制为3:

yulian@debian:/sys/class/leds$ tree -l -L 3 -Q > /home/yulian/newDir/out3.txt

.
├── "ath9k-phy0" -> "../../devices/pci0000:00/0000:00:1c.3/0000:03:00.0/leds/ath9k-phy0"
│   ├── "brightness"
│   ├── "device" -> "../../../0000:03:00.0"
│   │   ├── "broken_parity_status"
│   │   ├── "class"
│   │   ├── "config"
│   │   ├── "consistent_dma_mask_bits"
│   │   ├── "d3cold_allowed"
│   │   ├── "device"
│   │   ├── "dma_mask_bits"
│   │   ├── "driver" -> "../../../../bus/pci/drivers/ath9k"
│   │   ├── "driver_override"
│   │   ├── "enable"
│   │   ├── "firmware_node" -> "../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:07/device:08"
│   │   ├── "ieee80211"
│   │   ├── "irq"
│   │   ├── "leds"
│   │   ├── "local_cpulist"
│   │   ├── "local_cpus"
│   │   ├── "modalias"
│   │   ├── "msi_bus"
│   │   ├── "net"
│   │   ├── "power"
│   │   ├── "remove"
│   │   ├── "rescan"
│   │   ├── "reset"
│   │   ├── "resource"
│   │   ├── "resource0"
│   │   ├── "rom"
│   │   ├── "subsystem" -> "../../../../bus/pci"
│   │   ├── "subsystem_device"
│   │   ├── "subsystem_vendor"
│   │   ├── "uevent"
│   │   └── "vendor"
│   ├── "max_brightness"
│   ├── "power"
│   │   ├── "async"
│   │   ├── "autosuspend_delay_ms"
│   │   ├── "control"
│   │   ├── "runtime_active_kids"
│   │   ├── "runtime_active_time"
│   │   ├── "runtime_enabled"
│   │   ├── "runtime_status"
│   │   ├── "runtime_suspended_time"
│   │   └── "runtime_usage"
│   ├── "subsystem" -> "../../../../../../class/leds"  [recursive, not followed]
│   ├── "trigger"
│   └── "uevent"
└── "mmc0::" -> "../../devices/pci0000:00/0000:00:1c.1/0000:02:00.0/leds/mmc0::"
    ├── "brightness"
    ├── "device" -> "../../../0000:02:00.0"
    │   ├── "broken_parity_status"
    │   ├── "class"
    │   ├── "config"
    │   ├── "consistent_dma_mask_bits"
    │   ├── "d3cold_allowed"
    │   ├── "device"
    │   ├── "dma_mask_bits"
    │   ├── "driver" -> "../../../../bus/pci/drivers/sdhci-pci"
    │   ├── "driver_override"
    │   ├── "enable"
    │   ├── "firmware_node" -> "../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/device:04"
    │   ├── "irq"
    │   ├── "leds"
    │   ├── "local_cpulist"
    │   ├── "local_cpus"
    │   ├── "mmc_host"
    │   ├── "modalias"
    │   ├── "msi_bus"
    │   ├── "power"
    │   ├── "remove"
    │   ├── "rescan"
    │   ├── "reset"
    │   ├── "resource"
    │   ├── "resource0"
    │   ├── "resource1"
    │   ├── "subsystem" -> "../../../../bus/pci"  [recursive, not followed]
    │   ├── "subsystem_device"
    │   ├── "subsystem_vendor"
    │   ├── "uevent"
    │   └── "vendor"
    ├── "max_brightness"
    ├── "power"
    │   ├── "async"
    │   ├── "autosuspend_delay_ms"
    │   ├── "control"
    │   ├── "runtime_active_kids"
    │   ├── "runtime_active_time"
    │   ├── "runtime_enabled"
    │   ├── "runtime_status"
    │   ├── "runtime_suspended_time"
    │   └── "runtime_usage"
    ├── "subsystem" -> "../../../../../../class/leds"  [recursive, not followed]
    ├── "trigger"
    └── "uevent"

21 directories, 74 files

相关内容