RE: ADVANCED:USB composite device driver

hi,
from most documents I’ve ever read, usb interface can only be driven by WDM
driver, not VxD driver.
I wonder if it is correct to drive the USB interface(even it acts as a serial
port device) in VxD form. Is it impossible to use the existing WDM one?

Thank you doron. You did help me a lot. :slight_smile:

Doron Holan:

Usbser does enough, and only enough to get a modem to work. It does not
export a full serial interface. If you need that or the ability to send
vendor commands, you need to write your own driver, probably in VXD form.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Phoenix Chang
Sent: Tuesday, October 12, 2004 12:37 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev]
RE: [ntdev] ADVANCED:USB composite device driver&nbsp
;porting

Quoted from the Driver User Guide document:

The USB host driver runs on Windows 2000 and Windows XP platforms. It
simulates two types of legacy functions or devices over USB: modem and
serial
port. The driver accepts the following:
* Single-function device ¨C includes the USB modem and the simulated legacy
serial port device
* Composite device ¨C consists of a logical modem and a logical serial port
device

Although the driver is designed to work with the device compliant to USB
CDC
1.1 Abstract Control Model (ACM), it accepts standard USB CDC ACM
descriptors
as well as AAA vendor-specific descriptors. (here, AAA stands for the
company
name)

Do you think it can be ported to Windows 98 SE without major changes(e.g.,
have to change the driver model from WDM to VxD)?

If yes, modify the existing driver source code so that it could be compiled
under 98DDK successfully, or use Walter Oney’s WDMSTUB technique?
which method is possible and easier?

Good Day~~

Doron Holan:
>If the modem interface is CDC compliant, should be able to use usbser.sys.

usbser only supports a subset of the serial port interface. If that subset
meets the requirements for your diagnostic ports (and they also conform to
the
CDC spec), you might be able to use it for the diag ports as well.
>
>D
>
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Phoenix Chang
>Sent: Monday, October 11, 2004 9:36 AM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] ADVANCED:USB composite device driver porting
>
>Hoi,
>The driver runs on Windows 2000. It makes the installed USB device behave
as
a
>USB composite device(multiple-interface USB devices, for this driver, it
>created one USB Modem, and two USB Diagnostic Serial Ports). since the
driver
>is NTDDK-based, surelly it is developed in WDM.
>
>Now, I want to port this driver to Windows 98 SE. But I have several
questions
>on it.
>
>1.Do I have to create several drivers for each interface of the USB
device?
>That is, one driver for creating a USB Modem, and one (or two) driver(s)
for
>creating USB Diagnostic Serial Port(s)?
>
>2.Do I have to implement the driver for USB Diagnostic Serial Ports in
VxD?
>or I may only modify the existing WDM one?
>
>3.Since so many structures, macros and functions(call) in NTDDK are not
>supported by 98DDK, how can I make it work on Windows 98 SE? Walter Oney’s
>WDMSTUB or any other better ways?
>
>solution to these questions means a lot to me, hope you can lend me a
hand.
>
>
>Best Regards.
>
>
>
>
>
>–http://www.eyou.com
>–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
>
>–http://vip.eyou.com
>–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
>
>
>
>
>—
>Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>—
>Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>

http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡

http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡

http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû