|
||||
|
Re: [TESTING] SCBS: Improved battery meter system
jonpry,
I'm having a strange issue with scbs and was wondering if you could shed some light on why this was happening. I've integrated scbs into F22's latest rootfs and in /init I've integrated the following code, which starts debug logging and scbs Code:
logfiledate=`date +%Y%m%d%H%M%S`
cat /proc/kmsg>"$card"/debuglogs_kmsg_"$logfiledate".txt &
logcat -v time >"$card"/debuglogs_logcat_time_"$logfiledate".txt &
logcat -v time -b radio>"$card"/debuglogs_logcat_time_radio_"$logfiledate".txt &
dev=$(cat /sys/class/scbs/0/dev | sed -e "s/:/ /g")
mknod /dev/scbs0 c $dev
scbs -d -co /sdcard/scbs.conf
I tried starting scbs before the logging and after, and it makes no difference. I also tried some other things like having the script sleep for 5 seconds but the result is always the same. If I start scbs via gscript logcat does not blow up, so it seems like it might have to do with them being fired of in the same tty.
__________________
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega
Last edited by toadlife; 04-22-2011 at 10:08 PM. |
|
| Tags |
| battery, tp2 |
|
|