Re: pxa27x UDC invalid state warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Aug 2009, Vernon Sauder wrote:

> Robert,
> 
> In our testing, we found that the HW-bit solution for single-threading
> the setup requests is not sufficient to eliminate the "invalid state"
> warning message. It seems that the ACM bit is not honored for set
> configuration packets. We saw the host send an IN packet directly after
> the set conf before the gadget had time to perform the callback to the
> udc. We did not see any ill effect on the interaction by hitting this
> stage.

Even though you didn't see any ill effect, it can nevertheless cause 
problems.  If the host starts sending requests before the Set-Config 
has completed, it may end up trying to communicate with endpoints 
before they are enabled.  That won't be good.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux