Hi,

My device has 1 USB configuration with 1 interface which has 3 alternate
settings as follow:
Alternate setting 0 :
EP 1 : Interrupt IN
EP 2 : Isochronous IN
Alternate setting 1 :
EP 1 : Interrupt IN
EP 2 : Isochronous OUT
EP 3 : Bulk OUT
EP 4 : Bulk IN
Alternate setting 2
EP 1 : Interrupt IN
EP 2 : Isochronous IN
EP 3 : Bulk OUT
EP 4 : Bulk IN

My driver correcly Select Interface/AtlernateSettings each time it
needs, but after each alternate setting change (between Alt 1 and Alt 2),
the first Interrupt (or Bulk IN) Pipe Read URB does not receive data from
USBD (whereas my Physical USB Spy detect correct frames). Then all goes well
(I receive Interrupt IN and/or Bulk IN data).
It also seems that the USB Bus driver does not forward (or detect) USB
data after selecting a new interface/alternateSetting couple.
Note 1 : My driver pools IN pipes (except Bulk IN) using IRP reuse
Note 2 : For the First SelectConfiguration/interface, the problem does
not occur !

Does seomeone encountered this kind of problem ?
Thansk by advance

Sebastien

Re: Problem while changing USB Configuration : First Data not received !!! by Randy

Randy
Thu Aug 12 16:27:45 CDT 2004

In all likelyhood this is probably a Data Toggle problem. The host
controller is probably expecting DATA0 and the device is sending DATA1 or
visa versa. Data toggles that don't match get thrown out.

--
This posting is provided "AS IS" with no warranties, and confers no rights.




"Sebastien Royer" <sroyer@neotion.com> wrote in message
news:uN7A90wbEHA.1000@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> My device has 1 USB configuration with 1 interface which has 3
> alternate
> settings as follow:
> Alternate setting 0 :
> EP 1 : Interrupt IN
> EP 2 : Isochronous IN
> Alternate setting 1 :
> EP 1 : Interrupt IN
> EP 2 : Isochronous OUT
> EP 3 : Bulk OUT
> EP 4 : Bulk IN
> Alternate setting 2
> EP 1 : Interrupt IN
> EP 2 : Isochronous IN
> EP 3 : Bulk OUT
> EP 4 : Bulk IN
>
> My driver correcly Select Interface/AtlernateSettings each time it
> needs, but after each alternate setting change (between Alt 1 and Alt 2),
> the first Interrupt (or Bulk IN) Pipe Read URB does not receive data from
> USBD (whereas my Physical USB Spy detect correct frames). Then all goes
> well
> (I receive Interrupt IN and/or Bulk IN data).
> It also seems that the USB Bus driver does not forward (or detect) USB
> data after selecting a new interface/alternateSetting couple.
> Note 1 : My driver pools IN pipes (except Bulk IN) using IRP reuse
> Note 2 : For the First SelectConfiguration/interface, the problem does
> not occur !
>
> Does seomeone encountered this kind of problem ?
> Thansk by advance
>
> Sebastien
>
>



Re: Problem while changing USB Configuration : First Data not received !!! by Sebastien

Sebastien
Tue Aug 17 03:33:10 CDT 2004

Thanks a lot Randy, it sounds good.

I will try your suggestion and give you the results.
thanks...

Sebastien

"Randy Aull [MSFT]" <randyau@online.microsoft.com> a écrit dans le message
de news:411be0cf$1@news.microsoft.com...
> In all likelyhood this is probably a Data Toggle problem. The host
> controller is probably expecting DATA0 and the device is sending DATA1 or
> visa versa. Data toggles that don't match get thrown out.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
>
>
> "Sebastien Royer" <sroyer@neotion.com> wrote in message
> news:uN7A90wbEHA.1000@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > My device has 1 USB configuration with 1 interface which has 3
> > alternate
> > settings as follow:
> > Alternate setting 0 :
> > EP 1 : Interrupt IN
> > EP 2 : Isochronous IN
> > Alternate setting 1 :
> > EP 1 : Interrupt IN
> > EP 2 : Isochronous OUT
> > EP 3 : Bulk OUT
> > EP 4 : Bulk IN
> > Alternate setting 2
> > EP 1 : Interrupt IN
> > EP 2 : Isochronous IN
> > EP 3 : Bulk OUT
> > EP 4 : Bulk IN
> >
> > My driver correcly Select Interface/AtlernateSettings each time it
> > needs, but after each alternate setting change (between Alt 1 and Alt
2),
> > the first Interrupt (or Bulk IN) Pipe Read URB does not receive data
from
> > USBD (whereas my Physical USB Spy detect correct frames). Then all goes
> > well
> > (I receive Interrupt IN and/or Bulk IN data).
> > It also seems that the USB Bus driver does not forward (or detect)
USB
> > data after selecting a new interface/alternateSetting couple.
> > Note 1 : My driver pools IN pipes (except Bulk IN) using IRP reuse
> > Note 2 : For the First SelectConfiguration/interface, the problem
does
> > not occur !
> >
> > Does seomeone encountered this kind of problem ?
> > Thansk by advance
> >
> > Sebastien
> >
> >
>
>