您尚未登录。

楼主 # 2024-01-10 12:02:25

sxlyq_666
会员
注册时间: 2023-09-07
已发帖子: 76
积分: 72

为什么看不到ttyS2的名称

ttyS2和另外一台电脑相连,可以发送数据,但是在开发板执行命令 cat /proc/interrupts 结果如下,看不到ttyS2的信息。

44: 771 GIC-0 32 Level ttyS0
46: 4 GIC-0 34 Level

当讲bootarg参数中的console改为console=ttyS2时,看到ttyS2的名字,却看不到ttyS0的名字,请问,是什么原因呢?

谢谢。
dmesg | grep ttyS的信息如下:

dmesg |grep ttyS
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk1p2 rw rootfstype=ext4 earlyprintk rw init=/linuxrc vt.global_cursor_default=0
[ 0.282565] console [ttyS0] disabled
[ 0.302794] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[ 1.002488] console [ttyS0] enabled
[ 1.028684] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 45, base_baud = 1500000) is a U6_16550A
[ 1.058341] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 46, base_baud = 1500000) is a U6_16550A
[ 1.089951] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 47, base_baud = 1500000) is a

离线

页脚

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

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


东莞哇酷科技有限公司开发