Discussion:
[Libusbx-devel] [libusbx] Windows: Windows 8: Incorrect USB 3.0 speed detection (#155)
Stephen Ong
2013-10-30 09:27:34 UTC
Permalink
I have a USB 3.0 (bladeRF) device that is correctly recognized as SuperSpeed device in Windows 7 using Renesas stack.

That same device is incorrectly detected as HiSpeed device in Windows 8.1 using Microsoft stack.

The problem seems due to Windows 8.1 API. Please see: http://social.msdn.microsoft.com/Forums/en-US/7d99b451-3bfd-4e0f-959f-f9cb7b75e9a0/ioctlusbgetnodeconnectioninformationex-bus-speed-issue-under-windows-8


---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/155
mcuee
2013-12-10 10:22:10 UTC
Permalink
In that case, this can not be fixed. Maybe a document fix is good to have.

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/155#issuecomment-30213972
Stephen Ong
2013-12-10 10:30:59 UTC
Permalink
Can IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX_V2 be used for speed detection when the operating system is detected as Windows 8?

https://github.com/libusbx/libusbx/blob/master/libusb/os/windows_usb.c#L1137

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/155#issuecomment-30214526
Pete Batard
2013-12-10 23:40:19 UTC
Permalink
It probably can. __Someone__ just needs to provide a patch (which probably isn't going to be me for the foreseeable future).

In parallel to EX2, the Windows version detection code from [here](https://github.com/libusbx/libusbx/blob/master/libusb/os/windows_usb.c#L826) will also need to be updated with something more up to date, such as [this](https://github.com/pbatard/libwdi/blob/master/libwdi/libwdi.c#L222).

/Pete

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/155#issuecomment-30280335
Pete Batard
2014-05-18 19:20:14 UTC
Permalink
This has now been fixed in libusb in https://github.com/libusb/libusb/commit/d41802053c4f20691f38072879c9dd76806f0f91.

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/155#issuecomment-43448732
Pete Batard
2014-05-18 19:20:13 UTC
Permalink
Closed #155.

---
Reply to this email directly or view it on GitHub:
https://github.com/libusbx/libusbx/issues/155#event-122265251

Loading...