On Wed, May 23, 2012 at 4:43 AM, Pete Batard wrote:
> On 2012.05.23 03:17, Yves Arrouye wrote:
> > I double-checked the actual OS X API (the 32 bits comes from one of
> > their samples). It seems like the underlying object is actually an
> > OSNumber, which is a wrapper for a kernel number of 8,
On 2012.05.23 12:43, Pete Batard wrote:
> I think I had a reference on how the hash from the Windows device
> interface path is actually generated. I'll see if I can dig that up, as
> someone actually went the trouble of reverse engineering it and it's
> quite insightful...
Actually, now that I ha
On 2012.05.23 03:17, Yves Arrouye wrote:
> I double-checked the actual OS X API (the 32 bits comes from one of
> their samples). It seems like the underlying object is actually an
> OSNumber, which is a wrapper for a kernel number of 8, 16, 32 or 64
OK, then at the very least we'll need something
Thanks for your long response, Peter.
> > It would be great if libusbx offered a uint32_t
> > get_usb_location_id(libusb_device *dev) [...]
>
> Well, unless we use the hash, which is something we could factorize as a
> common unique device ID across all backends (and which we may very well
> have
The identification is a topological identification. So more than an
OS-specific value, I would call it a setup-specific value (as in: if I add
a hub between my computer and my device, the location ID will change, just
like the device path would).
The value I see in using the platform's location ID
Hi Yves,
On 2012.05.22 19:06, Yves Arrouye wrote:
> I stumbled upon libusbx when researching whether libusb would support
> exposing the concept of a USB Location ID (which I am not sure is part
> of a standard, but seems to be widely understood as available on
> Darwin/OS X and Windows, and may b
Hi Yves,
Yves Arrouye wrote:
> It seems to me that location ID is worth being part of the topology
> information, and offers a reliable way to identify a device on both
> the libusbx side of things and the native OS side too.
What about the portability of the information? I mean: with
platform-sp
Hi,
I stumbled upon libusbx when researching whether libusb would support
exposing the concept of a USB Location ID (which I am not sure is part of a
standard, but seems to be widely understood as available on Darwin/OS X and
Windows, and may be available or constructed on Linux). It seems that th