1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Request for help from G2X owner for software development: need dir listing + contents of fileSupport


Last Updated:

  1. tliebeck

    tliebeck VIP Member VIP Member This Topic's Starter

    Joined:
    Dec 6, 2009
    Messages:
    211
    Likes Received:
    123
    Hello,

    I wanted to ask if someone with a G2X could run a few commands for me and post the results here. I'm trying to determine where the information on current CPU speed is provided such that our SystemPanel app can fully support this device.

    If anyone has time, I'd greatly appreciate seeing the results of the following on this device. Run the following in a terminal emulator as a normal user (NOT ROOT, just such that there is ZERO possibility of damage due to typoing).

    Code (Text):
    1.  
    2. find /sys/devices/system/cpu > /sdcard/cpudata.txt
    3.  
    The command should complete within a second or two. It's just recursively listing subdirectories beneath /sys/devices/system/cpu and copying them to a file "cpudata.txt" on the SD card.

    Then copy the file /sdcard/cpudata.txt to your PC and post it here.

    Greatly appreciate it, and please just ignore this message if you're not familiar with using a terminal emulator or feel any way uncomfortable doing this.

    Thanks!
     

    Advertisement
  2. aMpeX

    aMpeX Well-Known Member

    Joined:
    Jan 23, 2011
    Messages:
    52
    Likes Received:
    11
    I have an Optimus 2X but I'd say it doesn't matter

    Anyway, here you go,

    My Setup:

    Stock V10c (unbranded, means updated V10b version)
    1035.21_20110405 baseband
    2.6.32.9-dirty kernel

    dexopt, wpa_supplicant, gps_conf modified.
     

    Attached Files:

    tliebeck likes this.
  3. tliebeck

    tliebeck VIP Member VIP Member This Topic's Starter

    Joined:
    Dec 6, 2009
    Messages:
    211
    Likes Received:
    123
    Thank you sir! Very much appreciated!

     
  4. tliebeck

    tliebeck VIP Member VIP Member This Topic's Starter

    Joined:
    Dec 6, 2009
    Messages:
    211
    Likes Received:
    123
    One more favor to ask if anyone has time...just wanted to see the results of the following:

    Code (Text):
    1.  
    2. cd /sys/devices/system/cpu/cpu0/cpufreq
    3.  
    4. cat cpuinfo_min_freq cpuinfo_max_freq
    5. cat scaling_min_freq scaling_max_freq
    6. cat cpuinfo_cur_freq
    7.  
    I'm trying to diagnose an issue with SystemPanel where it reports 0 as the processor speed. Different Android devices provide different levels of information about CPU speed. SystemPanel queries these files in a certain order, "falling back" if certain files don't exist. For some reason the Optimus 2X/G2X seem to be confusing it, even though it works on other Tegra devices. (This is not a problem with the LG product, from what I can tell there's no specification on how this is supposed to be done).
     
  5. Rusty

    Rusty Well-Known Member

    Joined:
    Jan 21, 2010
    Messages:
    1,635
    Likes Received:
    192
    Using EternityProject kernel

    cat cpuinfo_min_freq cpuinfo_max_freq:
    Code (Text):
    1. 216000
    2. [FONT=&quot] 1300000[/FONT]
    cat scaling_min_freq scaling_max_freq:
    Code (Text):
    1. 216000
    2. [FONT=&quot] 1000000[/FONT]
    cat cpuinfo_cur_freq:
    Code (Text):
    1. [FONT=&quot]1000000[/FONT]
     
    tliebeck likes this.
  6. aMpeX

    aMpeX Well-Known Member

    Joined:
    Jan 23, 2011
    Messages:
    52
    Likes Received:
    11
    Code (Text):
    1. cpuinfo_min_freq 216000
    2. cpuinfo_max_freq 1000000
    3.  
    4. scaling_min_freq 216000
    5. scaling_max_freq 1000000
    6.  
    7. cpuinfo_cur_freq 1000000
    8.  
    Cheers

    aMpeX
     
    tliebeck likes this.
  7. tliebeck

    tliebeck VIP Member VIP Member This Topic's Starter

    Joined:
    Dec 6, 2009
    Messages:
    211
    Likes Received:
    123
    Thanks everyone, really appreciate it.

    Everything you both posted indicated there shouldn't be any kind of problem, so I took a trip down to the local T-Mobile store to try it out. It turns out cpuinfo_cur_freq can only be read by root. This may be specific to T-Mobile's G2X. I also happened upon a Dell Streak 7 at the same store with the same behavior. I've never seen another phone besides these two that had this behavior.

    Regrettably I so far can't find a way to get CPU speed at all in SystemPanel on these devices. Getting ready to release an updated version which will just not display the CPU speed meter if it can't be detected.

    Anyway thanks much again, and after seeing one of these I'm envious of the display on this thing!
     

Share This Page

Loading...