usb: re-enable extra usb descriptors
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
851e54e70c
commit
dbc0f81715
@ -223,7 +223,7 @@ const usb_descriptor_list_t usb_descriptor_list[] = {
|
|||||||
{0x0300, 0, (const uint8_t *)&string0},
|
{0x0300, 0, (const uint8_t *)&string0},
|
||||||
{0x0301, 0, (const uint8_t *)&usb_string_manufacturer_name},
|
{0x0301, 0, (const uint8_t *)&usb_string_manufacturer_name},
|
||||||
{0x0302, 0, (const uint8_t *)&usb_string_product_name},
|
{0x0302, 0, (const uint8_t *)&usb_string_product_name},
|
||||||
// {0x03EE, 0, (const uint8_t *)&usb_string_microsoft},
|
{0x03EE, 0, (const uint8_t *)&usb_string_microsoft},
|
||||||
// {0x0F00, sizeof(full_bos), (const uint8_t *)&full_bos},
|
{0x0F00, sizeof(full_bos), (const uint8_t *)&full_bos},
|
||||||
{0, 0, NULL}
|
{0, 0, NULL}
|
||||||
};
|
};
|
||||||
|
@ -112,7 +112,7 @@ void usb_setup(struct usb_device *dev, const struct usb_setup_request *setup)
|
|||||||
// printf("%s:%d couldn't find descriptor %04x (%d / %d)\n", __FILE__, __LINE__, setup->wValue, setup->wIndex, setup->wValue);
|
// printf("%s:%d couldn't find descriptor %04x (%d / %d)\n", __FILE__, __LINE__, setup->wValue, setup->wIndex, setup->wValue);
|
||||||
usb_err(dev, 0);
|
usb_err(dev, 0);
|
||||||
return;
|
return;
|
||||||
#if 0
|
#if 1
|
||||||
case (MSFT_VENDOR_CODE << 8) | 0xC0: // Get Microsoft descriptor
|
case (MSFT_VENDOR_CODE << 8) | 0xC0: // Get Microsoft descriptor
|
||||||
case (MSFT_VENDOR_CODE << 8) | 0xC1:
|
case (MSFT_VENDOR_CODE << 8) | 0xC1:
|
||||||
if (setup->wIndex == 0x0004)
|
if (setup->wIndex == 0x0004)
|
||||||
|
Loading…
Reference in New Issue
Block a user