Re: functionfs on dwc3, xhci host: endpoint cannot be used in both directions ?

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

 



On Sun, Jan 15, 2017 at 10:06:52AM +0000, Vincent Pelletier wrote:
> Hello,
> 
> Using configfs and functionfs I configured a 3-endpoints gadget the
> following way:
> - OUT f_fs ep: 1 real ep: 1 | OUT (0x01)
> - IN  f_fs ep: 2 real ep: 1 | IN  (0x81)
> - IN  f_fs ep: 3 real ep: 2 | IN  (0x82)
> 
> When connected to host:
> - Real ep 0x01 works.
> - Real ep 0x81 is silent (all URBs timeout).
> - Real ep 0x82 works.

What are you doing on the host to talk to these endpoints?

> Plugging my usb analyser, I see no bus activity at all for the last
> one, though I do see transactions for the others. I also see this
> message on host:
>   Jan 15 09:52:30 localhost kernel: [232403.009744] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 24 ep 4 with no TDs queued?
> Would xhci_hcd (or the HCD itlsef ?) fail when a single endpoint works
> in both directions ?

An endpoint can not work in both directions, that's not how USB
endpoints work at all.  I think you are confusing the hardware with your
configuration :)

thanks,

greg k-h
--
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