Google
  Web www.gpspassion.com


GpsPasSion LIVE!
www.flickr.com
This is a Flickr badge showing public photos from GpsPasSion Live !. Make your own badge here.

www.NaviBlog.com



Versions

Links/Liens




Portal/Portail
Rechercher

- -

Polls/Sondages
Sondage
Pour vous guider sur la Route :
GPS Mobile (SEM)
GPS Intégré
Smartphone
Autre
Voter  -  Résultat des votes
Votes : 2219




Club GpsPasSion
Soutenez le site!

USA: (US$)
EUROPE: (€)
Guide Paypal


GpsPasSion Forums
Home | Profile | Register/Enregist. | Active Topics | Search/Recherche | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 English Forums - Hardware
 Mio AIO Forums - www.mionav.com
 MioPocket >> Tips & Tricks & Wishlist & More
 New Topic  Reply/Répondre
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 67

bumbum

519 Posts

Posted - 18 juin 2010 :  11:57:48  Show Profile  Reply with Quote
Osprey and others,

I found a nice analog clock downloadable http://www5d.biglobe.ne.jp/~hra/software/aclock/index.htmhere. It is cool because, it consist of 1 exe and 4 bmp's and you can change the design very easy by changing bmp's. But unfortunately somewhere was written that bmp's must have the same size. Therefore I tried to bring it in the middle and size down a little with WindowsMove.

Falk F8, only used for real car Navigation, Miopocket Rel. 5? installed / Becker 7928 test device for car and writing desk, always newest Miopocket version / Medion 4435 only test device on writing desk, always newest Miopocket version / Often others

Edited by - bumbum on 18 juin 2010 12:17:29
Go to Top of Page

jwoegerbauer

1863 Posts

Posted - 18 juin 2010 :  14:28:18  Show Profile  Visit jwoegerbauer's Homepage  Reply with Quote
@bumbum,

1) AClock you introduced here, is a very, very memory consuming application: TaskManager reports 483 KB. And it's always running in the foreground.
2) VmBtMdmCfg (aka BT Dialer): When I started it first time, I got the same error message and until today could not find out the cause. Sorry for this. Because I've no usage for this tool I don't want to spend more time in this.
EDIT: I remenber it has something to do with AYGSHELL.DLL used; changing AYGSHELL.DLL switches the error message to "Cannot find VmBtMdmCfg (or one of its components) ..."

@Osprey,

at least in my case, you may believe it or not, your draft of a future "Sub Variables_Language" doesn't change the language according to [HKCU,MUI,CurLang], if language is not defined in MioPocket.ini (and this should be standard in MioPocket's installation package): it always defaults to "English". This is the test-routine I've used:

#Variables_Language sets variables used for menu and message languages
Sub Variables_Language
	Call("Variables_Common")

      Local(LCID, LangArray, Language, found, i, test)
	Language = IniRead(MioPocketINI, "Language", "Language")
	If(Language eq "")



#for testing purposes only
RegWriteDword("HKCU","MUI","CurLang", 4103)
Sleep 1000

		#Set the language according to the locale currently in use
		Local(LCID, LangArray, LanguageFile, found, i, test, Language)
		If(RegValueExists("HKCU", "MUI", "Curlang"))
			LangArray = array("Catalan,1027", "Czech,1029", "Dutch,1043", ...

			LCID = "" & RegRead("HKCU","MUI","Curlang")
			#Translate
			i = 1
			found = FALSE 
			While((not found) AND (i < ElementCount(LangArray)))
				test = Split(LangArray[i], "," , FALSE)
				If(test[2] eq LCID)
					Language = test[1]
					found = TRUE
				EndIf
				i += 1
			EndWhile
			If(not found OR not FileExists("MioPocketLanguage-" & Language & ".mscr"))
				Language = "English"
			EndIf
		EndIf

		IniWrite(MioPocketINI, "Language", "Language", Language)
	EndIf

	#Load the English variables first, in case the definitions for the chosen language are incomplete
	CallScript("MioPocketLanguage-English.mscr")

	#If the chosen language is not English, load its variables
	If(Language ne "English")
		CallScript("MioPocketLanguage-" & Language & ".mscr")
	EndIf
EndSub


Edited by - jwoegerbauer on 19 juin 2010 14:14:45
Go to Top of Page

ml.906090

Germany
15 Posts

Posted - 19 juin 2010 :  16:07:25  Show Profile  Reply with Quote

How to Dramatically Speed Up Your Storage Card?


Read more here: http://pocketnow.com/tweaks-hacks/how-to-dramatically-speed-up-your-storage-card . I have installed the cab provided there and must say, it seems to do the job promised. Those are the registry entries created / changed by this tweak:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
"DmaTransferTimeoutConstant"=dword:00003000
"DmaTransferTimeoutFactor"=dword:00000008
"HandleBusyFinishOnCommand38"=dword:00000001
"CardReadWritePullupFlag"=dword:00000040
"CardReadWritePullupMask"=dword:FFFFFFBF
"CardReadWriteControlFlag"=dword:00000000
"CardReadWriteControlMask"=dword:FFCFFFFF
"CardReadWriteFlag"=dword:00000100
"CardReadWriteMask"=dword:00000100
"CardReadWriteGPIO"="H"
"CardDetectPullupFlag"=dword:00000020
"CardDetectPullupMask"=dword:FFFFFFDF
"CardDetectControlFlag"=dword:00000000
"CardDetectControlMask"=dword:FFFFF3FF
"CardDetectFlag"=dword:00000000
"CardDetectMask"=dword:00000020
"CardDetectGPIO"="F"
"CardDetect_Thread_Priority"=dword:00000098
"PollingTimeout"=dword:00000100
"SDIO_IST_Priority"=dword:00000097
"SDIOIrq"=dword:0000001E
"DMA_IST_Priority"=dword:00000096
"DMAIrq"=dword:00000024
"DMAChannel"=dword:00000000
"Prefix"="SDH"
"Order"=dword:00000021

[HKEY_LOCAL_MACHINE\System\StorageManager\FATS]
"CacheSize"=dword:00001000
"Flags"=dword:00000044
"CacheDll"="diskcache.dll"
"Util"="fatutil.dll"
"EnableCache"=dword:00000001
"Paging"=dword:00000001
"Dll"="fatfsd.dll"
"FriendlyName"="FAT FileSystem"

Edited by - ml.906090 on 19 juin 2010 16:10:18
Go to Top of Page

66176668

1 Posts

Posted - 19 juin 2010 :  19:48:33  Show Profile  Reply with Quote
Hi I'm new to the topic. Congratulations to all that have made it such a knowledgeable place. I want to point out to small freeware game Number Crunch 1.1, a small game, it's only 33,5 kilobytes of size. Game rules are included. Link is http://www.palmtopmagazin.de/software/?a=p&p=228
Go to Top of Page

Carpenter940

USA
49 Posts

Posted - 19 juin 2010 :  23:24:51  Show Profile  Reply with Quote
@ml.906090

Isn't this tweak for Windows Mobile Professional 6.1 devices only?

Mio Moov 500R2 CE5
Garmin Nuvi 1350
Magellan 1470
Magellan 1700
Go to Top of Page

ml.906090

Germany
15 Posts

Posted - 20 juin 2010 :  07:34:34  Show Profile  Reply with Quote
Carpenter940,

since Sept. 2007 WinCE 5.0 can deal with SDHC-cards. That's all I know. And it seems to me that the maintainers of MioPocket also know about this fact, why else exists in \MioPocket\Registry the file "SDHC.reg"? BTW, it doesn't hurt anything if you add the lines listed above to file "SDHC.reg", either the driver respects these settings, or simply ignores them.

EDIT:
Everybody,

a SDHC-formatter (trialware) you might be interested in: http://www.cnetx.com/format/download.asp

Edited by - ml.906090 on 20 juin 2010 08:30:21
Go to Top of Page

Osprey

USA
2764 Posts

Posted - 20 juin 2010 :  09:45:25  Show Profile  Visit Osprey's Homepage  Reply with Quote
ml.906090,
I don't see any change in performance according to the benchmark app in MioPocket. I even tried with a Class 2 card, just to make sure, and copied the three referenced DLLs from System\Extra on my SD card to the System folder on the flash drive to ensure that they were loaded. I think that it's likely that those settings are for Windows Mobile versions, like Carpenter suggested. It was a good try, though.

Mio C320 (US), R40 firmware, WinCE 5.0 Core, MioPocket 4.0 Release 68
Latest MioPocket: MioPocket 4.0 (Release 68) - Dec 6, 2010 & ReadMe
Go to Top of Page

ml.906090

Germany
15 Posts

Posted - 20 juin 2010 :  11:25:47  Show Profile  Reply with Quote
Osprey and carpenter940,
do you see these files \Windows\SDMemory.dll, sdbus.dll, and sdhc_sc2443.dll on your CE 5.0 Core device? If, then it should work, but you have to replace [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC]
by [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC_SMDK2443] in the registry sample I published above: That's what I forgot to mention. Pity.

Go to Top of Page

Osprey

USA
2764 Posts

Posted - 21 juin 2010 :  01:13:22  Show Profile  Visit Osprey's Homepage  Reply with Quote
ml.906090,
You need to edit the "SDIOIrq" and "DMAIrq" values out of your post. They stopped my device from booting. Fixing it was easy on my device, but it may not be as easy on a device with a persistent, hive-based registry. Anyways, after re-testing... still no change. It may be that only some devices (like the HTC Touch Pro mentioned in the original thread) come with crippled settings that need fixing.

Mio C320 (US), R40 firmware, WinCE 5.0 Core, MioPocket 4.0 Release 68
Latest MioPocket: MioPocket 4.0 (Release 68) - Dec 6, 2010 & ReadMe

Edited by - Osprey on 21 juin 2010 01:21:45
Go to Top of Page

bumbum

519 Posts

Posted - 21 juin 2010 :  13:11:29  Show Profile  Reply with Quote
@jwoegerbauer

quote:
1) AClock you introduced here, is a very, very memory consuming application: TaskManager reports 483 KB. And it's always running in the foreground.


yes you are right but it starts relatively quick plus I don't intend to run it all the time, so I can live with 483 kb

@Osprey

quote:
WindowMove.exe is most useful when expanding the window (ex. to fullscreen).


I can neither make it bigger, nor smaller. So seems WindowsMove resize function is not working for all apps?


Falk F8, only used for real car Navigation, Miopocket Rel. 5? installed / Becker 7928 test device for car and writing desk, always newest Miopocket version / Medion 4435 only test device on writing desk, always newest Miopocket version / Often others

Edited by - bumbum on 21 juin 2010 13:12:41
Go to Top of Page

jwoegerbauer

1863 Posts

Posted - 21 juin 2010 :  14:00:57  Show Profile  Visit jwoegerbauer's Homepage  Reply with Quote
Bluetooth Audio Gateway

If you don't need (memory consuming and battery draining) CE service "Bluetooth Audio Gateway" always is running, but you wan't the possibility to toggle this feature, those two little scripts may help you:

1) UnloadBTAG.mscr

#UnloadBTAG.mscr
Include("Variables.mscr")
Call "Variables_Common"
##############################
Local(success)
success=TRUE
If(RegValueExists("HKLM","Services\BTAGSVC","IsEnabled"))
	If(RegRead("HKLM","Services\BTAGSVC","IsEnabled"))
		If(FileExists(SystemFolder\"regservce.exe"))
			Try
				Run("regservce.exe",""""/u BTAGSVC.dll"""")
			Catch
				success=FALSE
			EndTry
		EndIf
		If(success)
			RegWriteDword("HKLM","Services\BTAGSVC","IsEnabled",0)
		EndIf
	EndIf
EndIf

2) LoadBTAG.mscr

#LoadBTAG.mscr
Include("Variables.mscr")
Call "Variables_Common"
#############################
Local(success)
success=TRUE
If(RegValueExists("HKLM","Services\BTAGSVC","IsEnabled"))
	If(not RegRead("HKLM","Services\BTAGSVC","IsEnabled"))
		If(FileExists(SystemFolder\"regservce.exe"))
			Try
				Run("regservce.exe","BTAGSVC.dll")
			Catch
				success=FALSE
			EndTry
		EndIf
		If(success)
			RegWriteDword("HKLM","Services\BTAGSVC","IsEnabled",1)
		EndIf
	EndIf
EndIf
Go to Top of Page

Osprey

USA
2764 Posts

Posted - 22 juin 2010 :  05:08:25  Show Profile  Visit Osprey's Homepage  Reply with Quote
bumbum,
I'm sure that it's because that app has no "window" in the usual sense and uses bitmaps.

jwoegerbauer,
I've added it to Bluetooth.mscr in MioPocket, but I've re-written it as a single function. Here it is if you or someone else wants to test that it still works:
Include("Variables.mscr")
Call("Variables_Common")
########################

Local(newValue, parameter, success)
success = TRUE

If(RegValueExists("HKLM", "Services\BTAGSVC", "IsEnabled"))
	If(RegRead("HKLM", "Services\BTAGSVC", "IsEnabled"))
		newValue = 0
		parameter = """"/u BTAGSVC.dll""""
	Else
		newValue = 1
		parameter = "BTAGSVC.dll"
	EndIf

	If(FileExists(SystemFolder\"regservce.exe"))
		Try
			Run("regservce.exe", parameter)
		Catch
			success = FALSE
		EndTry
	EndIf

	If(success)
		RegWriteDword("HKLM", "Services\BTAGSVC", "IsEnabled", newValue)
	EndIf
Else
	SleepMessage(3, "Bluetooth Audio Gateway Service is not supported on this device.", "", TRUE)
EndIf

Mio C320 (US), R40 firmware, WinCE 5.0 Core, MioPocket 4.0 Release 68
Latest MioPocket: MioPocket 4.0 (Release 68) - Dec 6, 2010 & ReadMe
Go to Top of Page

serak

2 Posts

Posted - 22 juin 2010 :  13:02:34  Show Profile  Reply with Quote
Hallo,
is it possible to use cell phone with wifi connected through bluetooth as internet source?

I know two chances only:
1. Through bluetooth use gprs profile on cell phone
2. Use Wifi SD card.
Go to Top of Page

daniHG

60 Posts

Posted - 22 juin 2010 :  16:20:29  Show Profile  Reply with Quote
Do you fumble around for the best registry settings related to SDHC, as I did?

It was ml.906090 who made me curious. If I am right, a device driver is a component that Windows CE uses to provide I/O services for and interact with an underlying device, such as a SDHC-card. Rather than access the device directly, Windows CE loads device drivers and calls functions in the drivers to carry out actions on the device. The driver functions contain the device-specific code needed to carry out actions on the device.
That was the reason why I was surprised over Osprey's reaction, i.e. he was striking down all. Thus I decided to do my own tests.

1) Firstly I have read this original Microsoft text according to [HKEY_LOCAL_MACHINE\Drivers\BuiltIn]: As you will see there in section HSMMC Driver, default driver's settings are

    "DMAIrq"=dword:00000035
    "SDIOIrq"=dword:00000015

These settings are to be found in my registry as default values, too. They severely differ in case of the interrupt requests (IRQs) settings from those shown in ml.906090's listing

    "DMAIrq"=dword:00000024
    "SDIOIrq"=dword:0000001E

May be Osprey is right if he suggests to leave these 2 IRQ settings always unchanged to avoid an an IRQ conflict ( otherwise, if the system starts it freezes ).

2) Secondly with my device's default SDHC-settings and with the tweaked SDHC-settings I have run following test:

#Test-SDHC.mscr
ErrorLevel("off")

#define scratch vars used in local namespace
Local(cpyFile, rdFile, logFile, writeLog, startTime, endTime, cpyTime, rdTime, cpyOK, readOK, cnt, fs, i, j, rd)
cpyFile = "\My Flash Disk\dummy1MB.txt"
rdFile = "\Storage Card\dummy1MB.txt"
logFile = "\StorageCard\test-sdhc.txt"

#display a test status window
StatusType(ST_MESSAGE, TRUE, TRUE)
StatusInfo("Testing SD-card [Please be patient, this takes some seconds ...]")

#prepare
If(not FileExists(cpyFile))
	StatusMessageAppend("^CR^Creating the dummy 1MB file for the first time...")
	Sleep 50
	#create it
	WriteFile(cpyFile, "X", 0)
	Repeat(1024 * 1024 - 1)
		WriteFile(cpyFile, "X",1)
	EndRepeat
EndIf
writeLog=FALSE
cnt=100
SetFileAttribs(cpyFile, FALSE, FALSE, FALSE)
fs=FileSize(cpyFile, KB)

#write operation
StatusMessageAppend("^CR^Started " & cnt & " write operations ...")
Sleep 50
cpyOK = TRUE
i = 0
j = 0
startTime = TimeStamp()
While(cpyOK AND (i < cnt))
	Try
		Copy(cpyFile, rdFile, TRUE)
		j += 1
	Catch
		cpyOK = FALSE
		i = cnt
	EndTry
	i += 1
EndWhile
endTime = TimeStamp()
cpyTime = (endTime - startTime) + 1
If(not cpyOK)
	StatusMessageAppend("^CR^^CR^Write test failed! Exiting ...")
	Sleep 10000
	StatusType(ST_HIDDEN)
	Exit
EndIf
StatusMessageAppend("^CR^" & fs * j & " KB written in " & cpyTime & " msecs")
Sleep 50

#read operation
StatusMessageAppend("^CR^^CR^Performing " & cnt & " read operations ...")
Sleep 50
readOK = TRUE
i = 0
j = 0
startTime = TimeStamp()
While(readOK AND (i < cnt))
	Try
		rd = ReadFile(rdFile, fs)
		j += 1
	Catch
		readOK = FALSE
		i = cnt
	EndTry
	i += 1
EndWhile
endTime = TimeStamp()
readTime = (endTime - startTime) + 1
If(not readOK)
	StatusMessageAppend("^CR^^CR^Read test failed! Exiting ...")
	Sleep 10000
	StatusType(ST_HIDDEN)
	Exit
EndIf
StatusMessageAppend("^CR^" & fs * j & " KB read in " & readTime & " msecs")
Sleep 50
StatusMessageAppend("^CR^^CR^Test done.")
Sleep 50

#log result
If(writeLog)
	StatusMessageAppend("^CR^^CR^Writing log file ...")
	Sleep 50


EndIf

#end
StatusMessageAppend("^CR^^CR^All finished.")
Sleep 10000
StatusType(ST_HIDDEN)

3) Result: In case of default registry settings write speed was dramatically slower as in case of tweaked registry settings, but surprisingly read speed was identical.

tweaked:

default:


BTW: If you also are interested to do this test, you find the complete test environment here (thanks to jwoegerbauer for permission)

Edited by - daniHG on 22 juin 2010 16:21:20
Go to Top of Page

ml.906090

Germany
15 Posts

Posted - 22 juin 2010 :  20:57:28  Show Profile  Reply with Quote
daniHG,
really nice script, but you should replace "msecs" by "secs", because TimeStamp function returns seconds - not milliseconds! You have proven, that it probably makes sense to implement the SDHC-driver tweak. All should think about, each for itself. Again, thanks for sharing your test routine.
Go to Top of Page
Page: of 67 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply/Répondre
 Printer Friendly
Jump To:
GpsPasSion Forums © 2002-2014_GpsPasSion/Manzanite Go To Top Of Page
This page was generated in 0,83 seconds. Powered By: Snitz Forums 2000 Version 3.4.05