summaryrefslogtreecommitdiff
path: root/components/drivers/usb
AgeCommit message (Collapse)Author
2023-03-23[errno code]fix that use RT_ENOMEM without -Zxy
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-08format Kconfig and sconscriptMeco Man
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-09-22[usbhost] List keyboard option. (#6456)Wayne
* [bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. * Format files. * [usbhost] List keyboard and update driver. * Enlarge to reasonable thread stack size. * Do indent.. * Keep private. Co-authored-by: Wayne Lin <[email protected]>
2022-07-07[compoenets][driver][usb] fix usbhost hid issues. (#6116)Dengguiling
* [compoenets][driver][usb] fix usbhost hid issues. 1.Set idle function should receive an empty package. 2.Fix uinst_t reference error in hid enable function.
2022-04-28硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口 ↵BreederBai
(#5881) * 硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口
2022-04-20[USB] fix stall bug on control transfersblta
2022-04-20uniform code writing-disable interruptthewon86
2022-04-20[usb audio] fix building error.guozhanxin
2022-01-26fix usbhost issue by #4378guozhanxin
2022-01-26Merge pull request #4378 from LeeChunHei/usbh_constructguo
添加多過一個usb host的可能性
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-09-28Merge branch 'master' into usbh_constructguo
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
2021-02-23provide possibility for multi usb hostLeeChunHei
2021-02-23update to new usb api in hid and mouse source fileLeeChunHei
2021-02-23Revert "添加imxrt的pulse encoder和usb host驅動"Bernard Xiong
2021-02-13finish testingLeeChunHei
2021-02-13modifly to use multi usb(not tested)LeeChunHei
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-11-07Merge pull request #3871 from OpenNuvoton/rtt_usbhost_issueBernard Xiong
Fix USB host core bugs.
2020-09-27Merge pull request #3675 from DavidLin1577/patch-10Bernard Xiong
[drivers/usb]Fixed a bug may cause stackover flow
2020-09-27Merge pull request #3712 from egbert-h/masterBernard Xiong
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-09-02Fix USB host core issues.Wayne Lin
1. Limit >4 USB ports hubs. 2. Double free intf. 3. dname buffer size is too small. 4. Reset child pointer after detaching instance.
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-06-10[ drivers/usb]Fixed a bug may cause stackover flowDavid Lin
2020-05-20Fix rt_hw_inputcapture_isr public function name in header file.Wayne Lin
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-15Merge branch 'master' of https://github.com/rt-thread/rt-thread into rtt_issuesWayne Lin
2020-05-01Merge pull request #3569 from egbert-h/masterBernard Xiong
mstorage.c: fix the issue bug in_read_capacity()