Hi, On 06/13/2013 02:34 PM, Xiaofan Chen wrote: > Just tested latest libusbx git and I found that the result > format for device path is not that consistent across OS.
That is because in 2 cases you're running it inside a vm, and there you've virtual usb devices in a different topology. Regards, Hans > > I think it is better to unify the format if possible. > > mymacmini:libusbx xiaofanc$ ./examples/listdevs > 0ac8:3420 (bus 253, device 4) path: 1.3 > 0424:2513 (bus 253, device 2) path: 1 > 05ac:8006 (bus 253, device 1) > 0483:3748 (bus 250, device 8) path: 1.3.3 > 0403:6001 (bus 250, device 7) path: 1.3.2 > 046d:c52b (bus 250, device 9) path: 1.3.4 > 05e3:0606 (bus 250, device 5) path: 1.3 > 04f2:0760 (bus 250, device 4) path: 1.2 > 0424:2513 (bus 250, device 2) path: 1 > 05ac:8006 (bus 250, device 1) > > Mcuee@Win8X64VM /c/work/libusbx/libusbx > $ ./examples/listdevs.exe > 80ee:0021 (bus 1, device 2) path: 1 > 106b:003f (bus 1, device 1) > 8086:265c (bus 2, device 1) > 0483:3748 (bus 1, device 4) path: 3 > 0403:6001 (bus 1, device 3) path: 2 > > mcuee@ubuntu1304vm:~/Desktop/build/libusbx$ ./examples/listdevs > 1d6b:0002 (bus 1, device 1) > 0483:3748 (bus 2, device 4) path: 3 > 0403:6001 (bus 2, device 3) path: 2 > 80ee:0021 (bus 2, device 2) path: 1 > 1d6b:0001 (bus 2, device 1) > > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel