您尚未登录。

楼主 #1 2018-12-08 10:12:31

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

windows下官方的 [CP210xPortReadWrite.exe] 可以读写CP2104 GPIO, 但是Linux始终不行

离线

楼主 #2 2018-12-08 10:13:36

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

Re: windows下官方的 [CP210xPortReadWrite.exe] 可以读写CP2104 GPIO, 但是Linux始终不行

终于找到原因了 https://www.silabs.com/community/interface/knowledge-base.entry.html/2018/07/24/how_to_control_gpios-Wot7

On Linux

The CP210x driver has been distributed as part of the Linux kernel since v2.6.12, and GPIO operations also be supported by Linux 4.10.0 kernel or later.





而我的 Linux 版本:

lilo@ubuntu:/opt$ uname -a
Linux ubuntu 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn