On Tue, Mar 12, 2013 at 2:10 PM, Marcus Meissner <meiss...@suse.de> wrote:
> On Mon, Mar 11, 2013 at 03:30:19PM -0700, Sarah Sharp wrote:
>> 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.
>
> Simply calling them causes the issue. :/

What is your USB 3.0 host controller?

I just read the Cypress USBSuite Windows Driver and Utility 1.2.2 Release
Notes and it states the following.
"ASMedia xHCI controller behavior is unpredictable when it receives
STALL packet, due to this sometimes the CyControl.exe will not show
the FX3 devices in the list view despite it being enumerated on the USB bus."

-- 
Xiaofan

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to