Re: Usbser.sys CDC Virtual COM Port



there is no way to change this. COM1 and COM2 can also disappear by removal
(esp on a laptop b/c they are in a hw dock) or by disalbing them in device
manager.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Greg Inman" <NoSpamFakeEmail@xxxxxxxxxxx> wrote in message
news:92298c67d1ab4f58b6ec506666966818@xxxxxxxxxxxxxx
Hello!

I have an interesting question regarding the use of the usbser.sys built
in
windows driver... I have implemented a USB CDC driver in some hardware
that
I am developing hoping not to have to change Win32 applications that
currently talk to the device using an RS-232 COM Port.

I have generated a .inf file for windows XP and it installs the usbser.sys
driver correctly and it works! The Win32 apps can happily send and receive
data over USB from the device as if it was connected to an RS-232 COM
port.

My problem is that the device will not remain in the device manager when
disconnected. It is of course very reasonable that when you unplug a USB
device it is removed from the device manager, however, RS-232 ports are
always available! This causes problems in the Win32 apps that are using
the
port as they have to be re-started (or they at least have to re-connect to
the port) each time the device is reconnected to the PC. I wouldn't be
surprised if there is no solution to this but I was wondering if anyone
had
any ideas of how to get round it? Of course, I am hoping not to have to
change the implementation of the Win32 apps as that was the whole point of
implementing USB as a virtual COM port.

Any suggestions would be most welcome!

Cheers,
Greg


.



Relevant Pages

  • USB BADPAD Quirk broken again
    ... PCI: PCI BIOS revision 2.10 entry at 0xfb240, ... Uniform Multi-Platform E-IDE driver Revision: ... usb.c: new USB bus registered, ... Port indicators are not supported ...
    (Linux-Kernel)
  • Re: Linux 2.4.23-pre6
    ... My USB 'not working' problem still exists. ... Pin 2-19 already programmed ... Journalled Block Device driver loaded ... hub.c: individual port over-current protection ...
    (Linux-Kernel)
  • [2.4] USB is broken
    ... I compiled and booted 2.4.23-pre5 this morning, and my USB doesn't work. ... Pin 2-19 already programmed ... Journalled Block Device driver loaded ... hub.c: individual port over-current protection ...
    (Linux-Kernel)
  • Re: Oh for a back door ...
    ... info and Google took me to a USB utility / test app that replaced the ... Windows USB driver. ... You wouldn't think there was much to it, being a serial port. ...
    (uk.comp.sys.mac)
  • Re: Can a USB driver exposed functions like RS232 COM port?
    ... I mean a Serial Appliation S/W talk to USB port? ... you can create a USB class driver which makes your cable ... If you would have all that but a serial port on hand held device, ...
    (microsoft.public.windowsce.platbuilder)

Loading