Hi,
Where can I find the source code for usbser.sys?
I'm trying to write a driver for a CDMA handset CDC compliant USB
device.It is to develop a virtual serial port driver. The read write
operation fails if I use usbbulk.sys (from DDK).What is the purpose of
usbser.sys? Can I use it here?
How do I proceed with writing drivers for Virtual serial port ?

Thanks in advance
Priya

Re: usbser.sys by Doron

Doron
Wed Jun 23 02:42:42 CDT 2004

MSFT does not publish the source for usbser.sys. usbser.sys only supports
the modem aspect of the CDC spec, it is not fully compliant with the entire
CDC spec. As such, it is not the virtual serial port you desire. bulkusb
probably fails on your device b/c it is a multiple interface device (only a
guess though). bulkusb only understands a single interface configuration.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Priya" <vdpriya@hotmail.com> wrote in message
news:d2c1b458.0406222245.2d513a94@posting.google.com...
> Hi,
> Where can I find the source code for usbser.sys?
> I'm trying to write a driver for a CDMA handset CDC compliant USB
> device.It is to develop a virtual serial port driver. The read write
> operation fails if I use usbbulk.sys (from DDK).What is the purpose of
> usbser.sys? Can I use it here?
> How do I proceed with writing drivers for Virtual serial port ?
>
> Thanks in advance
> Priya



Re: usbser.sys by Priya

Priya
Wed Jun 23 04:05:01 CDT 2004

Hi
Thankx for the reply
you are right this device supports multiple interfaces.
I tried modifying UsbBulk.sys to display multiple interface values. Is there anything else i need to change for it to support multiple interfaces.
Or what driver can I use for performing read write operation with this device?
Is there anything I need to do for CDC compliant devices specifically?



"Doron Holan [MS]" wrote:

> MSFT does not publish the source for usbser.sys. usbser.sys only supports
> the modem aspect of the CDC spec, it is not fully compliant with the entire
> CDC spec. As such, it is not the virtual serial port you desire. bulkusb
> probably fails on your device b/c it is a multiple interface device (only a
> guess though). bulkusb only understands a single interface configuration.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Priya" <vdpriya@hotmail.com> wrote in message
> news:d2c1b458.0406222245.2d513a94@posting.google.com...
> > Hi,
> > Where can I find the source code for usbser.sys?
> > I'm trying to write a driver for a CDMA handset CDC compliant USB
> > device.It is to develop a virtual serial port driver. The read write
> > operation fails if I use usbbulk.sys (from DDK).What is the purpose of
> > usbser.sys? Can I use it here?
> > How do I proceed with writing drivers for Virtual serial port ?
> >
> > Thanks in advance
> > Priya
>
>
>

Re: usbser.sys by Doron

Doron
Wed Jun 23 10:48:55 CDT 2004

look at URB_SELECT_INTERFACE (or close to that). once you ahve selected the
configuration, you need to select the interface you want (if the desired
interface is an alternate setting). parsing for the next interface is
pretty easy, the select config urb will have it in it.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Priya" <Priya@discussions.microsoft.com> wrote in message
news:9744F865-07BD-4568-AAE0-7DA752361468@microsoft.com...
> Hi
> Thankx for the reply
> you are right this device supports multiple interfaces.
> I tried modifying UsbBulk.sys to display multiple interface values. Is
there anything else i need to change for it to support multiple interfaces.
> Or what driver can I use for performing read write operation with this
device?
> Is there anything I need to do for CDC compliant devices specifically?
>
>
>
> "Doron Holan [MS]" wrote:
>
> > MSFT does not publish the source for usbser.sys. usbser.sys only
supports
> > the modem aspect of the CDC spec, it is not fully compliant with the
entire
> > CDC spec. As such, it is not the virtual serial port you desire.
bulkusb
> > probably fails on your device b/c it is a multiple interface device
(only a
> > guess though). bulkusb only understands a single interface
configuration.
> >
> > d
> >
> > --
> > Please do not send e-mail directly to this alias. this alias is for
> > newsgroup purposes only.
> > This posting is provided "AS IS" with no warranties, and confers no
rights.
> >
> >
> > "Priya" <vdpriya@hotmail.com> wrote in message
> > news:d2c1b458.0406222245.2d513a94@posting.google.com...
> > > Hi,
> > > Where can I find the source code for usbser.sys?
> > > I'm trying to write a driver for a CDMA handset CDC compliant USB
> > > device.It is to develop a virtual serial port driver. The read write
> > > operation fails if I use usbbulk.sys (from DDK).What is the purpose of
> > > usbser.sys? Can I use it here?
> > > How do I proceed with writing drivers for Virtual serial port ?
> > >
> > > Thanks in advance
> > > Priya
> >
> >
> >