Re: LINEERR_RESOURCEUNAVAIL using USB port

From: Susan (susan_at_pile_HATE_SPAM_DOT_com)
Date: 10/01/04


Date: Fri, 1 Oct 2004 07:42:39 -0400

Thank you all so much for your responses.

The bottom line is that I have to write a driver. Period. But I was under
direction to try whatever I could to get it working without having to write
a driver.

Jack...the COM1 statement with respect to TAPI was foolish. It's a long
story, but I realized that I was confusing myself and the issue.

Bruce...thank you. Again.

Michael... the upper interface does appear to be unimodem. I don't believe
I have Hyperterminal on the device. But our board vendor does provide
numerous programs to not only demonstrate capabilty, but also to help
'jump-start' your applications. I will have to try just one more thing here
this morning before I leap into the world of Platform Builder and device
drivers.

Gentlemen, have a wonderful weekend.

"Susan" <susan@pile_HATE_SPAM_DOT_com> wrote in message
news:%23wh1VYWpEHA.2340@TK2MSFTNGP11.phx.gbl...
> 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

  • 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.win32.programmer.tapi)
  • 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)
  • [PATCH] zs: Move to the serial subsystem
    ... This is a reimplementation of the zs driver for the serial subsystem. ... to use a console on a serial port, say Y. Otherwise, say N. ... * This is the Z85C30 driver's generic interrupt routine. ...
    (Linux-Kernel)
  • Re: Accessing peripherals from a managed application
    ... There's a driver for, ... I did find that System.IO.Port has the functionalities of a serial port ... Paul G. Tobey wrote: ... Call on the imported functions to access the hardware. ...
    (microsoft.public.windowsce.app.development)
  • Re: OutputDebugString on Release build?
    ... I now see plenty of debug on the serial port ... is being used and then disables the serial driver. ... It sounds like serial debug on Release builds should work. ...
    (microsoft.public.windowsce.platbuilder)