R7000 LED controll

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
r7000
DD-WRT Novice


Joined: 31 Aug 2014
Posts: 2

PostPosted: Sun Sep 07, 2014 19:39    Post subject: R7000 LED controll Reply with quote
I'm running the latest DD-WRT (by Kong) on my R7000 and I'm looking for a way to turn off all LEDs.
On the forum I already found this, which did the trick partially:

Code:

gpio enable 2
gpio enable 3
gpio enable 8
gpio enable 9
gpio enable 12
gpio enable 13
gpio disable 14
gpio disable 15
gpio enable 17
gpio enable 18
gpio enable 0


However, not for the switch ports. Apparently there is another way to do this;

Code:

et robowr 0x0 0x18 0x1ff
et robowr 0x0 0x18 0x0
et robowr 0x0 0x1a 0x0


But when this gives me:

Code:
-sh: et: not found


Is there any other way to kill these LEDs? Or to get "et" (no idea what this is) on the router?
Also, NetGear seems to have support in their official firmware to turn the LEDs off, so there must be a way todo this. Thanks.
Sponsor
Cobra001
DD-WRT Novice


Joined: 09 Feb 2015
Posts: 7

PostPosted: Mon Feb 09, 2015 9:34    Post subject: Reply with quote
I'd love to know the answer to this

Thanks in advance
mrengles
DD-WRT User


Joined: 25 Feb 2010
Posts: 255

PostPosted: Mon Feb 09, 2015 21:12    Post subject: Reply with quote
Enable stealth mode (disable LEDs) add this to your startup script

Administration > Commands > Save Startup

for i in 2 3 8 9 12 13 17 18 ; do gpio enable $i ; done
for i in 14 15 ; do gpio disable $i ; done

Source for this info can be found here:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152
mystykmax
DD-WRT User


Joined: 06 Jan 2014
Posts: 99

PostPosted: Mon Feb 09, 2015 22:24    Post subject: Reply with quote
Not to be greedy, but being able to dim the lights would be super-cool.
mrengles
DD-WRT User


Joined: 25 Feb 2010
Posts: 255

PostPosted: Mon Feb 09, 2015 22:45    Post subject: Reply with quote
mystykmax wrote:
Not to be greedy, but being able to dim the lights would be super-cool.


not going to happen.
mystykmax
DD-WRT User


Joined: 06 Jan 2014
Posts: 99

PostPosted: Mon Feb 09, 2015 23:06    Post subject: Reply with quote
mrengles wrote:
mystykmax wrote:
Not to be greedy, but being able to dim the lights would be super-cool.


not going to happen.


so I guess I shouldn't ask for changing colors also? haha only kidding.
Cobra001
DD-WRT Novice


Joined: 09 Feb 2015
Posts: 7

PostPosted: Tue Feb 10, 2015 3:00    Post subject: Reply with quote
mrengles wrote:
Enable stealth mode (disable LEDs) add this to your startup script

Administration > Commands > Save Startup

for i in 2 3 8 9 12 13 17 18 ; do gpio enable $i ; done
for i in 14 15 ; do gpio disable $i ; done

Source for this info can be found here:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=264152



I appreciate your response, but, as OP points out, this does not affect the 4 switch LED's. Is there any guidance on turning those 4 on/off too?

I've got the R7000, and, since there's 12 lights, I'm hoping to achieve something along the lines of: https://www.youtube.com/watch?v=54O_1mOab4Y

I've got it running on the first 6 lights, but the next 4 (lan LED's) is where the problem lies.

Thanks again for the help
pylone
DD-WRT Novice


Joined: 19 Mar 2014
Posts: 1

PostPosted: Fri Feb 20, 2015 9:59    Post subject: Reply with quote
I had the same not found problem with commands et robowr, but trying tomato USB firmware made the trick, the command doesn't seems to be unavailable and I'm abe to switch off Ethernet leds using:
Code:
et robowr 0x0 0x18 0x1ff
et robowr 0x0 0x18 0x0
et robowr 0x0 0x1a 0x0

I guess that tomato AIO firmware is a bit more complete and et robowr can be found. I suspect those commands could be added to dd-wrt but I can't find package. Thus and for now on, I'm using tomato.
MikeMcr
DD-WRT User


Joined: 28 Aug 2009
Posts: 54

PostPosted: Sun Feb 22, 2015 18:37    Post subject: Reply with quote
What DD-WRT firmware version did you try? Those et commands run without error on the latest version (mine is 26160).
Cobra001
DD-WRT Novice


Joined: 09 Feb 2015
Posts: 7

PostPosted: Mon Feb 23, 2015 12:06    Post subject: Reply with quote
pylone wrote:
...trying tomato USB firmware made the trick, the command doesn't seems to be unavailable and I'm abe to switch off Ethernet leds...



MikeMcr wrote:
...Those et commands run without error on the latest version (mine is 26160)...


Thank you for the tips guys - I was on an older build of DD-WRT (24200M). I'm up-to-speed on how to get the latest build for the R7000 now.

I'm also able to run the 3 et robowr commands now - however, what I'm finding is if the 1st ethernet port is connected to my media center, the corresponding LED comes on, if I go with one of the other 3 - it stays off.

I've got a switch in one of the other ports (with some connected devices on the other end), a receiver in another and an XBOX360 (though I didn't get around to turning it on).

So in short, my 2 remaining questions are:
    Can someone share where I might best look to understand how the et robowr command works, and whether I could use it to turn each ethernet LED on / off individually.

    Has anyone else noticed ethernet port 1's LED remaining active after running the sequence of LED off commands?


Thanks again for all your help!
david.lynch
DD-WRT User


Joined: 30 Apr 2009
Posts: 79

PostPosted: Sun Mar 01, 2015 22:45    Post subject: Reply with quote
Asus RT-AC87U build 26405 gives the following error:

sh: eval: line 1: et: not found

How enable "stealth mode" on this router? Some applications really need all lights off.

Cobra001
DD-WRT Novice


Joined: 09 Feb 2015
Posts: 7

PostPosted: Tue Mar 03, 2015 8:30    Post subject: Reply with quote
Which version of DD-WRT are you running?

Consider updating to at least 26160
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Tue Mar 03, 2015 8:53    Post subject: Reply with quote
david.lynch wrote:
Asus RT-AC87U build 26405 gives the following error:

sh: eval: line 1: et: not found

How enable "stealth mode" on this router? Some applications really need all lights off.



et is not included in BrainSlayers builds, he doesn't compile it.
Cobra001
DD-WRT Novice


Joined: 09 Feb 2015
Posts: 7

PostPosted: Tue Mar 03, 2015 11:48    Post subject: Reply with quote
Cobra001 wrote:
Which version of DD-WRT are you running?

Consider updating to at least 26160


So sorry I posted this - it's evidently too late for me to be giving any kind of advice!
jheide44
DD-WRT Guru


Joined: 03 Sep 2013
Posts: 739

PostPosted: Tue Mar 03, 2015 19:36    Post subject: Reply with quote
david.lynch wrote:
Asus RT-AC87U build 26405 gives the following error:

sh: eval: line 1: et: not found

How enable "stealth mode" on this router? Some applications really need all lights off.



someone once told me that asus merlin and tomato support this for your device, if it is a critical feature perhaps you could check those out Wink

that said, black electrical tape is likely going to be the winner Smile

as originally discussed here:
http://dd-wrt.com/forum/viewtopic.php?p=952476

(If you choose to continue poke around at GPIO stuffs keep in mind that R7000 and your device are quite different.)

_________________
reenignE esreveR
Resistance is NOT futile... It's Voltage divided by Current!


_.-:Curently Deployed Devices:-._
Loc_1.0: R6400 -- v3.0-r51887 std (02/28/23)
Loc_2.0: R6300v2 -- Kong PTB 35550M 03-28-2018

Others: too many others to list

R7000 (& similar HW) Tips/Tricks HERE.

Assumptions:
1. Everyone on the forum has read the relevant forum section announcements.
2. For Broadcom section we have ALL at least tried to understand the "Peacock" thread,
HERE
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum