Re: [Libusbx-devel] Lastest git failed to build under Mac OS X

2013-02-23 Thread Xiaofan Chen
On Sun, Feb 24, 2013 at 1:32 PM, Xiaofan Chen wrote: > Actually it breaks Linux build as well. Tested under > Ubuntu 12.10 x86. The Mac OS X test is done in > Mac OS X 10.7.5. > This is the one which break it. _dup2 is for Windows and not for Linux and Mac OS X. https://github.com/libusbx/libusbx

Re: [Libusbx-devel] Lastest git failed to build under Mac OS X

2013-02-23 Thread Xiaofan Chen
Actually it breaks Linux build as well. Tested under Ubuntu 12.10 x86. The Mac OS X test is done in Mac OS X 10.7.5. mcuee@Ubuntu1210VM:~/Desktop/build/libusbx/libusbx$ ./autogen.sh libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_

[Libusbx-devel] Lastest git failed to build under Mac OS X

2013-02-23 Thread Xiaofan Chen
mymacmini:libusbx xiaofanc$ ./autogen.sh glibtoolize: putting auxiliary files in `.'. glibtoolize: copying file `./ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. glibtoolize: copying file `m4/libtool.m4' glibtoolize: copying file `m4/ltoptions.m4' glibtoolize: copying file `m4

Re: [Libusbx-devel] USB3 Error

2013-02-23 Thread Xiaofan Chen
On Sat, Feb 23, 2013 at 9:18 PM, Xiaofan Chen wrote: > I can not help further myself. Let's see if Hans and Sarah have more > suggestions. Ticket created here. https://github.com/libusbx/libusbx/issues/92 To OP: This may or may not be a libusbx issue. So you may want to try linux-usb list as wel

Re: [Libusbx-devel] USB3 Error

2013-02-23 Thread Xiaofan Chen
On Sat, Feb 23, 2013 at 9:06 PM, Sipter Bálint wrote: > > 2013/2/22 Xiaofan Chen >> >> On Fri, Feb 22, 2013 at 5:31 PM, Sipter Bálint 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 camera

Re: [Libusbx-devel] USB3 Error

2013-02-23 Thread Sipter Bálint
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... An