![]() |
Need help with development
Hi
I'm doing a program on battery state but have a problem. I use lshal and on omap kernel the output is different than in kernel power 46. Could somebody post Code:
lshal | grep battery thanks in advance |
Re: Need help with development
I have kernel power 46 an the output is:
Code:
battery.charge_level.capacity_state = 'ok' (string) |
Re: Need help with development
kernel power 47
Code:
battery.charge_level.capacity_state = 'ok' (string) |
Re: Need help with development
Quote:
Code:
clear && ID=$(id -un) ; if [ ${ID} != "root" ] ; then echo "You are not 'root', please use this command line as 'root' ..." ; else echo "Ok, you are 'root' ..." ; if grep -q "bq27x00_battery" /etc/modprobe.d/blacklist 2>/dev/null ; then echo "Patch already applyed, nothing to be done ..." ; echo "" ; else echo "Applying patch now ..." ; echo "blacklist bq27x00_battery" >>/etc/modprobe.d/blacklist ; echo "" ; echo "DONE, PLEASE REBOOT YOUR DEVICE ..." ; echo "" ; fi ; fi PS : Obviously after the patch (blacklisting bad module) all kernel's report same values ... |
Re: Need help with development
thanks!
and is there any problem if I patch the omap kernel? |
Re: Need help with development
the problem still exist after patching
|
All times are GMT. The time now is 15:03. |
vBulletin® Version 3.8.8