#14473: RT5350 wifi led not flash
------------------------+---------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  closed
  Priority:  normal     |  Milestone:  Attitude Adjustment 12.09
 Component:  packages   |    Version:  Trunk
Resolution:  too_vague  |   Keywords:
------------------------+---------------------------------------

Comment (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.
 https://dev.openwrt.org/changeset/40353

 ------
 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.

--
Ticket URL: <https://dev.openwrt.org/ticket/14473#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to