Motorola Development Community

Member Login

Quick Search



Development Hacking, development, scripts etc


Reply
  #1  
Old 05-13-2009
MotoFans JUNR
 
Join Date: Aug 2008
Location: NiterĂ³i,RJ,Brazil
Posts: 48
Thanks: 0
Thanked 2 Times in 1 Post
Question Querying information from the phone

Hey folks,
I've got a A1200i and I want to know how do I discover the system volume (or at least the profile , or maybe both information), battery levels and all that stuff..anyway has any idea?

offtopia bonus question: the bluetooth port can be used like a regular serial port?
Reply With Quote
  #2  
Old 05-14-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Hi Neostrider,

I'm not sure, but i think the file /ram/proc/apm can give some infos regarding battery (status, percentage, life...).

For bluetooth, recently, i've learnt from a wyrm's post that quite everything was possible
>http://www.mail-archive.com/openezx-.../msg01723.html

Last edited by sabrod; 05-14-2009 at 10:48 AM.
Reply With Quote
  #3  
Old 05-14-2009
MotoFans JUNR
 
Join Date: Aug 2008
Location: NiterĂ³i,RJ,Brazil
Posts: 48
Thanks: 0
Thanked 2 Times in 1 Post
Default

thanks! I will try some tests to try to understand those numbers and I will publish it back here when I discover something...
Reply With Quote
  #4  
Old 05-14-2009
sabrod's Avatar
OpenEZX Test Monkey
 
Join Date: Mar 2008
Location: just at the other end of the line.
Posts: 881
Thanks: 75
Thanked 26 Times in 23 Posts
Default

Ok, you got numbers... This is cool!
Some documents maybe useless, maybe usefull :
git.openezx.org Git - motorola-2.4.git/blob - arch/arm/mach-ezx/apm.c
git.openezx.org Git - motorola-2.4.git/blob - Documentation/pm.txt
?
Note that motorola's way of cleaning the code on the kernel consist mostly in removing the usefull comments , etc... It's obious that they don't use the same tree, when developing for a phone...

Last edited by sabrod; 05-14-2009 at 09:47 PM.
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need information ... vinayinfo Indian Lounge 5 02-11-2009 03:50 AM
need information ... vinayinfo E6 General Chat 15 01-24-2009 05:18 PM
GMT information mserougi Development 6 06-25-2006 10:47 AM
GPRS Information mxwebman E680i General Chat 0 02-02-2006 08:36 AM
Seem Information meocon E680i General Chat 0 11-17-2005 09:44 PM

 
Advertisement

Partner Links





Web Analytics