The toggle is only reset on device reset or clear endpoint HALT. In your
example the interrupt packet should have a different toggle each time.

Nick


> The toggle bit is always set to zero on Interrupt (out and in) one-shot
> packets even if I don't send a setup packet in between.  For example,
> first packet goes out with toggle=0, some period of time later a second
> packet to same endpoint also has toggle=0.  The USB chip we are using
> (NetChip http://www.netchip.com) was silently rejecting this packet (but
> still sending ACK). I currently have to reset the toggle to zero after
> each packet.  As I understand the spec for bulk/interrupt requests the
> toggle should only be reset after a configuration request (last part of
> section 8.5.1).  Why is this happening?  Is this a feature of one shot
> interrupts (ie not rescheduled)?
> 
> This is happening on JE's driver and I can't tell with usb-uhci since
> never getting a urb status != -EINPROGRESS makes it more difficult for
> me to reliably find out when a transfer is complete and thus send
> multiple packets.
> 
> If I can be more clear on anything just mail me.
> 
> I haven't tested any of this on ohci as I don't have one.  (coming soon
> hopefully :))  This is all with 2.3.47, I know that's a little out of
> date but I've been scanning the patch's and unless I've missed something
> I haven't seen anything that fixes either of these.  I will be updating
> sometime today to 2.3.51
> 
> Keith
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
[EMAIL PROTECTED]
[EMAIL PROTECTED]                                          USB project
http://www.etla.net/~n_hibma/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to