From 8c88c9c1c99c8cd8dabc951164c820b9c9f25114 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 16 Oct 2019 18:28:04 +0200 Subject: sys/linux/vusb.txt: add some TODOs --- sys/linux/vusb.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/linux') diff --git a/sys/linux/vusb.txt b/sys/linux/vusb.txt index aa33a1bc1..8c39c2ec5 100644 --- a/sys/linux/vusb.txt +++ b/sys/linux/vusb.txt @@ -84,6 +84,8 @@ type usb_device_descriptor_t[CLASS, SUBCLASS, PROTOCOL, VENDOR, PRODUCT, DEVICE, usb_versions = 0x110, 0x200, 0x201, 0x250, 0x300, 0x310 # https://elixir.bootlin.com/linux/v5.1.7/source/drivers/usb/core/hub.c#L4661 +# TODO: dummy driver has complex requirements for packet sizes, account for those: +# https://elixir.bootlin.com/linux/v5.3.6/source/drivers/usb/gadget/udc/dummy_hcd.c#L497 usb_device_max_packet_sizes = 8, 16, 32, 64, 255 type usb_config_descriptor_t[NUM, IFSNUM, ATTRS, IFS] { @@ -259,6 +261,9 @@ type vusb_response_t[CLASS, REQ, DATA] { # USB descriptors requested by the kernel before the SET_CONFIGURATION request. +# TODO: figure out when is the USB_DT_OTG descriptor used. +# TODO: figure out when is the USB_DT_INTERFACE_ASSOCIATION descriptor used. + type usb_string_descriptor_t[DATA] { bLength len[parent, int8] bDescriptorType const[USB_DT_STRING, int8] -- cgit mrf-deployment