05-11-2018, 02:22 PM
(05-10-2018, 07:44 PM)pfeerick Wrote:(05-10-2018, 01:42 PM)mr.travo Wrote: No- you're right, it's not on the list. My question is which program determines what goes on that list? I am just wondering what all is "uphill" of triggers. Thanks for your help and input!
~T
That I'm not sure of... it may be a driver or something in the the device tree (DTS). The dts certainly seems to set the default... the power led is supposed to be 'on', and the standby led is supposed to be 'disk-activity', but I'm guessing the actual driver stuff doesn't support it atm (although from what someone else said in another thread it did at one point).
All of the triggers are part of the kernel. If you're configuring the kernel and go into 'make menuconfig', most of them are under Devices --> LED Support --> LED Trigger Support (but some are elsewhere). On my rock64's there's an 'mmc0' and 'mmc1' trigger available, and I'm able to use mmc0 to show activity on my emmc. I was looking for a similar trigger that would show activity on my USB hard drive, but haven't found one. I didn't look very hard, though, because the drive I'm using has its own activity LED.