如何发现设备 /开发

发布于 2025-01-30 13:09:04 字数 168 浏览 4 评论 0原文

在我的嵌入式设备(RTOS YOCTO)上,有两个串行链接(RS232和RS485),但我没有完整的文档,因此我无法找到正确的节点(Under /dev)来打开R \ W操作 *.dtsi文件也没有帮助我和Udev shell,也许是因为我得到了几个信息,但没有如何浏览该节点

任何建议?

p

on my embedded device (RTOS Yocto) there are two serial link (RS232 and RS485) but I don't have a full documentation so I 'm not able to find the right node ( under /dev ) to open for R\W operation
The *.dtsi file is not help me and udev shell also, maybe because I get several info but not how is engagged the node

Any suggestion?

P

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

隱形的亼 2025-02-06 13:09:04

如果我正确理解它,那么您应该查看DMESG,并查找您要搜索的节点的类型。例如:

dmesg | grep -i tty

If I understand it correctly, then you should have a look at dmesg, and look for the type of node you are searching. For example:

dmesg | grep -i tty
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文