Страница 1 из 1

USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 15 дек 2011, 15:59
cail
Major part of WindowsCE hardware have builtin mini-usb port (for PC connectivity/charging).

The point is that this port could be relatively easily converted into full USB Host port, and used to plugin external Bluetooth dongle or USB based ELM327 adapter.

The conversion is a two part process. There is a software part, which requires WinCE registry changes and driver installation. DIY information on this:

1. Download USBOTG from the link and extract it to a folder (memory card for example).
USBOTG-OTGLoader.rar
(62.6 КБ) Скачиваний: 3725


2. In the registry (via Registry editor), change or add some information:
Код: Выделить всё
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USBOTG1]
"Dll" = "\path and folder name\usbotg.dll"


3. Then restart our double din, the registry must be saved properly.

4. Run the OTGloader.exe then set the usb mode as “device”.

5. Plug a usb cable into our double din and the other point to pc (computer desktop/laptop)

6. Our PC will detect our double din like as usual

7. Unplug usb cable from our double din

8. Add external power via homemade usb cable or via usb hub as source power for our next devices.

9. Run OTGloader.exe then switch to USB host, then ok.

10. When connected a USB ELM327, windows will ask a driver, ftdi_ser.dll
ftdi_ser: download/file.php?id=23
cp2101 driver: http://www.silabs.com/products/mcu/Page ... ivers.aspx

Next part is a hardware part. You need mini-usb to USB-A converter:
371118_normal[1].jpg
371118_normal[1].jpg (15.08 КБ) Просмотров: 52246

Such usb host requires the external power (your unit will not power the device on itself). There are different ways of doing this by yourself, or buyin some available cables on ebay. Note that ELM327 is quite sensible to external power quality.

Re: Standalone GPS units compatibility list

СообщениеДобавлено: 25 дек 2011, 21:59
hpcnr
Hello, my name is Calin,i'm very interested of this software, i have a GPS PNA Mio Moov S505 (European) with WinCE 5, we installed HobD standalone in a SD Card (mini) which contains un unlock for this device, it works with not problem, but do not know how to install USB driver for my GPS.

In this post :

http://hobdrive.com/forum/viewtopic.php?f=5&t=31#p43

i chose the link for FTDI chipset based and I downloaded this :

http://www.ftdichip.com/Drivers/VCP/WinCE/CE4252/ARMv4VCPDriver.zip

I have a ELM 327 ver 1.2a with USB connection, it is good this driver USB ? If is good, how to install it ?

I can make a file .mscr (Mortscript) but do not know what to write in it to write a win .reg file

If this driver is not good, what driver is ?

PS. Sorry for my english, i'm from Romania.

PSS. I use my ELM with a laptop and work werry well, but i want to try also with my GPS (if is possible) .

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 26 дек 2011, 09:34
cail
Calin,

I've moved your question to the correct thread - read above for the general sequence.

You basically have to activate USB host mode on your device, and use special cable and external power to attach ELM to the unit.

If everything is done correctly, after ELM327 connection you'll see driver path request dialog.
FDTI driver is fine for this.

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 26 дек 2011, 11:37
hpcnr
Ok, thanks for response, sorry for my first post.

One more question, how to activate USB host mode on my device ?

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 26 дек 2011, 14:37
cail
hpcnr писал(а):One more question, how to activate USB host mode on my device ?


There exist some software, but you can try doing this manually:

Edit this registry key:

[HKEY_LOCAL_MACHINE \ Drivers \ BuiltIn \ USBOTG1]

You have to change OTGPortMode value to 1.

After restart your unit should be in usb-host mode.

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 26 дек 2011, 19:36
hpcnr
Tanks Cail, i see in your first post this :

"Dll" = "\ path and folder name \ usbotg.dll"

I need this file .dll ? If needed, maybe know where find i'm ... or shold be try with "Google" ?

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 27 дек 2011, 05:33
cail
hpcnr,

You basically have to check this registry key. Most probably you already have usbotg.dll inthere. Then you only have to change "OTGPortMode". Otherwise, of course you have to find usbotg.dll.

Sorry can't give you more details - I never did this by myself (only got this knowledge from other people).

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 12 авг 2012, 22:55
catalin7popescu
Hello Cail
Sorry for disturbing... I want to buy hobdrive and install in a gps unit, but I can't find the USBOTG1 in the registry. in the first post there is no link to downloat the dll file :(

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 13 авг 2012, 07:31
cail
Hi, I've added file archive to the first post: download/file.php?id=303

you can try it, probably it may work even without registry entries.

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 02 окт 2012, 22:36
xiuh
Hi Cail,

re-writing same post here..

want to try to use bluetooth dongle for connection with elm.
added registry entry then run the otgloader.exe
selected otg device mode and it prompted,clicked ok.
For now,everything is fine but get a huge disappointment..
that is my device no longer connects to pc via neither activesync nor massstorage..
now my device is working on usb only for charge.. no other connection with pc.

could you help me about this sitiuation pls ?

Thanks.

Re: USB-host configuration in Bluetooth-less units

СообщениеДобавлено: 02 окт 2012, 23:12
xiuh
btw Cail,

can enter my devices registry via sdmmc but have no keyboard for editing values,can delete only values..