Hello developers out there...
I have an idea in my mind:
* we can monitor an omap-cpu and
* we can overclock it with omapclock
What about using the cpu-load value to configure omapclock as needed?
For example:
My device is an MDA Compact II (Charmer)
Standard CPU-speed is 195 MHz
Most times my CPU runs nearly idle.
Why dont reduce the cpu speed to 100 MHz (e.g.) if cpu load is < 20% to safe battery?
On the other side i use a gps-system which uses much cpu load - I have to overclock here.
If cpu-load reaches more than 70% my processor should be overclocked... currently I use 245 MHz
We would need a script monitoring cpu load regularly and starting omapclock if needed. As I'm not a programmer - is this possible and is there someone out who would write this? If so - I'm interessted in beta-testing...
Is someone else interessted in such an application?
Is there a solution out there which is able to do so? (I googled around but I cannot find...)
Thanks in advance for any comment - and excuse my bad english...
Greetings from Austria
This is a really excellent idea. If there is no other (more competent) programmer out there then I will give it a try - I've never made a WM5 program from scratch before, only modified one!
xcpuscalar works that way
The idea isn't as wonderful as it sounds due to the structure of the OS.
At first it sounds like the automatic gearing in a car however it isn't as simple in a multitasking OS. IMO the kernel scheduler of WM5 still has a long way to go in terms of responsivness to current active application.
oldsap said:
xcpuscalar works that way
Click to expand...
Click to collapse
Does xcpuscalar really work? I searched around and found this:
http://forum.xda-developers.com/viewtopic.php?t=24290&highlight=xcpuscalar+benchmark
ady said:
IMO the kernel scheduler of WM5 still has a long way to go in terms of responsivness to current active application.
Click to expand...
Click to collapse
If I understand you right - in easier words - if we switch the speed to often we slow down the response for other programs?
What about defining a configurable time to wait before the device is allowed switching again - e.g. 10 seconds?
being that every single chip have a different level they can overclock without turning toast
and devices can have more or less dirt and dust in them
or be in different temp envioments and air humidity
this program could be a costly thing to use to gain an unsurden amount of batt and speed inc
batt and speed usage is not linear depending on overclock
there are piles of wait states and such which could mean that
overclock dont help much
there could be power usage for regulating clock which mean that
changing it often use more power then normal operation
Thanks for your comments.
I think this application could be useful if it is configureable enough.
How can the cpu load be queried on a PPC?
I cannot find something helpful on MSDN.
The program would need the following specifications:
Does not slow down the PPC with constant CPU polling
Only overclocks when the CPU is under high demand for a significant amount of time
Is configurable to only under/overclock to levels prescribed by the user
This can be achieved quite easily:
Program runs in the background and checks CPU usage every x seconds, where x is chosen by the user and is in the order of seconds, say 2-5 seconds
The PPC will only be overclocked if the CPU usage is above y% usage for z * x seconds, where z is an integer of somewhere between 2 and 3
Similarly, there will be a threshold of usage below which the PPC is underclocked
Rudegar, those issues you mentioned should hopefully not be a problem.
The under/overclocking can be configurable as mentioned above so that each user can experiment with OmapClock and determine which are the best speeds for their processor to run.
Also, you could simply use it to underclock and save battery when the processor is not in use.
If checking the CPU usage is not too processor intensive then the program will not slow down others.
You perfectly described what the application should do.
Thanks Oliy.
Let's proof our concept. I can help with alpha-tests.
I also can do some performance/and battery tests with some tools around in this forum.
I even can write a documentation in German (i could write it in English too but I dont think this is a really good idea...)
Lets go?
I would like to write a tool for out omap, but i can't find any specs on omap cpu !
If anyone can give me some specs i can develop this without problems !
maddoc said:
I would like to write a tool for out omap, but i can't find any specs on omap cpu !
If anyone can give me some specs i can develop this without problems !
Click to expand...
Click to collapse
Maybe this?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcemain4/html/cerefGetIdleTime.asp
I forgot to mention: this describes how to measure idle time. For cpu-scaling we should call omapclock as it works perfectly.
For cpu-scaling we should call omapclock as it works perfectly.
Click to expand...
Click to collapse
I agree, no point reinventing the wheel.
I have checked out ways of getting the CPU load. Unfortunately the PerformanceCounter class is not available in the Compact .NET framework so it will have to be done on system idle time as mentioned earlier.
If we are calling an external program to do the under/overclocking then we can easily extend this program to support all CPUs.
I will have a go at making a program capable of determining CPU load tomorrow?
laggflor... I don't speak German! What device do you have? I have a Wizard.
laggflor said:
oldsap said:
xcpuscalar works that way
Click to expand...
Click to collapse
Does xcpuscalar really work? I searched around and found this:
http://forum.xda-developers.com/viewtopic.php?t=24290&highlight=xcpuscalar+benchmark
Click to expand...
Click to collapse
wow thanks for the headsup. I was kinda doubtful of xcpusclar.
If we are calling an external program to do the under/overclocking then we can easily extend this program to support all CPUs.
Click to expand...
Click to collapse
Right, this is great!
laggflor... I don't speak German! What device do you have? I have a Wizard.
Click to expand...
Click to collapse
You dont need to speak German - but I think a manual in english should be written by someone speaking english as mother language... I can write a Manual in german if wanted.
I have a Charmer.
I will have a go at making a program capable of determining CPU load tomorrow?
Click to expand...
Click to collapse
These are good news. Good Luck...
Thanks.
If I write the program then I'll have a go at documentation too, it should be very simple really, just 4 inputs required from the user regarding the load polling frequency, the boundaries at which to overclock and underclock, and the threshold of these boundaries.
Also, an external function to be called for under/overclock.
I'll have a go at this in a few hours - right now, I'm off in the sun to celebrate England beating Paraguay!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've made a program which seems to monitor CPU load fairly well.
Now, I have to make it decide when to under/overclock, then I will add support for running an external program (OmapClock) to set a new clockspeed.
Finally, I will add a user interface (or maybe not - might just keep it as an xml file).
Oliy said:
I've made a program which seems to monitor CPU load fairly well.
Now, I have to make it decide when to under/overclock, then I will add support for running an external program (OmapClock) to set a new clockspeed.
Finally, I will add a user interface (or maybe not - might just keep it as an xml file).
Click to expand...
Click to collapse
These are quit good news. i was off some days - and in the meantime you are discussing such crucial things. Your spec in the posting above is excellent and the idea from you - laggflor - is really cool.
Let me do some more suggestions:
1. Make it configurable to have a user defined clock speed at starting the program. This is because i often switch on the device and want to check meetings or something like this. This lasts quite short and i want to have maximum speed for this short time due to some program start. After an also configurable amount of time the hysteresis starts.
2. If i switch from a very high clock speed to very low (264 -> 132) the device hangs up sometimes. Maybe you can decrease clock speed in more steps.
3. Maybe it is possible to have several cpu load regions all configured with a different clock speed. But propably it is better to do it in a second step.
By the way: Greetings for beating Paraguay. I hope that england make the group as winner - otherwise you will have germany in the next round. This is not good for you We will not loose again like at euro championship 2000)
Hi,
In answer to your suggestions:
1. The user can define the clockspeeds required for Underclocked, Default Clock, and Overclocked. It will always start at "Default" and so you can set this to whatever you want.
2. The program has 3 states - overclocked, default clock, and underclock.
It will enter either of these 3 states depending on the load, but it will never go straight from overclocked to underclocked or vice versa, always:
Underclocked -> Default clock -> Overclocked
And of course the reverse. Hopefully this will mean that the steps are small enough that it will cause no problems. I have used 150Mhz -> 200MHz -> 240MHz and it is fine.
I've got the program running on my device and it appears to work fine. I'm just working on the user interface now so that it is easy to set the parameters of the program. I will post a version soon, perhaps tomorrow.
Oliy
how did you implement CPU load monitor ? I checked a way trought MSDN and google but i don't found nothing using .NET, i was curious about it... i just found on MSDN a small sample called "Performance Counter" that give me some tips using :
QueryPerformanceFrequency
QueryPerformanceCounter
and count ms between two ticks
Related
Has any one got a link for a freeware program to do throtterling of the CPU as in not always running at 400Mhz? I've seen a few more complex ones that you have to pay for but they do all sorts of things? I am thinking of giving it a go and the whole point of Intel developing the XScale chip is because it's able to Scale down the speed (Hense the name) this saves a lot of battery life apparently...
Any ideas?
Downclock your processor will not take a lot saving your battery life (about 10%).
Use XCPUScalar for your Xscale cpu,it let you choose 100-200-300-400-472 Mhz mode.
Regards
Double post
thanks for the reply unapproachable2kx I will take a look into that program... Great work...
Hear is a direct link for any one that would like to look it up as well
http://www.immiersoft.com/
does the program expire at all? has any one done any testing of just very basic PDA work as in address lookup, phone number lookup and that sorta stuff and seen how much extra battery like they can get out of there PDA?
Is there any programs that can automaticly scale the speed of the CPU acording to CPU load that is freeware? Will Microsoft be implamenting CPU scaling in the Second Edition of there 2003 OS? still can't belive that its not a built in feature if the CPU's where designed to scale acordingly...
Does no one else know of any others that can scale the CPU speed according to usage? ass well as the software being freeware?
The Xscaler prog is not free.
This is
http://elevatedstudios.com/pocket/
Thanks for the link xda-rocks, Have you had any trouble using this software on the XDA II, I see they give you a bit of babble about you may have to do hard resets and stuff like that.... Have you had any problems as yet... I have never used any CPU throterling software and am just wanting to play around with it a bit..
Do you notice a extended battery life if you use this software at all?
No probs so far, but haven't really had time to try it - only just installed myself.
After playing with PocketHackMaster, XCPUScalar I've found that noone of them was able to overclock my device reliably. So I've wrote my own program that uses undocummented OEMSetCpuFrequency IOCTL of NK.EXE. Program can be downloaded from http://mamaich.kasone.com/imate/Overclock.rar
I can send source code on request. Use this program at your own risk and backup before running it.
Program allows to manually adjust L, M, N parameters for Imate running 1.72 ROM (I have not tested older ROMs). The L parameter modifies SDRAM frequency (36 is a maximal value for my device), M - is a CPU frequency multiplier (shoul be left as a 4), N is a turbo mode for a normal mode multiplier. Setting its value to 1.5 makes the device work slower (though reported speed by PocketHackMaster and other tools is 796Mhz). My best results are 36/4/1 (530 Mhz) as shown on screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
.
You may try other values. The smaller values may give the higher speed.
Cool..I'm trying it out...seems faster...but is it my mind playing tricks?
I'm using 1.66 and i set the overclock same as above.
I tried it many times and most of the benchmarks readings differ a bit.
Anyhow Checkout my test results....
Standard XDAII___________________After Overclock
Hmm...seems like the Standard XDAII is giving better results...but then again, I really dunno what all this mean....
Can someone explain it to me...errr in simple english please?
And one more thing,seems like the settings will change back everytime it is closed (by clicking 'OK' on top). Is the oveclock still running then?
Very thankful Mamaich! ..You are a good man..respect you.
Ser
I have not tested old ROMs like 1.66, but in my 1.72 overclocking is kept after the program is closed. Overclocking may reset after device goes into sleep state or when inserted into cradle. This is not tested.
Overclocking to 796 Mhs makes the device work slower than on 530 Mhz, I don't know why.
mamaich ..
Does it Work "Reliably" on the XDA-1, Running ROM Ver 3.17.03 ??
Thanx
Yeah,it takes the speed you choosed when you tep OK on 1.72 ROM.
My problem is that on 530Mhz my XDA2 freezes on Hard Processing Applications..like Windows Media Player,Pocket Quake,Etc..
Do you think is related to applications I have in background like: Spb Pocket Plus-MultIE and Caller ID monitor?
Someone can confirm that your ppc runs with no problems on 530mhz and more? if yes,what app do you have in background?
thanx
I think it is the same with overclocking computers... has to do with the fact that every processor is a different grade, all can run the 400mhz no problem, but only a few can do 530 without crashing.
Crashing or resetting is a sign that you've gone too far; usually you can overcome this by increasing the voltage of the CPU, but don't have that option in PPC.
I've asked this because many users runs 530mhz and more frequencies without problems.
That annoing me..I've removed all the background progs.. Tested many times with GX Benchmark whitout probs but when I run Windows Media Player it freezes after 30-40 sec.
Note: Only if I play a video file,like 300kbps..
Or if I play Quake,it freezes instantly.
In Os menu it runs very fast,but ..who want that if u can't run great games with this Clock.. :?
Let me know if your XDA2 supports this,maybe try also play a videofile about 300kbps for a minute..and let me know..
thanx
Using XCPUScalar I can run most things including games very well @472 and 530, but at neither Windows Media Player nor Pocket Player seem to like it. They'll often go to the next song 10-seconds to 1 minutes into it, and sometimes it will shut itself down. I would seriosuly recommend against overclocking to 700+ Mhz though unless you enjoy buying new phones.
I had the same problem with overclocking my Audiovox PPC 5050 to 530MHz. It would freeze after a few minutes of playing MP3s.
No,I say: It freezes when play videos at 300kbps and more..
No problems with mp3's..etc..
Using xpcuscalar I'm running my xda2 at 530Mhz with no problems at all, Use media player for mp3's in the car for a couple of hours a day along with tomtom 3. Only time I have any problems is sometimes (say 5% of the time) tomtom freezes after I recieve a phone call, but it does this if xcpuscalar is not running, so I don't think it's down to the overclocking.
Can play pocket quake and tomb raider without problems, mamece3 is a bit buggy though.
Sorry forgot to mention uk o2 rom 1.60 (offical o2 uk update rom) and xcpuscalar 2.62
Does anyone know what program i can use to benchmark my XDA2 ??,
I have overclocked mine to 530 and it is really flying along at the moment but it would be nice to get some figures as to how much faster it is?
OverClock
Hi mamaich and guys.
I placed the program in /Windows/Start Menu/Program folder. My Xda II runs stable and fast at 796MHz - not much difference in battery life compared against at 530MHz - which is great.
But however the only way I can keep OverClock running is to not display my Today (Desktop) screen. The program will close everytime I minimise it and reverting back to 400MHz.
Any ideas on how to rectify this please gentlemen?
TIA
I am running at 1500mhz, the flames and acrid smoke are wonderful, must go now the fire brigade want to see me.
Re: OverClock
[Krueger said:
Dr.Stein]But however the only way I can keep OverClock running is to not display my Today (Desktop) screen. The program will close everytime I minimise it and reverting back to 400MHz.
Click to expand...
Click to collapse
My program changes the CPU speed only when you press the "apply" button. After then you can safely close it. The device would revert to 400 mhz after entering the sleep state or in some other reasons. Later I'll make my program resident so that it would continuously keep the device overclocked. I'll post a new version here.
Re: OverClock
[Krueger said:
Dr.Stein]Hi mamaich and guys.
I placed the program in /Windows/Start Menu/Program folder. My Xda II runs stable and fast at 796MHz - not much difference in battery life compared against at 530MHz - which is great.
But however the only way I can keep OverClock running is to not display my Today (Desktop) screen. The program will close everytime I minimise it and reverting back to 400MHz.
Any ideas on how to rectify this please gentlemen?
TIA
Click to expand...
Click to collapse
....HMM....Whatt'a f**K!! I am the only that can't run more than 472mhz?? what's the problem??
It continue freezing on 530 if I play games,or other..
Ahh..I also CAN'T overclock to 796mhz,it freezes istantly!
The same to XcpuScalar on 530mhz,it freezes.
What problem can be guys? We are running on same devices,also I have a 1.72,Radio 1.14..
So what... **** happends
It's the same with each processor...
As you might know a 2.6 Ghz Pentium comes from the same wafer as a 3.6 GHz Pentium, but these processors are qualified for speed.
I don't think Intel is qualifing the XScales for Speed, this is not common in the mobile market. Here the chips are designed to reach a certain speed, all above is not really interesting.
Alex
a hard Hard reset!
I overclocked to 530, it worked perfectly. I tried to nearly 900, it freezed, I had to soft reset. OK.
Then I tried at nearly 600, it freezed, and I had to hard reset...twice
(ouf! I thought for a while that the device was good for the garbage can)
I just thought I would let people know of my success with overclocking the Magician with "Pocket Hack Master"
After many hours of testing and playing around, I descovered that a RAM speed any higher then 65Mhz caused lockups, so, I played with all the configurations I could to get the most performance out of the device with the highest RAM speed possible.
Here is the final outcome:
CPU: 663Mhz
BUS: 221Mhz
RAM: 55Mhz
LCD: 55Mhz
To achive this I used the following manual settings:
L: 17.0
N: 6.0
A: 0
LCD_26: 1
Turbo On
Fast Bus On
Benchmark Results (From Pocket Hack Master):
SI: 365
MIPS: 244
MEM: 487
The performance increase is incredible. Its not one of those barely noticable overclocks, i mean, even loading the windows directory in Resco File Explorer is about 10x faster.
I have been running these settings for about a day now, and I give my Magician a hard time as I develop on it and I have not noticed any problems yet. I havn't been running it long enough yet to see if the battery life has dropped much though.
I would be interested to see how others go, please post your success/failures here and the settings you used to get the results.
Just descovered Spb Benchmark... its running as I type this so get some hard proof of the speed increase.
SPB Results:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok, playing with the settings a bit more... got another good config.
CPU: 650Mhz
BUS: 260Mhz
RAM: 65Mhz
LCD: 65Mhz
While the cpu speed is a bit lower, the ram speed increase more then makes up for it.
Not going to post images for this one... the numbers will suffice
SPB Index: 2156
CPU Index: 2643
FileSystem Index: 1662
Graphics Index: 2679
Platform Index: 1665
I may update the images later when I am not so lazy.
How about the battery hogging as a result?
Hi,
I am trying second settings but it locks.
L:20
N:5
A:0
Turbo
LCD_26:1
Fast bus.
Is that what tested?
thanks
yeah, all this is fine and dandy and really well done aswell, but useless if battery life becomes none-existant.
What kind if mileage are you getting?
for me performance is better then battery life since I am developing on the device. As i stated, I am still unsure as to the life since to develop on it, it needs to be plugged into the PC.
jigero: Yes, that is what I used... memory is more picky then CPU when it comes to overclocking... 65Mhz is really pushing it, just luck of the draw.
Finally i made it. I choose from the filter to show all possible settings (full) and choose the one with the specs you said and worked fine. It goes really faster.
Thats wierd...
I got sick of searching through that list and made a manual one that works fine.
I would like to know what the "L", "N", "A", and "LCD_26" actually mean.
"L" is deffinatly the bus multiplier.
From what I can tell, "A" seems to affect the RAM speed, kinda like turbo and "N"
LCD_26... no idea, just seems to work more consistantly when I set it to 1
gnif said:
Ok, playing with the settings a bit more... got another good config.
CPU: 650Mhz
BUS: 260Mhz
RAM: 65Mhz
LCD: 65Mhz
While the cpu speed is a bit lower, the ram speed increase more then makes up for it.
Not going to post images for this one... the numbers will suffice
SPB Index: 2156
CPU Index: 2643
FileSystem Index: 1662
Graphics Index: 2679
Platform Index: 1665
I may update the images later when I am not so lazy.
Click to expand...
Click to collapse
Same as here it just hang...
how u do managed it at 260 bus the most i can go s 520mhz..
Thanks for the post but,
I tried
CPU: 663Mhz
BUS: 221Mhz
RAM: 55Mhz
LCD: 55Mhz
configuration but my i--mate jam crashes.
The second conf crashed too.
So, what about battery run time? :roll: A couple of hours?
I was also experimenting with PocketHackMaster on my Magician and the speed increase was more than obvious. I also encountered that overclocking the RAM is the most effective (I wonder why HTC doesn't just use a faster RAM interface to increase the speed of their devices ). Now the big problem: Even when underclocking the device, battery lifetime decreases dramatically. So for a mobile phone this is not a useful in my opinion.
With Pocket hackmaster the most u can go is...
Bus=260
Ram=65
lcd=120+
cpu=620
not more then that...not only that on bus 260 the most i can get is 520..anything more just hang...and at bus 247 the most possible outcome is 618mhz...
and after some intencive test i think this is the best configaration for magican and stable too...
the setting is
(618,62,62,T)
L=19
N=5
A=0
Turbo=selected
Lcd_26=1
FastBus=selected
and i got
SI=384
MIPs=227
Memory=541
This is the best result i can achive anything more just hang up...
Did anyone able to achive something better then that and able to use it for a long time atlist for a day...?????
AND FOR BATTRY LIFE NEW VERSION V3.25 has someimprovement....that is..
in previous version if u do overclock or underclock...and keep ur set in idle mood then still it take up the juce of the battry quicker then normal idle mood...but in this release this bug is removed it doesnt take charge in idle mood but still in underclock mode u cant save battry life it will still take charge as normal mood...
Hello,
The maximum speed ive ever got is 975Mhz
I use Pocket music player and when its playing, it slows my device like hell. If i run concurrently with PHM, its damn fast that even when i listen to pocket music and work, device works in a speed like when Pocket music is not running. So its like double the speed! The only problem is, it heats up my device in 2hrs and then it hangs. I need to soft-reset and use it without PHM until device cools.
Regards
Carty..
any cnofiguration works with my spv m500, i use pocket hack master v.3.15.00
Any suggestion??
regards
sacapo said:
any cnofiguration works with my spv m500, i use pocket hack master v.3.15.00
Any suggestion??
regards
Click to expand...
Click to collapse
1.12.03 ESN
Carty said:
Hello,
The maximum speed ive ever got is 975Mhz
I use Pocket music player and when its playing, it slows my device like hell. If i run concurrently with PHM, its damn fast that even when i listen to pocket music and work, device works in a speed like when Pocket music is not running. So its like double the speed! The only problem is, it heats up my device in 2hrs and then it hangs. I need to soft-reset and use it without PHM until device cools.
Regards
Carty..
Click to expand...
Click to collapse
What was the setting like L,N etc u used to get that speed????
And what was the Si,MIPS AND MEMORY Banchmark u got with that speed...???
Thanks
none of the above configurations above worked on my jam.
Always crashed
why why why????
Hi Guys,
Pretty impressed with this site, the dedication and commitment everyone here has.
Just thought to pick minds....
Which is better of the 2 clocking apps : OMAP (of which I could only find ver 0.2) or BatteryMeter , gives the best overall performance vis installation file size and continous use ?
Your thoughts please
AD10
I think they are the same thing, BatteryMeter provides the nice user friendlier interface that invoke OMAP (or you mean OmapClock?). For small size, OMAP is a command line simple tweak etc, but maybe difficult to set up, esp if you want it to be still around after suspending your phone. So, probably for start, try the Bmeter.
Don't you mean BatteryStatus instead of BatteryMeter?
Anyway, BatteryStatus, despite the name, has also overclocking features and has the advantage that the settings remains if you perform a reset. As far as I know, Omapclock does not.
hanmin said:
I think they are the same thing, BatteryMeter provides the nice user friendlier interface that invoke OMAP (or you mean OmapClock?). For small size, OMAP is a command line simple tweak etc, but maybe difficult to set up, esp if you want it to be still around after suspending your phone. So, probably for start, try the Bmeter.
Click to expand...
Click to collapse
here's the helper
http://www.nicque.com/PQz/OmapClockPlus.htm
Thanks guys,
Yes I meant BatteryStatus and OMAPClock.
I have tried both, and stuck to BatteryStatus - offers more information and seems to be constantly supported by Kai.
OmapClock and batteryStatus read different clocks
I used OMAPCLOCK to set the clock to 208 MHZ, however batterystaus, even not using its overclock function reads it as 221 MHZ instead.
Which one to trust???
Tks
I used OMAP for a while, but I was able to overclock max 246, now I use batterystatus and I OC to 286 without any problem. (Also BS has many more features over OMAP)
Hi every one im not an expert in programming (i know assembly, C) but i never tried to make a program for a Windows Mobile, only MicroControlers.
Im actually a Electronics Teacher, and i design a G force Meter whit GPS for my car showing XYZ G-Force and recording info in a SD card so i can pass to a laptop and analysing the data and posting the info in Google Earth.
Any way my diamond have everything a use in my project, acc, gps and VGA screen (i used 4 7seg displays )
So if any one could give me some guide line where to start programming (i have VB.net i don't know if its useful) i could make such program and post it.
Since you have a background in C, I suggest:
* Beginner Developer Learning Center
* Windows Mobile Developer Center, to help you get started on Windows Mobile
* Visual Studio and C#, probably a somewhat more familiar programming language, compared to VB.NET
* the .NET Compact Framework
* you contact Koushik Dutta, who shares the Visual Studio CE Setup DLL Template, HTC Touch Sensor SDK, Managed OpenGL ES wrapper, to unleash the Diamond's potential and maybe he'll give you more or better guidelines.
Wow, maybe you'r gonna be the guy who actually can make this idea(it's also measuring G-Forces in cars etc):
http://forum.xda-developers.com/showthread.php?t=408474
Good luck!
Caspertje19 said:
Wow, maybe you'r gonna be the guy who actually can make this idea(it's also measuring G-Forces in cars etc):
Click to expand...
Click to collapse
Thats execly what im tring to do...
The main code is already done.
Showing:
Acc/Brake and Curve GForce
Maximum values and total
Big Central Display (you can chose add/brake, curve or total) Gforce
Calibrate the program,whit out using the acc, so if you put the PDA in a "bad position" you can set the ZERO G. (but you should always have you acc calibrated AND the program)
dont mind the bar in the bottom is just to debug.
so PLZ SOME ONE help me finish my program so we can all start to measute GFORCE agains wall's and stuff
All i need is whant is explain in the first post
Some pic of the beta program.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
as always
thx in advance.
Ive been looking for one of these for ages!!! good luck with it and i look forward to trying it out some time!!
Ikari said:
Thats execly what im tring to do...
The main code is already done.
Showing:
Acc/Brake and Curve GForce
Maximum values and total
Big Central Display (you can chose add/brake, curve or total) Gforce
Calibrate the program,whit out using the acc, so if you put the PDA in a "bad position" you can set the ZERO G. (but you should always have you acc calibrated AND the program)
dont mind the bar in the bottom is just to debug.
so PLZ SOME ONE help me finish my program so we can all start to measute GFORCE agains wall's and stuff
All i need is whant is explain in the first post
Some pic of the beta program.
as always
thx in advance.
Click to expand...
Click to collapse
WOW !!
Is there a way to get it and test it ?
is there way to offer some "coffee" for you? I'll feel myself better when I donate for such a work...
I have an idea... do you have ever seen MotoGP or Formula1 races??
They visual representation would be better!!!... like this
with a different coloured concentric circle at every measure
But you are not able to read it as fast as you might need it. It will take a moment to fix the dot with your eyes and another one to look on which mark it is.
SkizZO said:
I have an idea... do you have ever seen MotoGP or Formula1 races??
They visual representation would be better!!!... like this
with a different coloured concentric circle at every measure
Click to expand...
Click to collapse
I can do that, pretty easy, im making it skin friendly so u can out your one backgrand image and shose the graphical Gforce meter in the options
again i sill cant get help to use the SDK in VB.net
Lots of ppl maquing games and app, but no one replys to my PM or posts for help.
I started working on a prg like this as well. I have no problem with the C# or C++, what I'm struggling with is the amount and type of filtering to use on the readings from the accelerometer. I'd be happy to help with your prg or take advice from you as to how to handle the filtering calibration etc for my prg...
Ikari said:
I can do that, pretty easy, im making it skin friendly so u can out your one backgrand image and shose the graphical Gforce meter in the options
again i sill cant get help to use the SDK in VB.net
Lots of ppl maquing games and app, but no one replys to my PM or posts for help.
Click to expand...
Click to collapse
Some help maybe
Ikari said:
So if any one could give me some guide line where to start programming (i have VB.net i don't know if its useful) i could make such program and post it.
Click to expand...
Click to collapse
I have appended a skeleton program that shows how you can use a bitmap as a background for a meter. Maybe it is helpful ?
It is written in C#, but if you prefer C/C++, I can easily rewrite it for you. (but not today any more, it is kind of getting late here ) I have appended the sources because other people might like them too.
The example you see uses one bitmap of a dial background and draws a big one on top and 2 smaller a bit lower.
I am a part time mechanic and also have the Diamond, I work in the preformance division of the garage! I was curious to know if this is going to be freely available or will it be a payed app! A lot of others out there, but, to difficult to calibrate! If you could help out, that would be great! Thanks in advance!
P.S. The UI looks really slick and very readable!
thx for finaly get some help, atm im formatting my laptop the one i use to make the program,
tomorow i will ask some help to finish the program.
Any way to clear a question ask here and in other places. I WILL BE FREE.
I don't care if in a moth some guy makes a similar program and ask 20$-50$ for it.
I want to every one that have a acc enable PDA and like driving to use the program and give a feedback, obviously if any one wants to give something more material that some tip's i don't mind
I dindt made any real test whit the program, but the algorithm is the same that i creat to a microcontroled Gforce meter, so the data is correct to the 0.1 at minimum, if you have the sensor calibrated(some diamonds have problems whit that.) it will be arond 0.01 accuracy but i intend to display 0.001 and calculate whit 0.00001 so it will be quit precise.
My plan is to make my prg free as well. Will you have src code available? I'd love to see your algorithms that handle filtering... In my testing, the readings are very noisy from the accelerometer...
Also, what is the max rate you have been able to sample the sensor at? My testing shows that 40ms gives bad readings, but 45ms works. I'm wondering if there is an optimal sampling rate...
as i sad i dindt make my program get the acc info cuz the source code from the SDK is in C and i don't know how to use it, could you send me yours plz, or even better make a simple sample in VB? plz thats the last thing i need to post my program to beta test in the forum... my email is [email protected] .com
Thx in advance
I'm very interested too on this program..i'm an engineering student and i also have diamond..unfortunatly i can't program in C or some other language (you know i will be a chemical engineer )
but if someone need to have a betatester, it could be me..
isn't there any of theese program ready to test?
tnx
Edit/Delete Message
I have had another idea.... the data from accelerometer can be adjusted/compared with the GPS data, to have a better result, a kml to export to google with all needed/calculable infos, with for example altitude ratio of the street (wich influence the gforce)!
Already post my beta program Pocket Gforce plz start posting there.
http://forum.xda-developers.com/showthread.php?t=422662
ops, bad topic, sorry