Pete,

Sure there's no hurry here. Actually I wanted to start getting feedback 
as I'm noticing some bugs on the implementation, and I'm sure I 
introduced those as I'm not completely familiar with libusb internals.

Also I think the way usb devices on Windows get listed should be 
changed, and make it more like the lib does on Linux where it starts 
with the leaf nodes and starts going up, instead of trying to list the 
hole tree and then finding the newly introduced leaf.

That will surely take me more time, I'm a linux guy my self, but I need 
hotplug support on Windows for one of our company projects, and I don't 
like the idea of sticking to such and old version of the library.

In the mean time would be nice to start getting some feedback, specially 
by the people who are more familiar with the internals.

BTW I have a question what's the parent_dev of a hub supposed to be? 
Right now I'm getting two nodes with VID and PID set to 0x0000 whose 
win32 api path start with PCI which I assume are not the hubs, but the 
hubs parent devs, and I shouldn't be seen those, but I couldn't find a 
better way to solve this issue.

-Manuel

> Sounds good.
>
> As far as I'm concerned, it'll probably be another week or two before I
> am in a position to properly review your changes so I hope you're not in
> too much of a hurry. Also, we may apply this
> <http://libusbx.1081486.n5.nabble.com/Libusbx-devel-RFC-0-3-Make-usbi-get-device-by-session-id-return-a-ref-to-the-found-device-td1898.html#a1896>
> as well as this set
> <http://libusbx.1081486.n5.nabble.com/Libusbx-devel-RFC-Remove-fake-fds-from-Windows-backends-td1432.html>
> before we apply any of your changes, which may conflict with part of
> your proposal. As a result, we might ask you to rebase your branch after
> we've applied those, if that's OK.
>
> At any rate, thanks for working on a hotplug proposal that we should be
> in a position to integrate.
>
> /Pete
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/libusbx/libusbx/issues/9#issuecomment-24178549>.
>

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/9#issuecomment-24179411
------------------------------------------------------------------------------
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

Reply via email to