On Fri, 15 Jul 2011, Ming Lei wrote:

> Hi,
> 
> On Fri, Jul 15, 2011 at 10:27 PM, Alan Stern <st...@rowland.harvard.edu> 
> wrote:
> 
> > This is fine with me. �However, it is strange that the Set-Interface
> > request is necessary. �After being reset, the device should
> > automatically be in altsetting 0 for all interfaces.
> 
> For uvc devices, seems it is not strange, see uvc_video_init(), which
> is called in .probe path and executes Set-Interface 0 first, then starts
> to get/set video control.

I see what you mean.  Apparently other UVC devices also need to receive
a Set-Interface(0) request before they will work right.  (It's still 
strange, though...)

Anyway, since the driver does this during probe, it makes sense to do 
it during reset-resume as well.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to