<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[T113 Tina 5.0-V1.0 SDK如何配置USB虚拟串口 USB CDC ACM驱动]]></title><description><![CDATA[<p dir="auto">图片是我在kernel的相关配置，编译打包后并为发现相关的设备节点：<img src="/assets/uploads/files/1768369672341-c1845ef6-4c44-4a43-9f45-0efd8de739a1-image.png" alt="c1845ef6-4c44-4a43-9f45-0efd8de739a1-image.png" class=" img-responsive img-markdown" width="1455" height="812" /><br />
开发板查看设备节点<br />
<img src="/assets/uploads/files/1768369859824-ad8b3ee6-c73d-4f00-95eb-12bd84f0e7d1-image.png" alt="ad8b3ee6-c73d-4f00-95eb-12bd84f0e7d1-image.png" class=" img-responsive img-markdown" width="991" height="239" /><br />
哪位大佬能够提供一份完整的USB CDC ACM这个功能的教程啊，谢谢啦</p>
]]></description><link>https://bbs.aw-ol.com/topic/6847/t113-tina-5-0-v1-0-sdk如何配置usb虚拟串口-usb-cdc-acm驱动</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 10:36:32 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/6847.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Jan 2026 05:52:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to T113 Tina 5.0-V1.0 SDK如何配置USB虚拟串口 USB CDC ACM驱动 on Thu, 15 Jan 2026 08:55:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/4261">@momoyu</a> d多谢大佬。问题已经解决</p>
]]></description><link>https://bbs.aw-ol.com/post/27998</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27998</guid><dc:creator><![CDATA[zsn19931119]]></dc:creator><pubDate>Thu, 15 Jan 2026 08:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to T113 Tina 5.0-V1.0 SDK如何配置USB虚拟串口 USB CDC ACM驱动 on Wed, 14 Jan 2026 07:11:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/8415">@zsn19931119</a><br />
其他系列的配置，参考一下？</p>
<pre><code>依赖配置项：
CONFIG_USB_ACM=y
CONFIG_USB_CONFIGFS_ACM=y
Device Drivers ‑‑‑&gt;
[*] USB support ‑‑‑&gt;
&lt;*&gt; USB Modem (CDC ACM) support
&lt;*&gt; USB Gadget Support ‑‑‑&gt;
&lt;*&gt; USB functions configurable through configfs
[*]  Abstract Control Model (CDC ACM)
</code></pre>
<pre><code>configfs 配置方法：
mount ‑t configfs none /sys/kernel/config
mkdir /sys/kernel/config/usb_gadget/g1
echo "0x1f3a" &gt; /sys/kernel/config/usb_gadget/g1/idVendor
echo "0x0007" &gt; /sys/kernel/config/usb_gadget/g1/idProduct
mkdir /sys/kernel/config/usb_gadget/g1/strings/0x409
mkdir /sys/kernel/config/usb_gadget/g1/functions/acm.usb0
mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1
echo 0xc0 &gt; /sys/kernel/config/usb_gadget/g1/configs/c.1/bmAttributes
echo 500 &gt; /sys/kernel/config/usb_gadget/g1/configs/c.1/MaxPower
mkdir /sys/kernel/config/usb_gadget/g1/configs/c.1/strings/0x409
ln ‑s /sys/kernel/config/usb_gadget/g1/functions/acm.usb0/ /sys/kernel/config/usb_gadget/g1/configs/c.1/acm.usb0
ls /sys/class/udc/ | xargs echo &gt; /sys/kernel/config/usb_gadget/g1/
</code></pre>
]]></description><link>https://bbs.aw-ol.com/post/27980</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27980</guid><dc:creator><![CDATA[momoyu]]></dc:creator><pubDate>Wed, 14 Jan 2026 07:11:46 GMT</pubDate></item></channel></rss>