From 6bc0be8b219d9484b9db685c2a515c1569d1982c Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 16 Jul 2019 13:07:56 +0200 Subject: sys/linux, executor: improve USB descriptions 1. Change HID descriptions to allow devices to have two interrupt endpoints. 2. Remove unneeded responses to OUT control requests from descriptions. 3. Add some debugging code to detect and report missing descriptions. --- sys/linux/vusb_arm.const | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/linux/vusb_arm.const') diff --git a/sys/linux/vusb_arm.const b/sys/linux/vusb_arm.const index c639b46d0..d3835583c 100644 --- a/sys/linux/vusb_arm.const +++ b/sys/linux/vusb_arm.const @@ -36,9 +36,6 @@ HID_MAIN_ITEM_TAG_FEATURE = 11 HID_MAIN_ITEM_TAG_INPUT = 8 HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 -HID_REQ_SET_IDLE = 10 -HID_REQ_SET_PROTOCOL = 11 -HID_REQ_SET_REPORT = 9 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -121,8 +118,9 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 -USB_ENDPOINT_HID_ADDRESS = 129 USB_ENDPOINT_HID_ATTRIBUTES = 3 +USB_ENDPOINT_HID_IN_ADDRESS = 129 +USB_ENDPOINT_HID_OUT_ADDRESS = 2 USB_ENDPOINT_INTR_NOTIFICATION = 16 USB_ENDPOINT_INTR_PERIODIC = 0 USB_ENDPOINT_SYNC_ADAPTIVE = 8 -- cgit mrf-deployment