<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/drivers/usb/usbdevice, branch v5.0.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/usb/usbdevice?h=v5.0.2</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/drivers/usb/usbdevice?h=v5.0.2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2023-06-29T15:24:25Z</updated>
<entry>
<title>[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)</title>
<updated>2023-06-29T15:24:25Z</updated>
<author>
<name>Shicheng Chu</name>
<email>1468559561@qq.com</email>
</author>
<published>2023-06-29T15:24:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e2c031643c8dec7c9ea1581216e19bf19c8f73f0'/>
<id>urn:sha1:e2c031643c8dec7c9ea1581216e19bf19c8f73f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Kernel] message 可以返回消息的实际大小 (#7709)</title>
<updated>2023-06-21T10:22:42Z</updated>
<author>
<name>zhkag</name>
<email>zhkag@foxmail.com</email>
</author>
<published>2023-06-21T10:22:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=33f550cb65c950068ff04c331daeeda3547d2e50'/>
<id>urn:sha1:33f550cb65c950068ff04c331daeeda3547d2e50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][rndis.c] add safety checking after allocating memory</title>
<updated>2023-05-12T05:37:42Z</updated>
<author>
<name>hust202013232</name>
<email>u202013232@hust.edu.cn</email>
</author>
<published>2023-05-12T05:37:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9dd0d4125190907332c0510a1449c3cfdb0104bf'/>
<id>urn:sha1:9dd0d4125190907332c0510a1449c3cfdb0104bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][rndis.c] add a checkout procedure after malloc to make sure allocating successfully (#7460)</title>
<updated>2023-05-09T02:02:11Z</updated>
<author>
<name>kkangdom</name>
<email>U202012151@hust.edu.cn</email>
</author>
<published>2023-05-09T02:02:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3cf07f1a62088245f15ee41b2e0a1df3711c1507'/>
<id>urn:sha1:3cf07f1a62088245f15ee41b2e0a1df3711c1507</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[winusb.c] add checking after allocating memory for variable winusb_device to make sure allocae is successful</title>
<updated>2023-04-28T13:59:42Z</updated>
<author>
<name>ourea1429</name>
<email>131341319+ourea1429@users.noreply.github.com</email>
</author>
<published>2023-04-28T13:59:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=085ded8eef541ee8b347468c42c359d580fcd127'/>
<id>urn:sha1:085ded8eef541ee8b347468c42c359d580fcd127</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[HUST CSE] Fix many abnormal symbols in annotations and format code</title>
<updated>2023-04-18T02:26:23Z</updated>
<author>
<name>7YZ7</name>
<email>82019212+7YZ7@users.noreply.github.com</email>
</author>
<published>2023-04-18T02:26:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=501b22aabede2d4e179bfc47f3b75522e5933da4'/>
<id>urn:sha1:501b22aabede2d4e179bfc47f3b75522e5933da4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[errno code][-RT_ERROR] fix that use RT_ERROR without -</title>
<updated>2023-03-20T04:06:16Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-03-17T04:12:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0f461e870c481a24ce2690cca1949706bb80f9e7'/>
<id>urn:sha1:0f461e870c481a24ce2690cca1949706bb80f9e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rt_device_write/read return data type as rt_ssize_t</title>
<updated>2023-02-08T02:43:57Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-02-05T23:35:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f58d3c5200d5a51a39503c5311422e2fb99d3d20'/>
<id>urn:sha1:f58d3c5200d5a51a39503c5311422e2fb99d3d20</id>
<content type='text'>
rt_ssize_t can give negative error code, which follows the unix style correctly
</content>
</entry>
<entry>
<title>format Kconfig and sconscript</title>
<updated>2023-01-09T03:52:13Z</updated>
<author>
<name>Meco Man</name>
<email>920369182@qq.com</email>
</author>
<published>2023-01-09T02:14:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9bc68d26a446158aad13f910fa5a2b8b09febec1'/>
<id>urn:sha1:9bc68d26a446158aad13f910fa5a2b8b09febec1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>USB CDC驱动在win11下无法识别，看了微软的描述修改子类后正常 (#6783)</title>
<updated>2023-01-03T03:25:54Z</updated>
<author>
<name>kylongmu</name>
<email>kylongmu@msn.com</email>
</author>
<published>2023-01-03T03:25:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=0b58637a49589058ca503a2175af7bb61355fee9'/>
<id>urn:sha1:0b58637a49589058ca503a2175af7bb61355fee9</id>
<content type='text'>
这是微软关于此问题的链接:
 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&amp;SubClass_02

如果要自动 加载Usbser.sys， 在设备描述符中将类代码设置为 02，将子类代码 设置为 02。 有关详细信息，请参阅 USB 通信设备类。 使用此方法时，无需为设备分发 INF 文件，因为系统使用的是 Usbser.inf。
如果设备指定类代码 02，但子类代码值不是 02，则 Usbser.sys不会自动加载 。 即插即用管理器尝试查找驱动程序。 如果找不到合适的驱动程序，则设备可能未加载驱动程序。 在这种情况下，你可能需要加载自己的驱动程序或编写引用另一个内置驱动程序的 INF。</content>
</entry>
</feed>
