Go Back   Android Forums > Android Phones > LG Optimus 2X

test: Reply
 
LinkBack Thread Tools
Old April 26th, 2011, 07:06 PM   #1 (permalink)
Premium Member
Thread Author (OP)
 
tliebeck's Avatar
 
Join Date: Dec 2009
Posts: 209
 
Device(s): If I stacked them up they'd fall over.
Carrier: Not Provided

Thanks: 36
Thanked 122 Times in 34 Posts
Default Request for help from G2X owner for software development: need dir listing + contents of file

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!

Advertisements
tliebeck is offline  
Reply With Quote
sponsored links
Old April 27th, 2011, 03:02 AM   #2 (permalink)
Junior Member
 
aMpeX's Avatar
 
Join Date: Jan 2011
Posts: 52
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 11 Times in 8 Posts
Default

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
File Type: txt cpudata.txt (3.6 KB, 1 views)
aMpeX is offline  
Reply With Quote
The Following User Says Thank You to aMpeX For This Useful Post:
tliebeck (April 29th, 2011)
Old April 27th, 2011, 03:04 AM   #3 (permalink)
Premium Member
Thread Author (OP)
 
tliebeck's Avatar
 
Join Date: Dec 2009
Posts: 209
 
Device(s): If I stacked them up they'd fall over.
Carrier: Not Provided

Thanks: 36
Thanked 122 Times in 34 Posts
Default

Thank you sir! Very much appreciated!

Quote:
Originally Posted by aMpeX View Post
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.
tliebeck is offline  
Reply With Quote
Old April 28th, 2011, 01:20 AM   #4 (permalink)
Premium Member
Thread Author (OP)
 
tliebeck's Avatar
 
Join Date: Dec 2009
Posts: 209
 
Device(s): If I stacked them up they'd fall over.
Carrier: Not Provided

Thanks: 36
Thanked 122 Times in 34 Posts
Default

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).
tliebeck is offline  
Reply With Quote
Old April 28th, 2011, 04:46 AM   #5 (permalink)
Senior Member
 
Rusty's Avatar
 
Join Date: Jan 2010
Location: Pompey, UK
Posts: 1,635
 
Device(s): Google Nexus 4
Carrier: Not Provided

Thanks: 2
Thanked 193 Times in 165 Posts
Default

Using EternityProject kernel

cat cpuinfo_min_freq cpuinfo_max_freq:
Code:
216000
 1300000
cat scaling_min_freq scaling_max_freq:
Code:
216000
 1000000
cat cpuinfo_cur_freq:
Code:
1000000
__________________
Google Nexus 4 on Giffgaff UK
Speed Test Result
Rusty is offline  
Reply With Quote
The Following User Says Thank You to Rusty For This Useful Post:
tliebeck (April 29th, 2011)
Old April 28th, 2011, 05:22 AM   #6 (permalink)
Junior Member
 
aMpeX's Avatar
 
Join Date: Jan 2011
Posts: 52
 
Device(s):
Carrier: Not Provided

Thanks: 5
Thanked 11 Times in 8 Posts
Default

Code:
cpuinfo_min_freq 216000
cpuinfo_max_freq 1000000

scaling_min_freq 216000
scaling_max_freq 1000000

cpuinfo_cur_freq 1000000
Cheers

aMpeX
aMpeX is offline  
Reply With Quote
The Following User Says Thank You to aMpeX For This Useful Post:
tliebeck (April 29th, 2011)
Old April 29th, 2011, 06:36 AM   #7 (permalink)
Premium Member
Thread Author (OP)
 
tliebeck's Avatar
 
Join Date: Dec 2009
Posts: 209
 
Device(s): If I stacked them up they'd fall over.
Carrier: Not Provided

Thanks: 36
Thanked 122 Times in 34 Posts
Default

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!
tliebeck is offline  
Reply With Quote
Reply

LG Optimus 2X
Current Rating:
Rate this Phone:

The LG Optimus 2X is the world's first Tegra-2 phone which is a dual-core processor that will run Android 2.2 (and 2.3 upon upgrade) at lightning speeds. The Optimus 2X will be available in Korea in January 2011 followed by Europe and the rest ... Read More



Go Back   Android Forums > Android Phones > LG Optimus 2X
Thread Tools

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



All times are GMT -5. The time now is 02:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.