主题 : linux无法检测到串口 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 7809
精华: 0
发帖: 14
金钱: 135 两
威望: 131 点
综合积分: 28 分
注册时间: 2009-07-29
最后登录: 2010-07-13
楼主  发表于: 2009-08-12 10:17

 linux无法检测到串口

想用minicom登录2440,minicom始终offline,
用dmesg | grep tty,output: Xen virtual console successfully installed as ttyS0
想设置串口(非在minicom下)  setserial -g /dev/ttyS0,output:Cannot get serial info: Invalid argument
我想可能是linux无法检测到串口的原因,系统是CentOS5.3 ,各位遇到过此类问题吗,麻烦出手相助,开源社区万岁!

*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-08-12 11:32
除了你自己之外,没有人可以预料mini2440的串口在你的Linux上是什么设备
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 7809
精华: 0
发帖: 14
金钱: 135 两
威望: 131 点
综合积分: 28 分
注册时间: 2009-07-29
最后登录: 2010-07-13
2楼  发表于: 2009-08-12 15:56
谢谢版主的关注,
我尝试了# dmidecode 的命令
发现硬件中有串口的信息,如下:
Handle 0x0007, DMI type 8, 9 bytes.
Port Connector Information
        Internal Reference Designator: SERIAL
        Internal Connector Type: 9 Pin Dual Inline (pin 10 cut)
        External Reference Designator: COM 1
        External Connector Type: DB-9 male
        Port Type: Serial Port 16550A Compatible
既然已经识别到了串口,那么为何还是offline,不能登录呢?设置与在超级终端下一致,
应该没有问题,不明白。先在此处谢谢了
另,看到帖子说用ckermit可以替代minicom ,有心得的希望分享一下经验,共同支持我们的开源社区