Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

WebUSB device can't be found on windows platform #1872

Open
brianjjones opened this issue Apr 18, 2018 · 2 comments
Open

WebUSB device can't be found on windows platform #1872

brianjjones opened this issue Apr 18, 2018 · 2 comments
Labels

Comments

@brianjjones
Copy link
Contributor

Issue description
WebUSB device can't be found on windows platform

Current behavior
Board can't be found after connected windows PC.

Expected behavior
Device can be found.

Steps to reproduce

Build and flash images into board.
Start WebIDE and connect board.
win

@grgustaf
Copy link
Contributor

But works okay on Linux? Works okay with an older ZJS build?

@grgustaf grgustaf added the bug label Apr 27, 2018
@brianjjones
Copy link
Contributor Author

@grgustaf Yes its ZJS related, it got introduced with @zolkis new webusb PR. There is some needed Windows key descriptor in order for chrome to recognize it. If you look at src/ashell/term-webusb.c (before it got deleted by the webusb PR) it contains ms_os_20_descriptor_set, which does that work. I tried adding that to src/ashell/webusb_driver.c but it still didn't work, so its a little more complex than that I guess. Anyway, yes it works on any earlier build before the webusb change, and yes it still works on Linux.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants