Saturday, 20 July 2013

[Q] echo and sed not working

I'm owner of an Live with Walkman (wt19i) and would like to get walkman light auto turn on when i open walkman or play music.

Ehen setting the value of /sys/class/leds/music-light/brightness to 255 the walkman light turn on, so i tried to make a shell script to run it with Tasker app to when music is playing script runs but no sucessm tried on terminal and doesnt change the values.

Don't know with it possible but later i'll try modify apk to run the script.

I'm running scripts with root access,

the script are:



echo 255 > /sys/class/leds/music-light/brightness



sed 's/0/255/' /sys/class/leds/music-light/brightness

via xda-developers

No comments:

Post a Comment