summaryrefslogtreecommitdiff
path: root/components/drivers/usb/usbdevice/class
AgeCommit message (Collapse)Author
2023-06-29[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)Shicheng Chu
2023-06-21[Kernel] message 可以返回消息的实际大小 (#7709)zhkag
2023-05-12[components][rndis.c] add safety checking after allocating memoryhust202013232
2023-05-09[components][rndis.c] add a checkout procedure after malloc to make sure ↵kkangdom
allocating successfully (#7460)
2023-04-28[winusb.c] add checking after allocating memory for variable winusb_device ↵ourea1429
to make sure allocae is successful
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-02USB ↵kylongmu
CDC驱动在win11下无法识别,看了微软的描述修改子类后正常 (#6783) 这是微软关于此问题的链接: https://learn.microsoft.com/zh-cn/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids#usbsersys-installation Windows 10 及更高版本 从 Windows 10 开始,Usbser.inf 已添加到 %Systemroot%\INF 目录,该目录加载 Usbser.sys 作为设备堆栈中功能设备对象 (FDO) 。 如果设备属于通信和 CDC 控制设备类, Usbser.sys 加载。 无需编写自己的 INF 来引用驱动程序。 驱动程序是基于与包含在 Windows 中的其他 USB 设备类驱动程序相似的兼容 ID 匹配来加载的。 USB\Class_02 USB\Class_02&SubClass_02 如果要自动 加载Usbser.sys, 在设备描述符中将类代码设置为 02,将子类代码 设置为 02。 有关详细信息,请参阅 USB 通信设备类。 使用此方法时,无需为设备分发 INF 文件,因为系统使用的是 Usbser.inf。 如果设备指定类代码 02,但子类代码值不是 02,则 Usbser.sys不会自动加载 。 即插即用管理器尝试查找驱动程序。 如果找不到合适的驱动程序,则设备可能未加载驱动程序。 在这种情况下,你可能需要加载自己的驱动程序或编写引用另一个内置驱动程序的 INF。
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-11-14Modified bsp/stm32/libraries/HAL_Drivers/drv_usbd.cmyshow2258
Modified components/drivers/usb/usbdevice/class/cdc_vcom.c 修复cdc在v1v2的serial框架下接收发送错误的问题.stm32下usbd添加更多的ep_id,以支持复合设备.
2022-04-28硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口 ↵BreederBai
(#5881) * 硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口
2022-04-20uniform code writing-disable interruptthewon86
2022-04-20[usb audio] fix building error.guozhanxin
2022-01-09[core] 使用rt_memcpy rt_memset代替memcpy memsetMeco Man
2021-12-30[components][usb] fix compile warning in cdc_vcom.cnongxiaoming
2021-12-01[components][drivers] format filetangyuxin
2021-10-14[cdc_vcom.c]adapt to both v1 and v2 of serialmazhiyuan
2021-10-14修复cdc_vcom.c中的一些编译问题mazhiyuan
2021-10-14修复开启RT_USING_DEVICE_OPS时ecm.c报错mazhiyuan
2021-04-21【完善】uac class, 去除 GPL 代码guozhanxin
2021-03-16Merge branch 'master' into compdillon-min
2021-03-11component: driver: usb: Add usb interface string(iInterface) settingDillon Min
To make compositive usb device string more reansonable, not all devices just show same "RTT Composite Device" on windows device manager. add a interface rt_usbd_device_set_interface_string to set respective interface string. Signed-off-by: Dillon Min <[email protected]> v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-08[compoenets] auto & manual formattedMeco Man
2020-11-21Update cdc_vcom.cDavid Lin
2020-11-21Update hid.cDavid Lin
2020-11-21Update hid.cDavid Lin
2020-11-21Update mstorage.cDavid Lin
2020-11-21Update winusb.cDavid Lin
2020-11-21Update audio_speaker.cDavid Lin
2020-11-21Update audio_mic.cDavid Lin
2020-11-21[components / drivers]update audio_mic.cDavid Lin
1. delete '#include <rtservice.h>', because rtthread.h had include rtservice.h; 2. delete '#include <rtthread.h>', because rtdevice.h had include rtthread.h.
2020-09-27Merge pull request #3712 from egbert-h/masterBernard Xiong
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-08-04[components][usb] word error : PROERTY -> PROPERTYtangweikang
2020-07-03merge latest usb class with workaroundhphuang
2020-06-22mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.hphuang
2020-04-28mstorage.c: fix the issue that _read_capacity() returns the wrong last valid ↵hphuang
address of storage medium
2020-03-30Merge pull request #3484 from qz721/masterBernard Xiong
修复USB不能正常识别composite设备的bug
2020-03-26修复USB不能正常识别composite设备的bugqz721
2020-03-21Update cdc_vcom.cDavid Lin
2020-03-21Update ecm.cDavid Lin
2020-03-16Support msc mode automatic switchingCliff Chen
Signed-off-by: Cliff Chen <[email protected]>
2020-01-17添加虚拟串口接收缓存的 ENV ↵Ihavedone
配置项,可手动配置接收缓存大小,默认为128字节
2019-12-25[Components][USB][ECM] fix build errorZYH
2019-11-15[RNDIS]fix speed on HSZYH
2019-09-19[usbd] Fixed Windows first recording ↵guozhanxin
failure.|修复windows下第一次录音失败的问题。 windows下第一次录放音失败的原因是:第一录放音时 windows 会先连续发送开始、结束检测设备,然后才正式开始。线程来不及处理两次开始事件不会累积,最后导致直接结束,
2019-09-19[usbd] Add usb audio class.guozhanxin
2019-07-19usb: hid.c: 修复编译过程中的错误/Fix compile-time error.Zhou Yanjie
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。 In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,". Signed-off-by: Zhou Yanjie <[email protected]>
2019-06-11[Components][USB][RNDIS] fix delay linkup using soft timerZYH
2019-06-11[Components][USB][ECM] fix hotplugZYH