Modify

Opened 4 years ago

Last modified 4 years ago

#14473 reopened defect

RT5350 wifi led not flash

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

when i test trunk 38816 , rt5350 wifi led invalid.

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by fclql@…

什么机器?不会英文也提供点关键字啊

comment:2 Changed 4 years ago by blogic

  • Resolution set to too_vague
  • Status changed from new to closed

comment:3 Changed 4 years ago by anonymous

linux\ramips\base-files\etc\uci-defaults\01_leds

rt2800pci-phy0::radio ==> rt2800soc-phy0::radio

comment:4 Changed 4 years ago by ericwong

I would like to confirm that this bug is still there on AA r41581.

I suspect the addition of kmod-rt2800-soc for RAMIPS' WIFI driver resulted in this bug because the LED naming is not updated accordingly.

In the ramips makefile, I can see kmod-rt2800-soc is selected by default now.
https://dev.openwrt.org/browser/branches/attitude_adjustment/target/linux/ramips/Makefile

Until this patch, kmod-rt2800-soc is not selected by default and rt2800pci-phy0::radio probably works for the LED.
/changeset/40353.html


If your WIFI LED is not working, try this path and see what you get

root@rt5350:/sys/class/leds# ls
rt2800soc-phy0::assoc rt2800soc-phy0::radio rt2800soc-phy0::quality

And then check if the WIFI led defined in your /etc/config/system
matches above or by command like this.

root@rt5350:# uci get system.led_wifi_led.sysfs
rt2800soc-phy0::radio

If your WIFI led is not working, most likely your LED is configured as
rt2800pci-phy0::radio (not working)
rt2800soc-phy0::radio (working)

because that is what the current AA source code is configured to, inside
target/linux/ramips/base-files/etc/uci-defaults/01_leds

If you look at this file, all RAMIPS model's led is defined using rt2800pci-phy0 while the current source code requires rt2800soc-phy0 for the LED to work.

To correct this problem in recompiled ROM, you can change the WIFI led defined in /etc/config/system
to rt2800soc-phy0::radio or similar.

You can use this command to set your LED if you like
uci set system.led_wifi_led.sysfs=rt2800soc-phy0
(this works on my rt5350, may not work on yours depending how it was defined in your /etc/system/)


Can someone review this and correct the led definition in the source code inside
target/linux/ramips/base-files/etc/uci-defaults/01_leds

I think all of them need to be changed to rt2800soc.

comment:5 Changed 4 years ago by ericwong

  • Resolution too_vague deleted
  • Status changed from closed to reopened

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as reopened .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.