Re: Device registration
- From: "Garratt" <Christian.H.Mikkelsen@xxxxxxxxx>
- Date: Fri, 8 Sep 2006 15:49:50 +0200
Ok i got a minor breakthrough.
Using TeraTerm (wonderfull substitute for that Hyperterminal) on my host pc
i managed to see that
the device actually sends one "CLIENT" message out on the rs232.
Looking though several notes i found that this indicates im using a wrong
cable.
This is good news and i will try to fix it this weekend.
But this do not answer why the USB cable do not work.
Could it be the same problem?
And do this not indicate that active sync actually works but its just me who
has got a "cable" prb?
Regards
Christian
"Garratt" <Christian.H.Mikkelsen@xxxxxxxxx> wrote in message
news:%23xjZbhy0GHA.4392@xxxxxxxxxxxxxxxxxxxxxxx
Ok now ive gotton hold of the right components (turned out that my vendor
had a prb with their versions :))
and I can now create a USB cable connection and choose its as the active
connection using the PC Connection dialog.
But when i try to connect using "repllog.exe" the application (repllog)
writes "Connecting to host" and then shutsdown after 3-4 sec.
Ive got AS 4.2 on the pc im connecting to. When i try to use COM1 i get
the same result.
Anyone seen this before?
best regards
Garratt
"Henrik Viklund" <henrik.viklund@xxxxxxxxx> wrote in message
news:1156966208.953562.311210@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Why just not just ask the BSP supplier to help you out? If they have it
in their build tree, they should have no problem pointing you to where
that 3:rd party component can be found/downloaded/bought, right?
Henrik Viklund
http://www.addlogic.se
Garratt wrote:
Thanks
I contacted my BSP creator and they told me to add a 3rd party component
called ITE USB host to my image
together with some code changes. I dont have the ITE USB Host component
in
my PB but they claim it should be there,
which i find rather strange since ive updated with all the wince
updates, so
i dont know why that is.
But im trying to make the it work by following their instructions though
still wihtout much luck. I will
write again when i get somewhere :).
Do you anything about a component called ITE USB Host ?
best regards
Christian
"Henrik Viklund" <henrik.viklund@xxxxxxxxx> wrote in message
news:1156254950.896252.78090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
...unless you're trying to use some sort of USB to rs232 dongle
ofcourse, in which case you can pretty much disregard my previous
post.
Henrik Viklund
http://www.addlogic.se
Henrik Viklund wrote:
I think you're confusing USB host and USB function here. To connect a
keyboard to your device, the device acts as a USB host. To connect
the
device to a PC, you need the device to act as a USB _function_, so
you
must have hardware support for USB function (a sepparate port unless
you have USB OTG support). You need to add USB function driver
support
in your image and you need to add the usb serial function client
class
as well.
Henrik Viklund
http://www.addlogic.se
Garratt wrote:
Hello all
Ive got a little of a pickle with a usb serial driver supplied with
my
PXA25
board.
When i enter the connmc.exe to create a new connection, i cant
select
the
usb device, although
i can use an usb keyboard or an usb sticks without any problems.
I know that the respective driver is loaded to the keyboard/stick
when
i
plug em in, but accoring to my vendor
if i want to use Active Sync, *which i do want*, i should be able
to
choose
an option name USB Cable in the
connmc.exe new connection window.
This driver is supplied by the vendor of the PXA255 card but for
some
reason
it does not show up in my connmc.exe.
I have some understanding of the whole function drivers and the
story
about
the ohci ehci uhci drivers from getting the usb
stick to work, but im a little lost here, since it seems to me that
it
have
something to do with how and when the system should
scan and find the avaliable devices for me to choose from. Been
looking
though the registry over and over without much luck.
What should i do.
1. Try to force a load of my driver on startup through registry
2. Make some special registry changes.
Currently i have the following
IF BSP_NOUSBCLIENT !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\USB]
"Dll"="sa_usb_ser.Dll"
"Irq"=dword:0 ; 11 - Dummy value. This subkey is not
really
used
by the driver.
"IoLen"=dword:1000 ; UDC Register space 0x1000 (4K)
"Tsp"="Unimodem.dll"
"DeviceArrayIndex"=dword:0
"Prefix"="COM"
"Order"=dword:0
"DeviceType"=dword:0
"Index"=dword:3
"FriendlyName"=LOC_FRIENDLYNAME_USB
; Eliminate flow control bit
"DevConfig"=hex:
10,00,00,00,05,00,00,00,00,01,00,00,00,4B,00,00,00,00,08,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\Comm\USB\Linkage]
"Bind"=multi_sz:"SAUSB1"
[HKEY_LOCAL_MACHINE\Comm\SAUSB]
"DisplayName"=LOC_DISPLAYNAME_SAUSB
"Group"="Serial"
"ImagePath"="sa_usb_ser.dll"
[HKEY_LOCAL_MACHINE\Comm\SAUSB\Linkage]
"Route"=multi_sz:"SAUSB1"
[HKEY_LOCAL_MACHINE\Comm\SAUSB1\Parms]
ENDIF
Any hints would be greatly appreciated.
Garratt
.
- Follow-Ups:
- Re: Device registration
- From: Henrik Viklund
- Re: Device registration
- From: Garratt
- Re: Device registration
- References:
- Re: Device registration
- From: Garratt
- Re: Device registration
- Prev by Date: Re: Receiving packet for port 1025 unexpectedly causes RST of conn
- Next by Date: Re: Device registration
- Previous by thread: Re: Device registration
- Next by thread: Re: Device registration
- Index(es):
Relevant Pages
|