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

2013-08-27 Thread Nathan Hjelm
Hmm, looks ok to me. One thing. Are you calling libusb_handle_events() anywhere? Hotplug callbacks are called from libusb_handle_events. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/138#issuecomment-23368768

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

2013-08-27 Thread Christoffer Lejdborg
You can find debug output here: http://d.pr/f/ol5b --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/138#issuecomment-23368037 -- Learn the latest--Visual Studio 2012, SharePo

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

2013-08-27 Thread Nathan Hjelm
I don’t see anything wrong in your code. Please do the following and send me the output: - Clone the git master from github.com/libusbx/libusbx - Run: ./autogen.sh make export LIBUSB_DEBUG=4 ./examples/hotplugtest kVendorId kProductId Replace kVendorId and kProductId with the vendor and product

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

2013-08-27 Thread Christoffer Lejdborg
We use libusbx 1.0.16 in a Cocoa application in order to sync one or more devices with a computer. Before upgrading from an earlier version of libusb we had a hotplug listener built with IOKit, and then checked with libusb for the new device. Now we would like to trash the IOKit + libusb soluti