Topic: wr741nd lan led

hi

I have installed standard image from backfire 10.03 on wr741nd and have noticed that there is no LAN LED activity while transfering data.

Did not find any information about this, so does someone know if this is normal behavior or is there a trick to fix this ?

thx
tom

Re: wr741nd lan led

bump...

is there anyone with working led (blinking) for wan and lan activity ?

tom

Re: wr741nd lan led

bump..

wow just a so easy question
yes or no
is it so much effort ?

4 (edited by 0x00 2010-06-23 02:57:50)

Re: wr741nd lan led

I also have a standard 10.03 image on my WR741ND, and LEDs are not blinking. In the LuCI interface, there are some LED configuration options though. I tried to change some settings, but couldn't get them to blink.

Have you tried the latest trunk? I'm waiting for my serial cable before flashing.

Report, if you manage to get them to blink.

Re: wr741nd lan led

@0x00
thx for your info
i have already tried latest trunk with the same result
cu
tom

Re: wr741nd lan led

LuCI added these lines to /etc/config/system:

config 'led'
        option 'name' 'LED WLAN'
        option 'sysfs' 'ath9k-phy0::radio'
        option 'trigger' 'phy0radio'
        option 'default' '1'

config 'led'
        option 'name' 'LED TX'
        option 'sysfs' 'ath9k-phy0::tx'
        option 'trigger' 'phy0tx'
        option 'default' '1'

LuCI has the following option:
"Default state, ticked = on", which adds "option 'default' '1'" to the etc/config/system. It's just the opposite, since default 1 turns it off.

Re: wr741nd lan led

i have abused now the QSS LED with

config 'led'
    option 'name' 'LED TX RX'
    option 'default' '1'
    option 'sysfs' 'tl-wr741nd:green:qss'
    option 'trigger' 'netdev'
    option 'dev' 'br-lan'
    option 'mode' 'link tx rx'

which indicate the transfer of data.

Still have no clue how getting LAN and WAN LED to work.

tom

8 (edited by 0x00 2010-06-23 11:58:42)

Re: wr741nd lan led

According to http://wiki.openwrt.org/toh/tp-link/tl-wr741nd and http://wiki.openwrt.org/toh/tp-link/tl-wr941nd both WR741ND and WR941ND v4 use the same Atheros AR7240@400MHz CPU. Both have 4MB flash and 32MB RAM.

Wireless chips are Atheros AR9285 (WR741ND) vs Atheros AR9103 (WR941ND) though. But anyway, they are using the same ath9k kernel mod.

If LEDs work normally on WR941ND, maybe you could copy 941's config settings to 741. Or even change the 741's LED source files from trunk to settings for 941, if the previous step doesn't resolve the problem. Or you could flash your 741 with 941 v4 FW - if you have serial access to recover.

Currently I'm in a hurry doing other projects, so I'm giving you only some hints you might find useful.

Edit: take a look at https://dev.openwrt.org/browser/trunk/t … l-wr1043nd and https://dev.openwrt.org/browser/trunk/target/linux/ar71xx/base-files/etc/uci-defaults/rb750 . I don't know in which source file the values for "sysfs" are tied to HW ports. Use "uci show" and get&set&commit to change the /etc/config files.

Re: wr741nd lan led

@0x00
thx for your hints.
i think the problem is that the leds are not exposed to the sysfs. (maybe a driver problem)
so far i could only find leds for sys, qss and wireless but no ports for lan and wan.
anyway using the qss led for indicating data transfer works for me.

thx
tom

Re: wr741nd lan led

I'm glad I could help. Otherwise the file containing LED definitions is https://dev.openwrt.org/browser/trunk/t … -wr741nd.c

You can do a search like this, to find the relevant source files: http://www.google.com/#num=50&hl=en&q=site%3Adev.openwrt.org+wr741nd%3Agreen

Can you do a "uci show system" and post your settings? I'll try to find the LED settings from TP-LINK's sources.

Re: wr741nd lan led

hi 0x00,

here is the listing of the exposed leds:

root@OpenWrt:/sys/class/leds# ls
ath9k-phy0::assoc        ath9k-phy0::rx           tl-wr741nd:green:qss
ath9k-phy0::radio        ath9k-phy0::tx           tl-wr741nd:green:system


and the output of the system config file:

root@OpenWrt:/etc/config# cat system

config 'system'
        option 'hostname' 'OpenWrt'
        option 'timezone' 'UTC'

config 'rdate'
        list 'server' 'ptbtime1.ptb.de'
        list 'server' 'ac-ntp1.net.cmu.edu'
        list 'server' 'ntp.xs4all.nl'
        list 'server' 'ptbtime2.ptb.de'
        list 'server' 'cudns.cit.cornell.edu'
        list 'server' 'ptbtime3.ptb.de'

config 'led'
        option 'name' 'LED LAN WAN'
        option 'sysfs' 'tl-wr741nd:green:qss'
        option 'default' '1'
        option 'trigger' 'netdev'
        option 'dev' 'eth1'
        option 'mode' 'tx rx'

config 'led'
        option 'sysfs' 'tl-wr741nd:green:system'
        option 'trigger' 'none'

cu
tom

Re: wr741nd lan led

supertom64 wrote:

hi

I have installed standard image from backfire 10.03 on wr741nd and have noticed that there is no LAN LED activity while transfering data.

Did not find any information about this, so does someone know if this is normal behavior or is there a trick to fix this ?

thx
tom

Have to say, you seem to have hit the correct note

e cigarettes video