mSata LED configuration

I have installed an mSATA SSD in the first PCI1 slot, I want the PCI1 LED to flash according to the activity of the mSATA SSD. I don’t know how to set it in the LuCI user interface.

I have installed TurrisOS 5.2.4

Via Luci Rainbow and LED Configuration … But I couldn’t set it up.

and other

??
RomanHK
March 2019
Unfortunately, the kernel does not support the mSATA trigger

It’s a shame that even in Turris OS 5.2.4 :frowning:

Really very simple: you have installed the disk in the slot that corresponds to the PCI 3 LED, in fact the LEDs follow the numbering based on how you see the slots looking at Omnia from the front, the PCI 1 LED corresponds to the first slot (the one on the left) and the others to follow. Go to the LED configuration section in LuCI and move the wlan1 to PCI 1, if you have moved the ath9k card to the first slot, then in the PCI 3 position choose “disk-activity” as trigger. Magically the LED will turn on and off based on the activity of your SSD. I have the same configuration and it works perfectly on Omnia and Turris OS 5.2.4. It has always worked on OpenWrt / Turris OS. Mine flashes yellow :wink:

2 Likes

Thank you very much :+1: :grinning:

1 Like

You can also show MMC activity, I use User1 light for that.
So in my case the LEDs are by its label:

PCI1 = WIFI 5GHz | PCI2 = WIFI2.4GHz | PCI3 = SSD | A = MMC

The configuration is following:
http://192.168.1.1/cgi-bin/luci/admin/system/leds

Then you can set your favourite colours on http://192.168.1.1/cgi-bin/luci/admin/system/rainbow

Or if you prefer editing config files:

/etc/config/system:

config led
	option sysfs 'omnia-led:wan'
	option trigger 'netdev'
	option dev 'eth2'
	option mode 'tx rx'

config led
	option sysfs 'omnia-led:pci1'
	option trigger 'netdev'
	option dev 'wlan0'
	option mode 'tx rx'

config led
	option sysfs 'omnia-led:pci2'
	option trigger 'netdev'
	option dev 'wlan1'
	option mode 'tx rx'

config led
	option sysfs 'omnia-led:pci3'
	option trigger 'disk-activity'

config led
	option sysfs 'omnia-led:user1'
	option trigger 'mmc0'

/etc/config/rainbow:

config led 'all'
	option status 'auto'
	option color 'green'

config led 'wan'
	option status 'auto'
	option color 'red'

config led 'usr1'
	option status 'auto'
	option color 'white'

config led 'pci3'
	option status 'auto'
	option color 'white'

Reboot the router after saving change to config files. That will do the magic.

2 Likes

Thank you very much :+1: :grinning:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.