Commit Graph

6 Commits

Author SHA1 Message Date
Eric Wild 421311ef2a add functions for usb port reset & config setting 2022-02-25 15:45:17 +01:00
Harald Welte 4c742e931a Allow opening of USB device by physical bus path
In case there are multiple devices with identical VID/PID, the
existing open_vid_pid mechanism is insufficient.
2020-02-29 20:37:14 +01:00
Harald Welte 49858b1a66 USB_Component: Add global guard timer
We shouldn't wait indefinitely for responses from the USB TestPort.
2020-02-29 20:36:58 +01:00
Harald Welte 51681d18b7 add f_usb_get_desc_tree() to provide hierarchical tree of descriptors
parsing a hierarchical structure makes it easier for users to iterate
over configurations, interfaces in one config, endpoints within one
interface, etc.
2019-11-27 20:36:44 +01:00
Harald Welte e80a330430 Add 'USB_Device_Match' (currently only match on VID/PID supported)
the point would be to later extend this with matching by other means,
such as the physical device path, serial number or the like.
2019-11-27 20:36:40 +01:00
Harald Welte af4236db1f Split USB_Component from USB_Emulation and add CCID_Emulation 2019-11-14 08:25:32 +01:00