Re: [RFC PATCH] Revert "usb: chipidea: udc: .pullup is valid only when vbus is there"

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

 



On Mon, 11 Aug 2014, Felipe Balbi wrote:

> > > I don't know what exactly problem you met, but current pullup dp during loading
> > > gadget driver behavior is not suitable for webcam and android use case even vbus
> > > is there.
> > 
> > Why not?  What's wrong with it?
> 
> g_uvc needs a userspace counterpart. If we connect to the host before
> userspace is ready, we might connect as a non-usable function.

Okay, but can't that be fixed in g_uvc?  Have it disable the pullup 
until the userspace component is ready, then enable the pullup.

I'm not sure how this could be made to work in a composite gadget,
though.  What if there were two uvc functions?  The pullup would have
to remain disabled until both userspace components were ready.

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