openwrt icon indicating copy to clipboard operation
openwrt copied to clipboard

ramips: use led, function/color syntax for some routers

Open namiltd opened this issue 1 year ago • 4 comments

  • Rename the mt7621_dlink_dir-xx60-a1.dtsi file to a more appropriate name.
  • Abandoning the label and using the function/color syntax for some dlink dir series routers: dir-1960-a1, dir-2660-a1, dir-2640-a1, dir-3040-a1 and dir-3060-a1
  • Setting the LED name and abandoning the label and using the function/color syntax for some TP-Link Archer series routers: Archer C2 v1, Archer C20 v1, Archer C20i and Archer C50 v1

namiltd avatar Apr 26 '24 07:04 namiltd

ok cool I guess with v24 if you sysupgrade you have to fix the leds with the version change I think you have to change the aliases as well tho


	aliases {
		label-mac-device = &gmac0;
		led-boot = &led_power_orange;
		led-failsafe = &led_power_white;
		led-running = &led_power_white;
		led-upgrade = &led_net_orange;
	};

Lucky1openwrt avatar Apr 26 '24 10:04 Lucky1openwrt

These names have not changed, so they can remain. As for sysupgrade, you are right.

namiltd avatar Apr 26 '24 10:04 namiltd

Migration done.

namiltd avatar Apr 26 '24 10:04 namiltd

all good :) gave it a test run on my DIR-1960-A1 all worked even the Migration :)

Lucky1openwrt avatar Apr 26 '24 11:04 Lucky1openwrt