WICG / webusb

Connecting hardware to the web.
https://wicg.github.io/webusb/
Other
1.3k stars 127 forks source link

unable to switch configuration on Windows #124

Closed mamhaidly closed 6 years ago

mamhaidly commented 6 years ago

I am unable to switch the USB device's configuration on Windows 10. I tried performing a reset before switching the configuration but still no success. I know a hard reset is not possible from a program on Windows 10 because of Win 32 driver limitations. Is this somehow related to the issue with WebUSB API? and any thoughts on how to perform a hard reset using WebUSB API?

reillyeon commented 6 years ago

The driver used to control devices on Windows, WinUSB, does not support performing a full device reset or selecting anything other than the first configuration.

mamhaidly commented 6 years ago

So there are no way to do a hard reset from WebUSB API on windows 10?

reillyeon commented 6 years ago

Not as currently implemented. The operating system simply doesn't allow an application like Chrome to do it.