LINEERR_RESOURCEUNAVAIL using USB port

From: Susan (susan_at_pile_HATE_SPAM_DOT_com)
Date: 09/28/04


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



Relevant Pages

  • Re: Different problems with XPE
    ... Why you think it won't run with an absolute path is something I don't ... Problem #2 You mention using UPDD touch screen driver, ... You will need to add a COM port or USB ... port or anything connected to the serial port can hang the system. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Foot pedal issue HELP!!
    ... the serial port rather than the USB port which may be my issue. ... Sony all-in-one desktop with only USB ports and I use a LAN docking ... When I try to install the driver on my desktop, ...
    (sci.med.transcription)
  • Re: Foot pedal issue HELP!!
    ... Sony all-in-one desktop with only USB ports and I use a LAN docking station ... to add my printer (serial port not USB) and also to utilize it as a USB ... When I try to install the driver on my desktop, ...
    (sci.med.transcription)
  • LINEERR_RESOURCEUNAVAIL using USB port
    ... my cell phone to a serial port, and point TAPI to COM1, all is fine. ... Seems like all the new phones have USB ... therefore getting a driver is impossible. ... this image) I find that the USB port is COM4, ...
    (microsoft.public.windowsce.app.development)
  • Re: LINEERR_RESOURCEUNAVAIL using USB port
    ... The bottom line is that I have to write a driver. ... > my cell phone to a serial port, and point TAPI to COM1, all is fine. ... > this image) I find that the USB port is COM4, ...
    (microsoft.public.win32.programmer.tapi)