Re: [PATCH] usb: add usb test mode support

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

 



On Thu, Nov 11, 2010 at 11:15:38PM +0800, David Brownell wrote:
> 
> 
> --- On Thu, 11/11/10, andy.luo <yifei.luo@xxxxxxxxx> wrote:
> 
> > 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,
> 
> It's just a control request like SetFeature.
> So:  yes, it has that support.  (Why would it
> create arbitrary and rude exceptions like not
> being able to make that specificrequest???
> 
> 
>  so maybe
> > debugfs
> > for ehci hcd test mode entry is also needed?
> 
> Nope, not needed, don't go there.  The clean
> solution of just using control requests also
> works on non-EHCI hardware, note ...

Right, after well considered about it, the libusb
should support it as well. So it's a much common 
and clean solution, thank your for your comments.

-Andy
--
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