From 550cc500240e35e950cd5f7fcf559f033a56bce7 Mon Sep 17 00:00:00 2001 From: bvernoux Date: Wed, 26 Aug 2020 18:11:56 +0200 Subject: [PATCH] https://github.com/hydrabus/hydrafw/pull/123 merged * Std driver for windows 10 8 (#123) * 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 --- src/common/usb1cfg.c | 2 +- src/common/usb2cfg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/usb1cfg.c b/src/common/usb1cfg.c index 0e5c322..c57411d 100644 --- a/src/common/usb1cfg.c +++ b/src/common/usb1cfg.c @@ -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. */ diff --git a/src/common/usb2cfg.c b/src/common/usb2cfg.c index 4bcddc0..2a5edb8 100644 --- a/src/common/usb2cfg.c +++ b/src/common/usb2cfg.c @@ -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. */