Prev Previous Post   Next Post Next

Usbser.sys CDC Virtual COM Port

Posted: 04-11-2006, 10:54 AM
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
Reply With Quote

Responses to "Usbser.sys CDC Virtual COM Port"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create virtual port serie and map bluetooth device to this port Jérôme MATHIEU Windows XP Device Drivers 0 10-11-2004 11:13 AM
virtual serial/com port charliex Windows XP Device Drivers 0 04-18-2004 03:49 AM
Virtual Plug and Play USB Port Rick Windows XP Device Drivers 0 03-07-2004 03:11 PM
PDA virtual serial port driver pepi Windows XP Device Drivers 0 02-19-2004 11:10 AM
Virtual printer port not available in RDC Checkbox Windows XP Help & Support 0 10-17-2003 05:41 AM