EDN首页   博客首页

日志档案

发表于 2007-5-8 22:06:18

0

标签: 无标签

minicom不显示

我用的fc6但是minicom按照如下配置,依然没有任何信息出现。我陪得的应该没问题,在windows下串口就可以,但是到了fc6就不行了,不知道怎么回事。请高人指点一下,我查了好久也不知道怎么做。
To configure minicom,pls follow the steps below:
 
 
a)log in as root,and run the command:
 
    #minicom -s
 
The Minicom configuration menu appears:
 
b)select serial port set up and set the options for your target:
 
A-Serial Device:          /dev/ttySx(select the port of your host)
 
B-Lockfile Location:      /var/lock
 
E-Bps/Par/Bits:           9600 8N1
 
F-Hardware Flow Control:  NO
 
G-Software Flow Control:  NO
 
Press enter to return to the main configruation menu.
 
c)Select modem and Dialing
 
Erase the values for:
 
A-Init string,
 
B-Reset string,and
 
K-Hang-up string
 
Press enter to return to the main configuration menu.
 
d)Save values and exit
 
Select Save as dfl to save these as default settings.
 
Select Exit from minicom
 
e)Go back to normal user mode
 
Now leave the root-login,From a users command prompt enter
 
minicom

系统分类: 嵌入式   |   用户分类: 无分类   |   来源: 无分类   |   【推荐给朋友】   |   【添加到收藏夹】

    阅读(658)    回复(3)  

投一票您将和博主都有获奖机会!

最新评论

  • dream

    2007-8-2 13:22:51

    1楼的正解。FC6开始就要加-S ,还要手改设备。

  • 鸿哥

    2007-5-21 11:34:27

    重装minicom也不失为一种好方法

  • luyaotang

    2007-5-19 0:47:02

    你的意思是不是指进入了设置界面点一下Exit退出,就不显示了。
    如果是这样的话,要如下设置
    #minicom -s com1
    进入了设置界面后在Serial Port Setup里将
    ┌───────────────────────────────────────────────────────────────────────┐
        │ A -    Serial Device      : /dev/modem                                │
        │ B - Lockfile Location     : /var/lock                                 │
        │ C -   Callin Program      :                                           │
        │ D -  Callout Program      :                                           │
        │ E -    Bps/Par/Bits       : 4800 8N1                                  │
        │ F - Hardware Flow Control : No                                        │
        │ G - Software Flow Control : No                                        │
        │                                                                       │
        │    Change which setting?                                              │
        └───────────────────────────────────────────────────────────────────────┘
    的Serial Device是错误的,所以导致还是没启动起来,必须要把/dev/modem 改成ttySX,这个X就是你想要用的设备号。
        至此,minicom成功调用起来了。