Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Xiaofan Chen
On Thu, Aug 22, 2013 at 10:51 AM, Xiaofan Chen wrote: > On Thu, Aug 22, 2013 at 10:37 AM, Juan Lang wrote: >>> Have your reported the bug to the vendor and have you try to >>> upgrade your driver to the latest version? >> >> >> No, and yes. I've seen this across a variety of hardware: >> >>> You

Re: [Libusbx-devel] [libusbx] Android: android backend support (#132)

2013-08-21 Thread mcuee
More discussions here: http://libusbx.1081486.n5.nabble.com/Libusbx-devel-libusbx-android-support-132-td1779.html --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/132#issuecomment-23068473 -

Re: [Libusbx-devel] [libusbx] Windows: winusb backend device not successfully enumerated on USB 3.0 ports under Windows 7 (#67)

2013-08-21 Thread mcuee
One potential alternative is to use WinUSB driver to get the information instead of the IOCTLs. Ref: http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Reading-device-descriptor-and-config-descriptor-from-WinUsb-td1806.html --- Reply to this email directly or view it on GitHub: https://github.c

[Libusbx-devel] [libusbx] Windows: libusbx can only access the first interface of an interface collection of USB IAD device (#135)

2013-08-21 Thread mcuee
Ref: http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Accessing-composite-devices-using-interface-association-td1726.html --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/135

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Xiaofan Chen
On Thu, Aug 22, 2013 at 10:37 AM, Juan Lang wrote: >> Have your reported the bug to the vendor and have you try to >> upgrade your driver to the latest version? > > > No, and yes. I've seen this across a variety of hardware: > >> You mentioned that you have problem with a TI controller and >> an I

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Juan Lang
Thanks Xiaofan, 2013/8/21 Xiaofan Chen > On Thu, Aug 22, 2013 at 6:54 AM, Juan Lang wrote: > > Hi folks, > > this is a followup to my earlier query about USB 3 ports failing on > Windows > > 7. I've confirmed that the failures I see are due to bugs in the USB 3 > port > > drivers, which don't s

Re: [Libusbx-devel] [libusbx] android support (#132)

2013-08-21 Thread Xiaofan Chen
On Tue, Aug 20, 2013 at 9:15 PM, Toby Gray wrote: > On 20/08/13 05:44, Anton Smirnov wrote: > While usb_device_set_open_close_func(..) is clearly suitable for the > librtlsdr-android project, I would feel that it isn't suitable as an API for > addition to libusb. I'm not a maintainer of libusb so

Re: [Libusbx-devel] Doing a libusbx 1.0.17-rc1 release

2013-08-21 Thread Xiaofan Chen
On Wed, Aug 21, 2013 at 10:48 PM, Hans de Goede wrote: >> then I'll give people >> until Thursday evening to test things from git-master and I'll >> release 1.0.17-rc1 on Friday. > > Given the nature of the patches (ie the netbsd openbsd split), I think it > will be better to delay the rc1 release

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Xiaofan Chen
On Thu, Aug 22, 2013 at 6:54 AM, Juan Lang wrote: > Hi folks, > this is a followup to my earlier query about USB 3 ports failing on Windows > 7. I've confirmed that the failures I see are due to bugs in the USB 3 port > drivers, which don't support the > IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_E

[Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Juan Lang
Hi folks, this is a followup to my earlier query about USB 3 ports failing on Windows 7. I've confirmed that the failures I see are due to bugs in the USB 3 port drivers, which don't support the IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX or IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION ioctls. I

[Libusbx-devel] RFC: Make usbi_get_device_by_session_id return a ref to the found device ?

2013-08-21 Thread Hans de Goede
Hi All, While looking at various locking things in libusb I noticed that usbi_get_device_by_session_id iterates over usb_devs while holding the usb_devs_lock and then if it finds a device returns that device, without taking a reference. This means that potentially the device could get free-ed befo

Re: [Libusbx-devel] Android build files and improved logging patches, (was "Improved log in non-console applications and Android")

2013-08-21 Thread Hans de Goede
Hi, On 08/19/2013 02:23 PM, Toby Gray wrote: > On 12/08/13 13:20, Xiaofan Chen wrote: >> On Mon, Aug 12, 2013 at 8:08 PM, Toby Gray wrote: >>> I assume it'd be helpful for others to have this information recorded >>> somewhere. Would a wiki page or an update to the README be >>> more appropriate?

Re: [Libusbx-devel] [libusb] Possible alignment issues with struct libusb_transfer buffer pointer

2013-08-21 Thread Hans de Goede
Hi, On 07/01/2013 07:07 PM, Paul Fertser wrote: >> Since you're actually getting the warnings can you provide a patch to silence >> them ? > > Follows (against the current libusbx HEAD, but should be applicable to > libusb as well), TIA Thanks, I've just merged this patch and pushed it to mast

Re: [Libusbx-devel] Improving linux hotplug disconnect

2013-08-21 Thread Hans de Goede
Hi, On 06/27/2013 06:22 PM, Chris Dickens wrote: > Hi, > > > On Thu, Jun 27, 2013 at 3:31 AM, Hans de Goede > wrote: > > Hi, > > +/* device will still be marked as attached if hotplug monitor thread > +* hasn't processed remove event yet */ >

Re: [Libusbx-devel] Doing a libusbx 1.0.17-rc1 release

2013-08-21 Thread Hans de Goede
Hi all, On 08/19/2013 05:34 PM, Hans de Goede wrote: > Hi All, > > I was hoping someone else would take care of this while I was otherwise > occupied, but alas ... > > It also seems we've accumulated a little bit more then I was hoping for > when I suggested to do a quick bugfix release a while ba

Re: [Libusbx-devel] [PATCH] linux/netlink.h: present but cannot be compiled

2013-08-21 Thread Ludovic Rousseau
2013/8/21 Brilliantov Kirill Vladimirovich : > Hello! Hello, > I try cross-compile libusbx-1.0.16 for my ARM board. > Configuration: > ./configure --prefix=/tmp/libusb --host=arm-fsl-linux-gnueabi > --enable-udev=no --disable-log > CC=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/a

Re: [Libusbx-devel] [libusbx] Enable building on all Android architectures, including MIPS (working around an MIPS NDK linker bug). (#134)

2013-08-21 Thread tobygray
The Android build changes look good now, thanks for making those changes. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/pull/134#issuecomment-23015293 -- Introducing Performance

[Libusbx-devel] [PATCH] linux/netlink.h: present but cannot be compiled

2013-08-21 Thread Brilliantov Kirill Vladimirovich
Hello! I try cross-compile libusbx-1.0.16 for my ARM board. Configuration: ./configure --prefix=/tmp/libusb --host=arm-fsl-linux-gnueabi --enable-udev=no --disable-log CC=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gcc Unfortunnaly I

Re: [Libusbx-devel] [libusbx] Enable building on all Android architectures, including MIPS (working around an MIPS NDK linker bug). (#134)

2013-08-21 Thread Andrew Fernandes
Yeah, I think I did it, but the hard way... :-) The (pull request)[https://github.com/adfernandes/libusbx/commit/69ed540090895952752422ee44660dc3effe3f9b] seems to have been correctly squashed, though... --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/pu

Re: [Libusbx-devel] Doing a libusbx 1.0.17-rc1 release

2013-08-21 Thread Ludovic Rousseau
Hello, It is not directly related to the 1.0.17-rc1 release. I discovered that the API documentation was not up-to-date. The documentation for libusb_strerror() was mentioning libusb_setlocale() but the documentation for libusb_setlocale() was missing. I then just followed [1] and updated the onl