Comment 112 for bug 250211

Revision history for this message
arslano (onurarslan1) wrote : Re: Intrepid: WLAN LED blinks incessantly on iwl3945 | iwl4965 laptop

Hello,

I've been trying Joseph's script, but I couldn't solve the blinking led problem. I have ath9k instead of iwl, and here is the script that I use:

#!/bin/sh
if [ "$IFACE" = "wlan0" ]; then
 for dir in /sys/class/leds/ath9k-phy0\:radio; do
  echo none > $dir/trigger
 done

 for dir in /sys/class/leds/ath9k-phy0\:assoc; do
  echo none > $dir/trigger
 done
fi

I just changed iwl to ath9k, but when i enter 'ls' command at the 'leds' directory I get these with bright light green color:
ath9k-phy0::assoc ath9k-phy0::radio ath9k-phy0::rx ath9k-phy0::tx mmc0::

How can I fix the script?

Thanks