| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-04-24 | refactor hub driver and move port reset on connection change to usbh. | hathach | |
| hub: add hub_port_get_status_local(), ignore resp in hub_port_get_status(pot != 0) usbh properly deboucning with hub/rootport accordingly to usb specs, also add 10ms of reset recovery | |||
| 2025-04-24 | add tuh_address_set() API | hathach | |
| minor rename and move code around | |||
| 2025-04-23 | move usbh ctrl_xfer into usbh_data | hathach | |
| 2025-04-23 | rename and expose tuh_bus_info_get() to application | hathach | |
| 2025-04-23 | rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵ | hathach | |
| hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus) | |||
| 2025-04-22 | Compile fix. | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-04-22 | reduce ENUM_DEBOUNCING_DELAY_MS to 200ms | hathach | |
| replace dev0.enumerating by enumerating_daddr for better clean up on unplugging while enumerating move controller_id & enumerating_daddr into _usbh_data struct | |||
| 2025-04-22 | move removing dev0 to process_removing_device() | hathach | |
| 2025-04-22 | Also cleanup unaddressed device. | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-04-22 | Move decouncing delay before USB reset. | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-04-22 | host: fix enumerate racing | HiFiPhile | |
| - if a previous enumeration failed _ctrl_xfer status could stuck, it needs to be cleared before next attempt. - after _dev0.enumerating is reset in hcd_event_handler(), if an attach event arrived before _ctrl_xfer clean up in remove event, a racing condition will happen. Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-04-21 | improve usbh stability with failed setup send, prevent control stage locked out | hathach | |
| 2025-04-18 | Fix usbh racing later. | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-04-18 | Merge branch 'master' into dwc2-proper-attach-debouncing | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-04-18 | enum For string descriptor (langid, manufacturer product, serila): always ↵ | hathach | |
| get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow. | |||
| 2025-04-11 | dwc2/host: attach debouncing fixes | Maxime Vincent | |
| 2025-04-03 | fix(hcd) hcd_edpt_open() return true if endpoint is already opened. | hathach | |
| 2025-03-26 | hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement ↵ | hathach | |
| hcd_edpt_close() | |||
| 2025-03-25 | add tuh_edpt_close() API, it will abort any pending transfer | hathach | |
| implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header. | |||
| 2025-03-24 | host: add tuh_enum_descriptor_device_cb() and ↵ | hathach | |
| tuh_enum_descriptor_configuration_cb() callback host: support device with multiple configurations | |||
| 2025-03-21 | enable hil dual for metro m4 with max3421 | hathach | |
| 2025-03-06 | hack: force/overwrite endpoint mps to 64 for device that incorrectly report ↵ | hathach | |
| 512 bytes for bulk in fullspeed mode. | |||
| 2025-03-05 | Merge branch 'master' into fork/atoktoto/midihost | hathach | |
| # Conflicts: # src/host/usbh.c | |||
| 2025-03-03 | - add tuh_descriptor_get_string_langid() API | hathach | |
| - host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo | |||
| 2025-02-24 | add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb() | hathach | |
| change tuh_midi_rx/tx_cb() to have xferred_bytes rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count() use default empty callback instead of weak null to be compatible with keil compiler | |||
| 2025-02-21 | Merge branch 'master' into fork/atoktoto/midihost | hathach | |
| # Conflicts: # src/host/usbh.c | |||
| 2025-02-19 | more hub improve, handle more failed transfer with polling interrupt status ↵ | hathach | |
| endpoint | |||
| 2025-02-19 | complete separate hub epbuf from itf | hathach | |
| add hub_get_status(), hub_clear_feature() | |||
| 2025-02-19 | move status_change to epbuf | hathach | |
| improve hub_xfer_cb() rename internal complete function | |||
| 2025-02-17 | usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED. | hathach | |
| added tuh_connected() | |||
| 2025-02-17 | improve hub: retry if hub interrupt endpoint failed | hathach | |
| bump up pio-usb to latest | |||
| 2025-02-13 | update midi host to use endpoint stream API | hathach | |
| 2025-02-12 | - use CFG_TUH_MIDI as number of midi host instance | hathach | |
| - comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR | |||
| 2025-02-12 | fix host midi build | hathach | |
| 2025-02-12 | clean up | hathach | |
| 2025-02-12 | Merge branch 'master' into fork/atoktoto/midihost | hathach | |
| # Conflicts: # hw/bsp/rp2040/family.cmake # src/class/midi/midi.h # src/class/midi/midi_device.c # src/device/usbd_control.c # src/host/hcd.h # src/host/usbh.c # src/host/usbh.h | |||
| 2024-11-28 | Merge branch 'refs/heads/master' into fork/GuavTek/recover_zero_length_desc | hathach | |
| 2024-11-27 | Move desc_len sanity checks to start of loops | GuavTek | |
| 2024-11-27 | minor clean up | hathach | |
| 2024-11-27 | update device_info example to work with p4 dcache | hathach | |
| 2024-11-26 | msc host work ok with p4 dma | hathach | |
| 2024-11-26 | hcd dwc2 add dcache support, usbh correctly use cache line size with ↵ | hathach | |
| TUH_EPBUF_DEF | |||
| 2024-11-04 | usbh use the new tusb_time_delay_ms_api() | hathach | |
| fix duplicated device attach for some devices which cause "USBH Defer Attach until current enumeration complete" include dev0 for tuh_edpt_abort_xfer() | |||
| 2024-10-21 | add tusb_time_millis(), able to reset and enable dwc2 port and get SOF active | hathach | |
| 2024-10-18 | Recover host enumeration from zero length descriptors | GuavTek | |
| 2024-10-14 | change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵ | hathach | |
| consistent | |||
| 2024-10-11 | hcd_init() take init struct | hathach | |
| 2024-10-11 | change tusb_init(), tusb_rhport_init() to use init struct for expandability | hathach | |
| 2024-10-10 | add new tusb_int_handler(rhport, in_isr) as common irq handler | hathach | |
| update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible | |||
| 2024-08-26 | add sndfifo owner info to skip rewriting data for retrying NAKed | hathach | |
