LINEERR_RESOURCEUNAVAIL using USB port
From: Susan (susan_at_pile_HATE_SPAM_DOT_com)
Date: 09/28/04
- Next message: Andreas Marschall [MVP TAPI]: "Re: RasEnumDevices returns an ISDN modem even after the Device is remo"
- Previous message: Andreas Marschall [MVP TAPI]: "Re: No more event after waveInOpen until waveInClose"
- Next in thread: Jack: "Re: LINEERR_RESOURCEUNAVAIL using USB port"
- Reply: Jack: "Re: LINEERR_RESOURCEUNAVAIL using USB port"
- Reply: Bruce Eitman \(eMVP\): "Re: LINEERR_RESOURCEUNAVAIL using USB port"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 28 Sep 2004 10:18:51 -0400
OK. I'll be the first to admit that what I am trying to do is foolish and
desperate.
I have a working CE.NET 4.1 application, using TAPI. As long as I connect
my cell phone to a serial port, and point TAPI to COM1, all is fine.
Well, our customers are finding it increasingly difficult to obtain cables
with a serial port connector. Seems like all the new phones have USB
connectors, because the majority of the people need to hook up to a PC or
laptop. The manufacturers of these phones, also, do not necessarily know
that Windows CE exists, therefore getting a driver is impossible.
Now, to round out this story, we do not use Platform Builder to build the
image for our device, but use an image (a CE.NET 4.1 image) provided by our
board vendor. Checking the registry on the device (checking the registry in
this image) I find that the USB port is COM4, and that there are drivers
established for it (sa_usb_ser.dll and unimodem.dll). This is a StrongArm
device.
Well, fool that I am, I decided to oversimplify this problem, and just plug
the phone into the USB port, change the port to COM4, change the modem
initialization string, change the 'selectedDevice' to "Hayes Compatible on
COM4:" and go for it.
Of course it does not work. I get LINEERR_RESOURCEUNAVAIL when I attempt
::lineMakeCall. (Now, I don't mean to beat a dead horse here, but this code
works when I use a phone with a serial port cable.)
As a final, desperate attempt to get this working, since COM4 is set up to
use unimodem.dll, I 'borrowed' the AT commands which the phone vendor
describes in the INF files for Win2K and Win98, and bashed the corresponding
registry entries for unimodem.dll. Of course, it did not help. Also, I
copied the Win2K driver to the device and used it's name as a response to
the device's question: "Unidentifed USB Deivce. Enter the name of the driver
for this USB device." (This was done to humor the phone provider. It also
did not work. Surprise! It would not install. Surprise!)
So, while I am waiting for the book "USB Complete" to arrive, I am more than
willing to try a few more things.
Anyone?
Thank you kindly. Susan
- Next message: Andreas Marschall [MVP TAPI]: "Re: RasEnumDevices returns an ISDN modem even after the Device is remo"
- Previous message: Andreas Marschall [MVP TAPI]: "Re: No more event after waveInOpen until waveInClose"
- Next in thread: Jack: "Re: LINEERR_RESOURCEUNAVAIL using USB port"
- Reply: Jack: "Re: LINEERR_RESOURCEUNAVAIL using USB port"
- Reply: Bruce Eitman \(eMVP\): "Re: LINEERR_RESOURCEUNAVAIL using USB port"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|