Skip to content

Commit

Permalink
Std driver for windows 10 8 (#123)
Browse files Browse the repository at this point in the history
* Change USB1 Device Descriptor
Device USB Subclass changed from 0 to 2 to have Windows 10 and 8 automatically use the standard usbser.sys USB driver

* Change USB2 device descriptor
Device USB Subclass changed from 0 to 2 to have Windows 10 and 8 automatically use the standard usbser.sys USB driver

https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids
  • Loading branch information
Guigz2000 committed Aug 26, 2020
1 parent 858fa59 commit 44d5d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/usb1cfg.c
Expand Up @@ -36,7 +36,7 @@ static const uint8_t vcom_device_descriptor_data[18] = {
USB_DESC_DEVICE(
0x0110, /* bcdUSB (1.1). */
0x02, /* bDeviceClass (CDC). */
0x00, /* bDeviceSubClass. */
0x02, /* bDeviceSubClass. */
0x00, /* bDeviceProtocol. */
0x40, /* bMaxPacketSize. */
VENDOR_ID, /* idVendor. */
Expand Down
2 changes: 1 addition & 1 deletion src/common/usb2cfg.c
Expand Up @@ -36,7 +36,7 @@ static const uint8_t vcom_device_descriptor_data[18] = {
USB_DESC_DEVICE(
0x0110, /* bcdUSB (1.1). */
0x02, /* bDeviceClass (CDC). */
0x00, /* bDeviceSubClass. */
0x02, /* bDeviceSubClass. */
0x00, /* bDeviceProtocol. */
0x40, /* bMaxPacketSize. */
VENDOR_ID, /* idVendor. */
Expand Down

0 comments on commit 44d5d09

Please sign in to comment.