UDC may enter test mode if get SetFeature request, and such request can be made by libusb. But for hcd, I'm not sure if libusb has support to send SetPortFeature, so maybe debugfs for ehci hcd test mode entry is also needed? Thanks, Andy On Thu, Nov 11, 2010 at 03:07:13AM +0800, David Brownell wrote: > > > --- On Wed, 11/10/10, Greg KH <greg@xxxxxxxxx> wrote: > > > Ah, if it can be done with libusb, it should be, so this > > patch should > > not be needed for any implementations, right? > > There should be two things involved in Software: > > - (1) UDC-specific logic to kick in the hardware > test mode mechanisms, based on control requests > made using libusb > > Some generic user mode driver that makes such > requests, using libusb, to any UDC (or HCD) that > has test mode support. > > The driver would work best in conjunction with a > hardware test harness that probably includes an > oscilloscope and similar tools to examine the > signals generated, verifying integrity etc. > > - Dave > > > - Dave > > -- > 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 -- 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