On Tue, Jan 27, 2009 at 16:48, Jim Ancona <[email protected]> wrote:
> As long as other has write permission to
> /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/force_usb_limit_dangerous,
> you should be all set. So in init.rc, you'd need something like:
>
> chmod 666 
> /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/force_usb_limit_dangerous
>

Ok, adding this line in init.rc worked !!
Well... no more permission error, and it does trigger the charging
icon... I will have to try in my car now... (hope I won't melt my
charger :-p )

Not yet tried through java FileWriter, but if it works I'll change my code.

Thank you Michael and Jim !
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to