Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Windows auto-install WinUSB driver. #165

Merged
merged 2 commits into from May 11, 2016
Merged

Make Windows auto-install WinUSB driver. #165

merged 2 commits into from May 11, 2016

Conversation

johnnyman727
Copy link
Contributor

Apply the Windows Compatible ID descriptor to the CDC interfaces
as well as the vendor-class interface. It seems that Windows will
only automatically install the driver if all interface of the device
have the WCID descriptor set to WINUSB.

This will prevent the CDC serial console interface from working on
Windows.

Bumps the bcdDevice so Windows machines that have cached the descriptors
will re-load them.

Apply the Windows Compatible ID descriptor to the CDC interfaces
as well as the vendor-class interface. It seems that Windows will
only automatically install the driver if *all* interface of the device
have the WCID descriptor set to WINUSB.

This will prevent the CDC serial console interface from working on
Windows.

Bumps the bcdDevice so Windows machines that have cached the descriptors
will re-load them.
@rwaldron
Copy link
Contributor

How can I test this? I pulled the branch and rebuilt firmware, then used dfu-util to push it to the T2. Once it was updated, I plugged the T2 into a Windows 10 machine. The device appears in the machine's devices view in control panel, but does not appear when attempting t2 list

@tcr tcr force-pushed the winusb branch 3 times, most recently from 30c7a2b to b5d431f Compare April 27, 2016 00:49
@johnnyman727
Copy link
Contributor Author

@tcr it works for me on OSX 11!

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

Successfully merging this pull request may close these issues.

None yet

4 participants