On Sat, Feb 23, 2013 at 9:06 PM, Sipter Bálint <sp...@sch.bme.hu> wrote:
>
> 2013/2/22 Xiaofan Chen <xiaof...@gmail.com>
>>
>> On Fri, Feb 22, 2013 at 5:31 PM, Sipter Bálint <sp...@sch.bme.hu> wrote:
>> > Hi,
>> > we would like to use gphoto2 with multiple cameras at the same time. The
>> > gphoto2 uses libusb(x) when it is communicating with the cameras.
>> > Last time tried to use our bash script with a notebook that only had
>> > usb3 ports(the cameras are usb2).
>> > Unfortunately we ran into some trouble. When we first run gphoto2
>> > everyting is fine, but after that we cant use it. Replugging the usb
>> > usually helps,
>> > but sometimes we need to restart.
>> > We tried debugging for hours, then we came to the conclusion if we
>> > disable the usb3 ports in the bios(so they work as usb2) everything is
>> > working again.
>> > Tired updating the components to the latest releases(gphoto2: 2.5.1.1,
>> > libghoto: 2.5.1, libusbx git-master,libusb-compat-0.1 git-master, linux
>> > kernel: 3.8-rc7).
>> > We tried compiling things in debug mode: Libusbx, libusb-compat and
>> > linux kernel(USB_DEBUG and XHCI_DEBUG).
>> >
>> > Here are the log files:
>> > Correct run: http://pastebin.com/Nh487CXn
>> > Second run(error): http://pastebin.com/RrcS3f70
>> > Kernel log from the whole time: http://pastebin.com/gL002CrS
>> >
>> >
>> > Do you have any suggestions? What should I try?
>> >
>> > If you have any suggestions please fell free to tell them and I will
>> > test
>> > it. I'm open to anything.
>> >
>>
>> I am not so sure if this has anything to do with the following
>> ticket.
>> Ref: http://www.libusb.org/ticket/133
>>
>> Another reference:
>> http://comments.gmane.org/gmane.comp.lib.libusbx.devel/469
>> But supposedly that the patch and kernel patch are already in
>> your kernel version and libusbx.git.
>
> We tried but it didnt help.
>
> https://github.com/libusbx/libusbx/blob/master/libusb/os/linux_usbfs.c#L1707
> Here the dpriv->caps is 13 and because of the USBFS_CAP_BULK_SCATTER_GATHER
> 0x08 the (dpriv->caps & USBFS_CAP_BULK_SCATTER_GATHER) will be true. So the
> MAX_BULK_BUFFER_LENGTH is not used...
>
> And here is an lspci -vvv(I forgot that in the first email):
> http://pastebin.com/1vjJ6411

I can not help further myself. Let's see if Hans and Sarah have more
suggestions.




-- 
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_feb
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to