Hi, On Wed, Apr 02, 2014 at 10:37:58AM -0500, Felipe Balbi wrote: > Hi, > > I've been toying with the idea of implementing USB2 test mode support to > xhci-hub.c *but* the thing isn't straight forward in xHCI as it is in > dwc3 peripheral side. > > Here are the questions: > > 1) How to figure out if $this xhci is the USB2 root hub not USB3 ? > > 1) What to do if user sends e.g. SetPortFeature(TEST_J) to USB3 Root > hub ? Should we stall or just ignore ? > > 2) Is there any easy way to disable all port slots ? > > 3) Is there an abstraction for toggling run/stop bit ? (I guess so) > > 5) Should we expose that through debugfs to avoid having to cook up a > Control Request with e.g. libusb ? (this is only needed for debugging) any comments here ? -- balbi
Attachment:
signature.asc
Description: Digital signature