PTT
Submit
Submit
选择语言
正體中文
简体中文
PTT
LinuxDev
[问题] serial 导向问题
楼主:
yshihyu
(yshihyu)
2017-03-15 20:23:39
https://gist.github.com/anonymous/dcb1765e005110cab52cfa571ac2ddf7
上面程式是码 hello world 字串导向 /dev/ttyS0
sudo ./test_uart ttyS0
我开cutecom 跟 minicom 想收hello world 字串但都收不到
baud rate 两边都是115200
可是我导向某个终端机
sudo ./test_uart pts/22 可以收到 hello world 字串
不明白为什么 ttyS0 收不到字串
谢谢
作者: derailed
2017-04-03 13:33:00
fd = open(dev_name, O_RDWR | O_NOCTTY | O_NDELAY);?
继续阅读
[心得] linux下解压命令大全 linux tar.gz zip
arlous
[问题] 关于 kernel driver interrupt ISR
gn00618777
[心得] 如何解决linux下mysql的root密码忘记
arlous
[问题] /proc/sys/kernel/printk数字用途
fightforlive
[问题] device tree i2c bus add gpio
wads5566
[问题] unzip v.s. dd
marshimaru
Fw: [TOSSUG 03/14] 打造 Infrastructure Agility Mode 2 的基石
fourdollars
Fw: [TOSSUG 2/14] 物联网,你可能会需要考量的事 by StarNight
fourdollars
Fw: [问题] G++ 无法正常编译
whatai
[问题] webserver boa 问题
carpo5279
Links
booklink
Contact Us: admin [ a t ] ucptt.com