On Sat, Mar 09, 2013 at 09:16:53PM +0100, Marcus Meissner wrote:
> On Thu, Feb 28, 2013 at 09:32:05AM -0800, Sarah Sharp wrote:
> > On Thu, Feb 28, 2013 at 04:59:36PM +0100, Marcus Meissner wrote:
> > > Hi,
> > > 
> > > Something must happen after the first PTP session of libgphoto2 has
> > > finished.
> > > 
> > > On closing the connection we try to clear stalls by calling
> > > libusb_clear_halt on IN/OUT/INT eps.
> > 
> > Ah, ok, that's the problem then.  Some cameras may need the clear halt
> > request, and the xHCI won't send it because the endpoints aren't halted.
> > 
> > Fixing this is on my todo list, but not very high right now.
> 
> I am removing the clear halt calls for now, as I dont even remember for
> which camera they were ... the problem might even be fixed otherwise.
> 
> With my own USB 3 host controller that resolved the problem now for me.

Can you leave the calls to clear the halt in, but just ignore the return
value?  Or does simply calling the function cause other issues?  If so,
that would indicate a deeper issue with the xHCI driver or host.

Sarah Sharp

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to