[Libusbx-devel] [PATCH 1/2] Add API for allocating / freeing usb3 bulk streams + Linux implementation

2013-10-08 Thread Hans de Goede
Signed-off-by: Hans de Goede --- libusb/core.c | 62 + libusb/libusb.h | 5 libusb/libusbi.h| 8 +++ libusb/os/linux_usbfs.c | 53 ++ libusb/os/linux_usbfs.h | 8 +++

[Libusbx-devel] [PATCH 0/2] Add API for bulk streams, final version

2013-10-08 Thread Hans de Goede
Hi All, After a lot of work on this, in the end mostly on the Linux kernel to iron out some xhci controller driver bugs wrt to streams (*), I'm happy to report that I now have streams working reliable. So I intend to push these 2 patches to master as soon as the relevant kernel bits land upstream.

[Libusbx-devel] [PATCH 2/2] Add API for using bulk streams

2013-10-08 Thread Hans de Goede
Being able to allocate bulk-streams is not really useful if the user cannot specify the stream ids when submitting transfers. The actual stream id gets added to our private itransfer struct, and a setter + getter are added to get to it. Unfortunately this is the only way to add support for stream

Re: [Libusbx-devel] [libusbx] Windows: hotplug/unplug support (#9)

2013-10-08 Thread Tim Roberts
On Oct 8, 2013, at 6:34 PM, Manuel Francisco Naranjo mailto:notificati...@github.com>> wrote: @mcuee is '\.\USB#VID_413C&PID_2513#6&2DA13301&0&2' a USB hub attached to a PCI hub? Or is it a composite device? I'm trying to figure out if I broke something here Google i

Re: [Libusbx-devel] [libusbx] Windows: hotplug/unplug support (#9)

2013-10-08 Thread litghost
The VS2012 projects still use UNICODE, so some structs are the wide-char versions. Update the VS projects to use mutlibyte-char? For example, DEV_BROADCAST_DEVICEINTERFACE is DEV_BROADCAST_DEVICEINTERFACEW when UNICODE is set, and DEV_BROADCAST_DEVICEINTERFACE_A when it is not. --- Reply to t

Re: [Libusbx-devel] [libusbx] Windows: hotplug/unplug support (#9)

2013-10-08 Thread Manuel Francisco Naranjo
Pete and the rest, I have updated my branch according to your comments, you can find it at [1]. I splitted the changes so that commits don't impact more than one file, except when it's totally necessary, also squashed commits so it's cleaner to understand what the changes are. I took out TCHAR

Re: [Libusbx-devel] [libusbx] Windows: hotplug/unplug support (#9)

2013-10-08 Thread Manuel Francisco Naranjo
@mcuee is '\\.\USB#VID_413C&PID_2513#6&2DA13301&0&2' a USB hub attached to a PCI hub? Or is it a composite device? I'm trying to figure out if I broke something here --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/9#issuecomment-25941104--

[Libusbx-devel] how to compile with gcc in linux

2013-10-08 Thread Vanwynsberghe Charles
Hello, I've installed the very last version of libusbx on ubuntu (12.04 here); and I have tried to "make" the examples in /examples and they work great! However, how should I do to "gcc" my own program using libusbx? Because when I do "gcc -c test.c -o test" with a code including libusb.h

Re: [Libusbx-devel] [libusbx] Add VUSB3HUB identifier to hub_driver_names[] (#152)

2013-10-08 Thread Pete Batard
Closed #152 via 7b62a0a171ac0141a3d12237ab496c49cccd79df. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/pull/152-- October Webinars: Code for Performance Free Intel webinars can