Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 81 to 90 of 102

Thread: Blinking wifi LED

  1. #81
    Join Date
    Oct 2007
    Beans
    7
    Distro
    Ubuntu

    Re: Blinking wifi LED

    This fix is working on 10.04 RC (Lucid RC) with the following script:

    Code:
    #!/bin/sh
    
    if [ "$IFACE" = "wlan0" ]; then
    	for direc in /sys/class/leds/iwl-phy*X
    	do
    		echo none > $direc/trigger
    		# never trigger blinking for TX, RX
    	done
    	
    	for direc in /sys/class/leds/iwl-phy*radio
    	do
    		echo none > $direc/trigger
    		# never trigger blinking for radio
    	done
    
    	for direc in /sys/class/leds/iwl-phy0*assoc
    	do
    		echo phy0assoc > $direc/trigger
    		# do trigger blinking during association
    	done
    fi
    As before, create the script in /etc/network/if-up.d/ (call it whatever you want, I named the script "iwl-no-blink").
    Code:
    sudo gedit /etc/network/if-up.d/iwl-no-blink
    And give it the proper ownership and access rights
    Code:
    sudo chown root /etc/network/if-up.d/iwl-no-blink
    sudo chmod a+x /etc/network/if-up.d/iwl-no-blink

  2. #82
    Join Date
    May 2010
    Beans
    1

    Re: Blinking wifi LED

    mobusby, your script worked for me after I made a few modifications. I just needed to change the directories.
    Code:
    #!/bin/sh
    
    if [ "$IFACE" = "wlan0" ]; then
        for direc in /sys/class/leds/ath9k-phy0::rx
        do
            echo none > $direc/trigger
            # never trigger blinking for RX
        done
        
        for direc in /sys/class/leds/ath9k-phy0::radio
        do
            echo none > $direc/trigger
            # never trigger blinking for radio
        done
    
        for direc in /sys/class/leds/ath9k-phy0::assoc
        do
            echo phy0assoc > $direc/trigger
            # do trigger blinking during association
        done
        
        for direc in /sys/class/leds/ath9k-phy0::tx
        do
            echo phy0assoc > $direc/trigger
            # never trigger blinking for TX
        done
    fi
    Now my light only blinks when connecting to a network.
    Thank you.

  3. #83
    Join Date
    Jan 2008
    Beans
    15

    Re: Blinking wifi LED

    Quote Originally Posted by mobusby View Post
    This fix is working on 10.04 RC (Lucid RC) with the following script:
    Works great. Thanks a lot

    /Dolmio

  4. #84
    Join Date
    May 2007
    Beans
    69

    Re: Blinking wifi LED

    no more love on 10.10.... i have tried the three fixes but they no longer work for me on 10.10


    thanks in advance

  5. #85
    Join Date
    Nov 2009
    Beans
    2

    Re: Blinking wifi LED

    yes I confirm this script is not working on 10.10
    can anybody tell us how to fix?

  6. #86
    Join Date
    Apr 2008
    Beans
    11

    Re: Blinking wifi LED

    Yes, not working on 10.10
    No /sys/class/leds/iwl-phy* anymore.

  7. #87
    Join Date
    Sep 2007
    Location
    South Dakota
    Beans
    48
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Blinking wifi LED

    I got this nailed in 10.10 -- to disable the blinking, you have to add the following line to /etc/modprobe/*iwlagn*.conf (there should only be one file in there, on my HP EliteBook 8530w its /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf)

    options iwlcore led_mode=1


    ...once I did that, I simply did a `rmmod iwlagn` and `modprobe iwlagn`, and my blinking stopped!!!

    w000t!

    Cheers,
    -C

  8. #88
    Join Date
    Sep 2007
    Location
    South Dakota
    Beans
    48
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Blinking wifi LED

    Quote Originally Posted by cjsteele View Post
    options iwlcore led_mode=1

    For the record, I figured that out by using `systool` a la:

    Code:
    # lsmod | grep -i iwl
    iwlagn                202721  0 
    iwlcore               146875  1 iwlagn
    mac80211              266657  2 iwlagn,iwlcore
    cfg80211              170293  3 iwlagn,iwlcore,mac80211
    # systool -m iwlagn -av | grep led
    # systool -m iwlcore -av | grep led
        led_mode = "0"
    #
    EUREKA!

    I knew all I had to do was flip the bit...

    Cheers,
    -C

  9. #89
    Join Date
    Dec 2005
    Beans
    8

    Re: Blinking wifi LED

    Quote Originally Posted by cjsteele View Post
    I got this nailed in 10.10 -- to disable the blinking, you have to add the following line to /etc/modprobe/*iwlagn*.conf (there should only be one file in there, on my HP EliteBook 8530w its /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf)

    options iwlcore led_mode=1


    ...once I did that, I simply did a `rmmod iwlagn` and `modprobe iwlagn`, and my blinking stopped!!!

    w000t!

    Cheers,
    -C
    Thanks for that... I might be being a bit thick, but what is a rmmod and modprobe and how do I do it - I'm a bit new! I have put the line in the right file already and saved it.

    thanks!

  10. #90
    Join Date
    Sep 2007
    Location
    South Dakota
    Beans
    48
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Blinking wifi LED

    Quote Originally Posted by nic-clark View Post
    Thanks for that... I might be being a bit thick, but what is a rmmod and modprobe and how do I do it - I'm a bit new! I have put the line in the right file already and saved it.

    thanks!

    Sure! So, from a shell:
    Code:
    # vi /etc/modprobe.d/iwl*
    <make your change>
    # rmmod iwlagn
    # modprobe iwlagn
    Those are the commands you use to manage/mangle the loadable kernel modules. You'll want to know how to use these if you have to do too much with hardware.

    Cheers,
    -C

Page 9 of 11 FirstFirst ... 7891011 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •