USB CDC/ACM Virtual com port driver

my requirement is to develope a USB CDC/ACM Virtual com port driver.

this driver will act as a translator i,e it receives the serial port requests from
above and sends down the URB’s below,the drivers below are all USB drivers.

now to be specific i want to connect my mobile phone throgh the USB cable to the host
and communicate from host to my mobile using virtual com port.(communication is throgh ATD commands)

but i am not sure what will be the role of usbser.sys(provided by microsoft)
and the driver which i will have to write will communicate with each other and the device.

Please if anybody can explain?

umer haris wrote:

but i am not sure what will be the role of usbser.sys(provided by
microsoft) and the driver which i will have to write will communicate
with each other and the device.

If your device implements CDC ACM, you don’t need to write a driver at all. Just write an INF that references usbser.sys and your device’s VID and PID and that’s all you’ll need.

can anybody please tell me whats the difference between serial over usb and CDC/ACM virtual com port driver?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Friday, November 02, 2012 6:53 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] USB CDC/ACM Virtual com port driver

umer haris wrote:

but i am not sure what will be the role of usbser.sys(provided by
microsoft) and the driver which i will have to write will communicate
with each other and the device.

If your device implements CDC ACM, you don’t need to write a driver at all. Just write an INF that references usbser.sys and your device’s VID and PID and that’s all you’ll need.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited (“Sasken”) unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html

Umer Haris Shaikh wrote:

can anybody please tell me whats the difference between serial over usb and CDC/ACM virtual com port driver?

Terminology. “Serial over USB” is a generic term that doesn’t really
mean anything. You can’t go find a spec for “serial over USB”.

“USB CDC ACM” is the name of the specification that describes how do to
serial port and modem emulation in a USB device – Communication Device
Class, Abstract Control Model.

I recall reading on this list that the standard Microsoft usbser.sys
driver is not sufficient for building USB serial port devices, but I
have no direct experience with that. FTDI supplies their own drivers
for their USB RS-232 devices, and there is a commercial product that
will do it (http://www.thesycon.de/eng/usb_cdcacm.shtml).


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.