diff options
Diffstat (limited to 'hw/usb_gadget_common.c')
-rw-r--r-- | hw/usb_gadget_common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/usb_gadget_common.c b/hw/usb_gadget_common.c index 0b79539..368077a 100644 --- a/hw/usb_gadget_common.c +++ b/hw/usb_gadget_common.c @@ -255,6 +255,14 @@ static int simple_id_to_gadget(struct usb_gadget_id *gadget_id, gadget->attrs.idProduct = 0x6863; break; + case USB_FUNCTION_MTP | USB_FUNCTION_ACM: + n_configs = 1; + functions[0][0] = USB_FUNCTION_MTP; + functions[0][1] = USB_FUNCTION_ACM; + functions[0][2] = 0; + gadget->attrs.idProduct = 0x6860; + break; + case USB_FUNCTION_ACM | USB_FUNCTION_SDB: n_configs = 1; functions[0][0] = USB_FUNCTION_ACM; |