Commit Graph

231 Commits

Author SHA1 Message Date
sakimisu
2d1b4b8b82 export cdc/msc/rndis/mtp mps, configured by user 2023-06-21 19:39:22 +08:00
Zhihong Chen
16180bfc8e audio: fix descriptor endpoint attribute error and add audiov2 feedback descriptor
- fix descriptor endpoint attribute error and add audiov2 feedback descriptor

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-06-02 15:26:32 +08:00
sakimisu
e77657e723 extend report length 2023-05-26 19:31:38 +08:00
sakimisu
a26d8b602c use usbh_hport_activate_epx to alloc rndis intin pipe 2023-05-24 20:22:34 +08:00
Zhihong Chen
0c36483b40 class: rndis host: fix buffer size and pointer error
- fix buffer size and pointer error

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-05-24 19:47:53 +08:00
sakumisu
bfb8146699 fix hid get report len 2023-05-24 16:40:13 +08:00
sakumisu
77c3f17b7d check with last to reduce set line coding repeatly 2023-05-24 16:40:13 +08:00
heyuanjie87
01c6d60076 修复requestsense设定数据长度错误的问题 2023-05-19 19:57:43 +08:00
sakimisu
9172223fe6 call usbh_xxx_stop when class enumerates completely 2023-05-17 20:43:23 +08:00
sakimisu
3aeadb3046 fix build error 2023-04-29 15:17:59 +08:00
sakimisu
773cad823f align hub intbuf 2023-04-22 14:23:26 +08:00
sakimisu
5657b2a028 update hub process for usb3.0, update xhci driver 2023-04-21 23:43:59 +08:00
sakimisu
dc4887aef1 fix pointer in 64bit cpu, use uintptr_t instead 2023-04-21 23:24:13 +08:00
sakumisu
cc4c7727df add const for printer device_id 2023-03-30 19:09:46 +08:00
sakumisu
d7c0add7ef add usbd_event_handler for users 2023-03-22 15:00:34 +08:00
sakumisu
e9ad3bdc21 add volume and mute control 2023-03-22 14:58:07 +08:00
sakumisu
9c5af19cb1 remove unused functions 2023-03-22 14:57:47 +08:00
sakumisu
0322934cf4 fix warning when use no ext hub 2023-03-17 10:23:18 +08:00
sakumisu
70a22c24c7 fix print log 2023-03-16 15:12:41 +08:00
sakimisu
854e633808 move variables into no cache 2023-03-12 14:53:04 +08:00
sakimisu
80f19f738c format code 2023-03-12 14:49:24 +08:00
sakumisu
66c46a3eb2 update printer driver and demo 2023-03-11 19:06:13 +08:00
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