• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

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

tliebeck

Well-Known Member
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:
find /sys/devices/system/cpu > /sdcard/cpudata.txt

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!
 
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.
 

Attachments

Thank you sir! Very much appreciated!

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.
 
One more favor to ask if anyone has time...just wanted to see the results of the following:

Code:
cd /sys/devices/system/cpu/cpu0/cpufreq

cat cpuinfo_min_freq cpuinfo_max_freq
cat scaling_min_freq scaling_max_freq
cat cpuinfo_cur_freq

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).
 
Using EternityProject kernel

cat cpuinfo_min_freq cpuinfo_max_freq:
Code:
216000
[FONT=&quot] 1300000[/FONT]
cat scaling_min_freq scaling_max_freq:
Code:
216000
[FONT=&quot] 1000000[/FONT]
cat cpuinfo_cur_freq:
Code:
[FONT=&quot]1000000[/FONT]
 
Code:
cpuinfo_min_freq 216000
cpuinfo_max_freq 1000000

scaling_min_freq 216000
scaling_max_freq 1000000

cpuinfo_cur_freq 1000000

Cheers

aMpeX
 
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!
 
Back
Top Bottom