Commit Graph

159 Commits

Author SHA1 Message Date
zhouji
79f0a1989e [update] Improve the compatibility of USB flash drive enumeration。 2023-03-11 18:52:25 +08:00
sakimisu
cbba334678 fix typo 2023-03-08 22:31:19 +08:00
sakumisu
5e406f41c1 move ep0 active into hub event 2023-02-23 17:55:11 +08:00
sakumisu
75ddfc8e4d move hub and hport variable into common ram to reduce nocache ram usage 2023-02-18 15:19:52 +08:00
sakimisu
3fa3f3e356 do not check if device is closed 2023-02-07 22:54:51 +08:00
sakumisu
82e4baf908 support more audio altsetting 2023-02-05 14:38:52 +08:00
sakumisu
af88c8e90b config ep pipe after set_interface 2023-02-05 14:38:14 +08:00
sakimisu
68c9779898 add some log for rndis rx tx 2023-01-28 22:23:35 +08:00
sakimisu
d0890c2caf fix class get data due to 528d8dc9d6 2023-01-15 17:20:31 +08:00
sakumisu
1df1fefa39 fix no exthub build error 2023-01-10 15:01:50 +08:00
sakimisu
e1585f801c reset pipe and is_opened before set_interface cmd 2023-01-03 22:20:57 +08:00
Zhihong Chen
2e7c4953ce fix hpm/usb_dc_hpm.c warning.
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-01-02 12:53:42 +08:00
Zhihong Chen
1d84f735d3 update audio class and demo template
- fix descriptor error.
- move audio v2 default_sampling_freq_table from class driver to demo template.

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-01-02 12:53:42 +08:00
sakimisu
914d3cbf42 add audio host driver 2022-12-31 22:44:08 +08:00
sakimisu
db330b42e7 add class only match 2022-12-31 16:27:38 +08:00
sakimisu
f45e0f47fa rename class info name 2022-12-31 15:55:07 +08:00
sakimisu
27ff38f745 update video driver 2022-12-31 14:10:27 +08:00
sakimisu
62276b1e8b optimise hub debounce process 2022-12-31 14:09:23 +08:00
sakimisu
902f1da407 release sources when enable port fails 2022-12-30 20:57:54 +08:00
sakimisu
43a45fc2fc add usb tx rx thread for device 2022-12-11 21:43:29 +08:00
sakimisu
843af28b2b update hub thread wakeup with queue not sem&list 2022-12-11 20:27:18 +08:00
sakumisu
9b72a17a5b Preventing resources from not being released 2022-12-03 19:39:27 +08:00
sakumisu
ed323a6fa4 disable ext hub when CONFIG_USBHOST_MAX_EXTHUBS = 0 2022-12-03 19:31:39 +08:00
sakumisu
77f0afb94f remove roothub parent hport to reduce codesize 2022-12-03 19:29:18 +08:00
sakimisu
512de54d33 add host class run and stop callback 2022-11-26 23:52:58 +08:00
sakimisu
69e240355d update mtp device, just enum done 2022-11-26 23:52:39 +08:00
sakimisu
61e82e0eeb remove device mount and unmount callback 2022-11-21 21:59:37 +08:00
sakimisu
9ef2988f6a fix rndis pipe config and move cmd & resp into no cache ram 2022-11-19 21:51:38 +08:00
sakumisu
dca8b4cfed remove intf malloc 2022-10-20 21:22:08 +08:00
sakumisu
7bcd8d0532 remove duplicate macros 2022-10-14 21:08:04 +08:00
sakumisu
2890c03eec list all video altsettings 2022-10-07 14:56:20 +08:00
sakumisu
ead74525ea fix rndis mps 2022-10-07 12:16:18 +08:00
sakumisu
36de428845 update rndis device driver and template 2022-10-06 22:55:23 +08:00
sakumisu
4a0f182644 do not reset bufoffset when len=0 or len=buf[0] 2022-10-06 16:24:08 +08:00
sakumisu
3af227c879 update video template 2022-10-05 17:16:56 +08:00
sakumisu
0c77c8b457 start next hub int transfer after enumrateion 2022-10-05 12:47:05 +08:00
sakumisu
7485710fff ignore set_idle when fails 2022-10-01 16:17:42 +08:00
sakumisu
212a727cbd remove irq protect when allocates devnum 2022-10-01 16:15:53 +08:00
sakumisu
972c935ead remove hub device driver 2022-10-01 16:11:10 +08:00
sakumisu
279f5b49fd remove mm32/imxrt/nuvoton old port 2022-10-01 16:09:21 +08:00
sakumisu
2d9862254e fix probe to commit 2022-09-26 20:50:20 +08:00
sakumisu
2c54109425 add msc readonly feature 2022-09-25 19:47:41 +08:00
sakumisu
ebeffc5368 fix msc process in os 2022-09-25 19:43:15 +08:00
sakumisu
d7a37de795 config ep0 default mps in usbh_enumerate 2022-09-25 17:58:30 +08:00
sakumisu
7021e0b096 fix hid duration 2022-09-25 17:32:27 +08:00
sakumisu
9ddfd6017c check if video frame header is illegal 2022-09-24 18:35:21 +08:00
sakumisu
dc1c1da072 record video altsetting num 2022-09-24 17:15:40 +08:00
sakumisu
07e15636ed add usb host video class 2022-09-23 22:02:03 +08:00
sakumisu
0b0f3bfbda fix video payload head toggle 2022-09-23 21:58:56 +08:00
sakumisu
110d9ba816 add super speed string 2022-09-23 21:58:36 +08:00