Re: USB Composite Device, Serial + Mass Storage, could not install
- From: yingbohu <yingbohu@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 May 2006 12:32:03 -0700
Hi Yoann,
I really do that, I also use IAD for the composite device, Windows XP SP2
can begin to install the driver according to the inf file. but there is
question mark on my virtual serial port and my mass storage device can work.
sometimes my windows XP will crash directly (reboot) when it is installing
the driver (usbser.sys). could you share my your inf file if you can do that?
Yingbo
"yoann@xxxxxxxxxx" wrote:
You cannot have a multi-function device using 2 interfaces for one function.
(as it is the case with CDC) without using IAD.
The problem is that IAD is only supported by WindowsXP SP2.
However, you can group the 2 CDC interfaces in 1 interface (the CDC ACM one)
by modifying the interface descriptor to have all 3 endpoints in it.
The usbser.sys driver supports this (you must specify the correct interface
in your inf file). However, it does not support 2 single-interface CDC in a
multi-function device thus you can have 1 COM + Mass Starage but not 2 COM +
Mass storage.
Yoann
"yingbohu" wrote:
There are totally three interfaces for my composite device, two for serial
port and one for mass storage.
My composite device can work if it is a mouse and a mass storage, both has
only interface, but for serial port, this function need two interface, one
for CDC ACM, the other is CDC data. I am thinging that usbser.sys could not
group the first two interface together. I also try to use IAD but could not
resolve this problem, my Serial port device still has a question mark and the
error code is 10.
"Maxim S. Shatskih" wrote:
Are you adding 2 interfaces for the same device? or are you emulating 2
devices on the same chip with a hub above them?
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"yingbohu" <yingbohu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:51E41E21-405B-4FEF-ADA6-14E0150B8C20@xxxxxxxxxxxxxxxx
Vetzak,
I can really install a USB device as a virtual serial port on Win2K and
WinXP by using usbser.sys. A INF file is needed to do that. The problem is
that if I add more function such as Mass Storage then windows could not
install the virtual serial port successfully. Mass storage can still work so
I think the usbser.sys could not support composite virtual serial port.
Thanks for your information
"Vetzak" wrote:
I quickly gave up trying to use usbser.sys, because I couldn't install
it as a COM-port (Ports device class). I believe you can only deploy
usbser.sys for modem (Modem device class). So instead I wrote my own
USB-serial driver for Win2K and later. I runs great for different
device classes (Modem, Ports, Smart card). It's not hard to write such
a driver yourself.
- References:
- Re: USB Composite Device, Serial + Mass Storage, could not install ser
- From: Vetzak
- Re: USB Composite Device, Serial + Mass Storage, could not install
- From: Maxim S. Shatskih
- Re: USB Composite Device, Serial + Mass Storage, could not install ser
- Prev by Date: Error 1402 during install
- Next by Date: Re: Intercepting a key character from usb keyboard
- Previous by thread: Re: USB Composite Device, Serial + Mass Storage, could not install
- Next by thread: how to get the video stream format (filter driver)
- Index(es):
Relevant Pages
|