← Back to team overview

ac100 team mailing list archive

[Question #204692]: Show mmc (hdd style) activity in ac100 led

 

New question #204692 on AC100_enablement:
https://answers.launchpad.net/ac100/+question/204692

Hi Guys!

First of all, my very big compliments to all of you for the hard work you have done to make the ac100 a pleasant-to-use machine!!!

I'd like to add the internal MMC activity notification, as it frequently happens that I start some heavy application, say Firefox, and the system gets stuck for some seconds. I dunno if I didn't click correctly or it's just a matter of waiting... In a proper laptop, I'd have a look at the HDD led to verify that the program is starting up.
I'd sacrifice the wifi led to use it for MMC activity.
Unfortunately I'm not that linux guru as you guys are, and that's the reason why I'm asking for your help.
What I know is that the MMC led is driven by the '/sys/class/leds/mmc0::/brightness' system file, and I'm looking for a convenient way to feed the '/sys/class/leds/wifi-led/brightness' wifi led with the mmc content... Or, even, another better way to do the job.

Just for testing, the following command does the trick, but it is awful and cpu consuming (I feel ashamed of this command!!!):

while : ; do cat "/sys/class/leds/mmc0::/brightness" > /sys/class/leds/wifi-led/brightness ;done

Does anyone of you have an idea on how to pipe the content of one file into the other, without making loops or whatever? I tried also to symlink without luck...

Thanks !!
Kind regards
francesco

-- 
You received this question notification because you are a member of
AC100 Team, which is an answer contact for AC100_enablement.