Re: [Libusbx-devel] [libusbx] OSX: Hotplug callback is only called once on startup, not on mount/unmount (#138)

2013-08-28 Thread Christoffer Lejdborg
Closed #138. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/138 -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master cu

Re: [Libusbx-devel] [libusbx] OSX: Hotplug callback is only called once on startup, not on mount/unmount (#138)

2013-08-28 Thread Christoffer Lejdborg
Ok, thanks. You should add that to the wiki documentation on hotplug. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/138#issuecomment-23470250 -- Learn the latest--Visual S

Re: [Libusbx-devel] Testing for a valid libusb_device_handle

2013-08-28 Thread Jon Sturm
On Tue, Aug 27, 2013 at 11:10 PM, Cody Vaudrin wrote: > Hello all, I was wondering if there's a way to test a given > libusb_device_handle for validity? I have a situation where a device handle > could be corrupted, and when a corrupted (invalid) device handle is passed to > the libusb_reset_de

[Libusbx-devel] Testing for a valid libusb_device_handle

2013-08-28 Thread Cody Vaudrin
Hello all, I was wondering if there's a way to test a given libusb_device_handle for validity? I have a situation where a device handle could be corrupted, and when a corrupted (invalid) device handle is passed to the libusb_reset_device() function, libusbx crashes. I'm wondering if there's a w

Re: [Libusbx-devel] [libusbx] OSX: Hotplug callback is only called once on startup, not on mount/unmount (#138)

2013-08-28 Thread Nathan Hjelm
Ok, so this is not a bug. You need to call libusb_handle_events to get hotplug callbacks. As for the hotplugtest program shutting down. It exits after 2 events: while (done < 2) { libusb_handle_events (NULL); } Each callback in the example increments done. If you

[Libusbx-devel] Announcing libusbx-1.0.17-rc1

2013-08-28 Thread Hans de Goede
Hi All, I'm very happy to announce libusbx-1.0.17-rc1. 2013-08-28: v1.0.17-rc1 * Hotplug callbacks now always get passed a libusb_context, even if it is the default context. Previously NULL would be passed for the default context, but since the first context created is the default context,

Re: [Libusbx-devel] [libusbx] OSX: Hotplug callback is only called once on startup, not on mount/unmount (#138)

2013-08-28 Thread Christoffer Lejdborg
No, I'm not. One interesting thing about the hotplugtest program is that it shuts down on the second event (unplug). I expect that it should keep running while I plug in and unplug the device? --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/138#is

Re: [Libusbx-devel] [libusbx] All OS: Update shared library version to indicated that new APIs were added (#122)

2013-08-28 Thread Hans de Goede
Closed #122. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/pull/122 -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master curr

Re: [Libusbx-devel] [libusbx] All OS: Update shared library version to indicated that new APIs were added (#122)

2013-08-28 Thread Hans de Goede
fingolfin, I think you misunderstand how ELF shared library versioning works under at least Linux, you can either bump the LIBTOOL version macros claiming to be backward compatible, at which point the filename would change from the current libusb-1.0.so.0.1.0 to ie libusb-1.0.so.0.2.0, but the s

Re: [Libusbx-devel] [libusbx] Linux - provide means of installing main soname lib to / (#127)

2013-08-28 Thread Hans de Goede
Closed #127. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/127 -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master cu

Re: [Libusbx-devel] [libusbx] Linux - provide means of installing main soname lib to / (#127)

2013-08-28 Thread Hans de Goede
IMHO we should not be making our configure script more complicated to handle corner cases like this. Fedora used to have libusb in /lib with the headers in /usr/include without needing special configure support for this. Packagers which want this can simply move some files around after make inst