Daily Archives: 2018-05-13

VoCore2: Port mt7628.ko to LuCI 7

I find VoCore2 led is not working with new driver mt7628,ko, it is because in /etc/config/system, led is set to “wlan0” which is used by mt76 drivers.

So make a simple patch to fix it.

diff -Naur a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -443,10 +443,10 @@
 	set_wifi_led "vocore:green:status"
-	set_wifi_led "$boardname:fuchsia:status"
+	set_wifi_led "$boardname:fuchsia:status" "ra0"
-	set_wifi_led "$boardname:green:status"
+	set_wifi_led "$boardname:green:status" "ra0"
 	set_usb_led "$boardname:blue:usb"

Note: new version VoCore2 I plan to use red led, one reason is red more like heart than fuchsia, so when we transfer data, it is like its heartbeat, this is my VoCore2 Ultimate first design.
Another reason…fuchsia led is very shortage, every time it is hard to get (looks like not many people use it) 🙂