Please use https://github.com/manuelnaranjo/libusbx/tree/windows-hotplug-2
instead, I changed the way devices are enumerated, and got an implementation
that seems to work fine.
There are a few things that still need to be tested, like I don't have any
USB3.0 device so I can't tell if it works, need to test hotplug of usb hubs
which I'm planning on doing today.
The basic enumeration now is first listing all usb hubs devices then looking at
each device parent, with the parent path if the device is not yet registered
then it will created the node, setting up hcds. Then it will enumarate usb
devices and go up on the tree until it reaches the first known parent.
Not sure yet if this implementation does the right thing with composite, hid
and driver less devices.
---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/9#issuecomment-24329378
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel