On Mon, May 14, 2012 at 7:50 PM, Pete Batard <p...@akeo.ie> wrote: > v2, that takes into account what was discussed previously (but still > provides get_parent).
Seems to work fine under Windows. The difference between the first run and the 2nd run is that I add an old full-speed USB Hub in between the device and the host PC USB port. mcuee@dellxp /c/work/libusbx/libusbx/examples $ ./xusb.exe -d 04d8:fa2e Using libusbx v1.0.11.10505 Opening device... bus: 4, port path from HCD: 2 speed: 12 Mbit/s (USB 1.0 FullSpeed) Reading device descriptor: length: 18 device class: 0 S/N: 3 VID:PID: 04D8:FA2E bcdDevice: 0001 iMan:iProd:iSer: 1:2:3 nb confs: 1 Reading configuration descriptors: nb interfaces: 1 interface[0]: id = 0 interface[0].altsetting[0]: num endpoints = 2 Class.SubClass.Protocol: 00.00.00 endpoint[0].address: 01 max packet size: 0020 polling interval: 00 endpoint[1].address: 81 max packet size: 0020 polling interval: 00 interface[0].altsetting[1]: num endpoints = 2 Class.SubClass.Protocol: 00.00.00 endpoint[0].address: 01 max packet size: 0040 polling interval: 00 endpoint[1].address: 81 max packet size: 0040 polling interval: 00 Claiming interface 0... Reading string descriptors: String (0x01): "Travis Robinson" String (0x02): "Benchmark Device" String (0x03): "LUSBW1" Releasing interface 0... Closing device... mcuee@dellxp /c/work/libusbx/libusbx/examples $ ./xusb.exe -d 04d8:fa2e Using libusbx v1.0.11.10505 Opening device... bus: 4, port path from HCD: 2->4 speed: 12 Mbit/s (USB 1.0 FullSpeed) Reading device descriptor: length: 18 device class: 0 S/N: 3 VID:PID: 04D8:FA2E bcdDevice: 0001 iMan:iProd:iSer: 1:2:3 nb confs: 1 Reading configuration descriptors: nb interfaces: 1 interface[0]: id = 0 interface[0].altsetting[0]: num endpoints = 2 Class.SubClass.Protocol: 00.00.00 endpoint[0].address: 01 max packet size: 0020 polling interval: 00 endpoint[1].address: 81 max packet size: 0020 polling interval: 00 interface[0].altsetting[1]: num endpoints = 2 Class.SubClass.Protocol: 00.00.00 endpoint[0].address: 01 max packet size: 0040 polling interval: 00 endpoint[1].address: 81 max packet size: 0040 polling interval: 00 Claiming interface 0... Reading string descriptors: String (0x01): "Travis Robinson" String (0x02): "Benchmark Device" String (0x03): "LUSBW1" Releasing interface 0... Closing device... -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel