button - Android kernel LED control -
im new forum nice ;) have followed rules :)
i helping dev kernel use. since mod want me figured duty working myself.
the problem: have edited *.kl files disable 5 front facing hardware buttons waking device , allow volume / down buttons wake device front facing buttons pressed when in pocket.
however, though front facing buttons no longer turn on device , when pressed light adding 6ma drain .
what i've tried: wrote apk change permissions of /sys/class/leds/button-backlight/brightness file keep them off. despite program working , permissions allow file edited, causing them light up.
what need on: downloaded dev's kernel using git , want edit kernel myself keep button lights off during sleep . kernel code not comfort zone .. need .
thanks helping , reading !
1) messing code bad idea (especially if lack skill , don't know c , unix).
2) looking script run on startup (initrc) , there need set , change permissions using chmod command.
thus need setup want (with echo command presumably) -> change permissions file can not rewritten (chmod) -> put 2 commands in initrc.
kernel can other configured using make menuconfig , compiling it, in case disable stuff don't like.
[ot] may off though, (original) question (there no question mark) did not make sense here , there. read howto: how ask questions smart way eric steven raymond. thanks.
Comments
Post a Comment