Re: Implementing Multi-Interface USB Device Driver

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 06/15/04


Date: Tue, 15 Jun 2004 08:19:38 -0700

you will call this function after start device. you will call this funciton
when you need more bandwidth on the isoch endpoints. since those endpoints
refer to SCO connections, you would ask for more bandwidth sometime during
SCO connection negotiation.

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.
"NagarajuS" <snraj_2002@yahoo.com> wrote in message
news:D105E6BC-030D-4B05-ADA9-868C03E15CFA@microsoft.com...
> Dear Mr.Doron Holan,
>
> I would like to give you more information. We had already developed
bluetooth stack excetp USB. Now, only we need to develop USB driver.
>
> I heard USB driver is common, only we need to develop the driver with the
above Interface information. Is it correct?
>
> I have found some usb information in USB-IF site.,
>
> http://www.usb.org/developers/whitepapers/irp_mn.pdf
>
> http://www.usb.org/developers/whitepapers/wdm_pm11.pdf
>
> Here they have used SelectInterface function:
>
> NTSTATUS
> SelectInterface(
> PDEVICE_OBJECT DeviceObject,
> UCHAR ucInterfaceNumber,
> UCHAR ucAltSetting
> )
>
> And the Msg:
>
> When configuring a device, the default settings should be set. Once an
alternate setting is desired, first terminate all transactions on endpoints
that correspond to that changing interface alternate setting.
>
> But if we see the entire code., they havent called anywhere this function.
Just they declared and defined the function.
>
>
> Could you plz give tell me whether my understood is correct?
>
>
> -- 
> Thanks & Regards,
> NagarajuS
>
>
> "Doron Holan [MS]" wrote:
>
> > you use the select interface URB.  you would first select the
configuration
> > and then when you need more isoch bandwidth, you select the interface
that
> > you need to match.  in the bluetooth world, that would be during a SCO
> > connection.  Also, speaking from personal experience, implementing an
entire
> > bluetooth stack (HCI, L2CAP, SDP, RFCOMM just to start) takes many many
man
> > months and is not to be underestimated.
> >
> > 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.
> >
> >
> > "NagarajuS" <snraj_2002@yahoo.com> wrote in message
> > news:239BCE05-EFAD-4B16-82CD-A37326727535@microsoft.com...
> > > Thank you very much for your information.
> > >
> > >
> > > Some Issues:
> > >
> > > When we configure the device, the default settings will be set.
> > > How to switch Second Interface & Alternate Interface.
> > >
> > > I know we have to write function for selectInterface with the
parameters.
> > >
> > >
> > > The fun:
> > >
> > > SelectInterface(
> > > PDEVICE_OBJECT DeviceObject,
> > > UCHAR ucInterfaceNumber,
> > > UCHAR ucAltSetting
> > > )
> > >
> > > But i dont know where should this function perform.
> > >
> > > When pnpDispatch funtion call IRP_MN_START_DEVICE;
> > >
> > > It will select, Start Device--> SelectConfiguration-->Default
Interface
> > Setting.
> > >
> > > The above informatin i found in wdm/src/usb sample code.
> > >
> > > Could you plz give me some information.
> > >
> > >
> > >
> > >
> > > -- 
> > > Thanks & Regards,
> > > NagarajuS
> > >
> > >
> > > "Doron Holan [MS]" wrote:
> > >
> > > > the only time you will need an IAD for your bluetooth radio is if
you
> > decide
> > > > to put another interface on the device. If you feel you must add
another
> > > > interface, a solution with using IAD is to embed a hub into the
product
> > and
> > > > expose the bluetooth radio behind one hub port and the other
interface
> > > > behind another hub port.
> > > >
> > > > 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.
> > > >
> > > >
> > > > "Leo Havmøller" <leh@nospamrtx.dk> wrote in message
> > > > news:%23bN0XjhUEHA.2724@TK2MSFTNGP11.phx.gbl...
> > > > > > Class ID       : 0xE0
> > > > > > Sub Class ID : 0x01
> > > > > > Protocol ID   : 0x01
> > > > >
> > > > > Standard Bluetooth device. No need for IAD.
> > > > >
> > > > > Leo Havmøller.
> > > > >
> > > > >
> > > >
> > > >
> > > >
> >
> >
> >


Relevant Pages

  • Re: [PATCH] DRTL kernel 2.6.32-rc3 : SCHED_EDF, DI RT-Mutex, Deadline Based Interrupt Handl
    ... The main difference is the bandwidth reservation thing. ... Moreover, as Peter pointed out, coming out with an interface which is ... also SMP has to be there! ... separate scheduling class would be better suited for this. ...
    (Linux-Kernel)
  • aggregate bandwidth of 2 server each with 2 nics
    ... I'm trying to increase the bandwidth between 2 hosts in the same ... Both server are equipped with 2 GbE NICs and located ... of one interface with netio, netpipe or any other network benchmark. ...
    (comp.os.linux.networking)
  • Re: QoS and available Bandwidth
    ... doesn't know what bandwidth it has available either. ...  class class-voip ... QoS ONLY works outbound on an interface. ... Traffic shaping cannot be used on a dialer. ...
    (comp.dcom.sys.cisco)
  • Re: ATM QoS on 877
    ... I've setup the ATM0 interface and bridged it to the BVI1 interface. ... Hardware is MPC ATMSAR (with Alcatel ADSL Module) ... Insufficient bandwidth on interface or invalid PCR. ...
    (comp.dcom.sys.cisco)
  • Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)
    ... You were also copied on the patch when it was added to my tree. ... Which is the better way to document exactly how you are walking through ... But the code does not walk trough the endpoints anymore, ... The 'interface' that is used here does not provide a way to ...
    (Linux-Kernel)