Re: Linux USB file storage gadget with new UDC

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

 



On Mon, 24 Jun 2013, victor yeo wrote:

> Hi,
> 
> >> The problem is in UDC driver. i made the change, it is ok now.
> >
> > Good.  I noticed that the usb_ep_set_wedge routine still isn't working
> > right.  You might try to fix that.
> >
> > Alan Stern
> >
> 
> Ok, is the usb_ep_set_wedge routine not working? I can't see that in
> the log file.

It is not working.  This can be seen in the usbmon log.

> Now, in USB 2.0 CV test, there is an error about GET_STATUS request,
> as shown below.
> 
> g_file_storage gadget: ep0-setup, length 8:
> 00000000: 82 00 00 00 81 00 02 00
> g_file_storage gadget: unknown control req 82.00 v0000 i0081 l2
> handle_setup status -95
> 
> I think the GET_STATUS request is not handled by the gadget driver. Isn't it so?

That's right.  Get-Status, Set-Feature, and Clear-Feature requests must
be handled by the UDC driver.

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