Hi All,
I am working on function driver that supports modem features.I would like
to know if I can use the fake modem driver provided by in sample WDK on
top of usbser.sys.Is there any changes required?Do I have to look into the
commucation between the modem driver and usbser.sys.Please let me know what
functions can be used if there has to be communication between modem driver
and usbser.sys.
thanks,
Shruti
shruthi l wrote:
I would like to know if I can use the fake modem driver provided
by in sample WDK on top of usbser.sys.
No. You can’t place one function driver on top of another. What are you really trying to do?
Usbser is implemented solely to support modems, contrary to the popular use as a generic com port most folks try to use it as
d
dent from my phone
From: xxxxx@gmail.commailto:xxxxx
Sent: ?2/?24/?2014 8:23 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: RE:[ntdev] USB function driver
shruthi l wrote:
> I would like to know if I can use the fake modem driver provided
> by in sample WDK on top of usbser.sys.
No. You can’t place one function driver on top of another. What are you really trying to do?
—
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
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</mailto:xxxxx></mailto:xxxxx>
Hi,
I am writing modem driver which will communicate to teraterm /hyperterminal
application and also to the device through cdc-acm.
Can you tell me how to pass the data from the application to the device.I
have used Write function which will take data from the application.I would
like to know how to pass the data down the driver stack to the device.Do I
have to write Iotarget for this?
Regards,
Shruti
On Mon, Feb 24, 2014 at 10:21 PM, Doron Holan wrote:
> Usbser is implemented solely to support modems, contrary to the popular
> use as a generic com port most folks try to use it as
>
> d
>
> dent from my phone
> ------------------------------
> From: xxxxx@gmail.com
> Sent: 2/24/2014 8:23 AM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] USB function driver
>
> shruthi l wrote:
>
> > I would like to know if I can use the fake modem driver provided
> > by in sample WDK on top of usbser.sys.
>
> No. You can’t place one function driver on top of another. What are you
> really trying to do?
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> 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
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> 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
>
shruthi l wrote:
I am writing modem driver which will communicate to
teraterm /hyperterminal application and also to the device
through cdc-acm.
And why are you doing this?
Can you tell me how to pass the data from the application
to the device.
Depends what you mean by “data”. If by data you mean literally the characters that are being written to the port, well, set up a handler for write requests, and when you get one, create an URB containing the data, and send it to the bulk OUT endpoint of your ACM device. Assuming you are using KMDF, this could be achieved with an I/O queue and the WdfUsb() family of functions.
Note that there are several other serial port requests which you will have to convert into endpoint zero control URBs for your device to function properly.
Also note that you will have to get the read path working as well, which is about ten times as complicated.