Chinaunix首页 | 论坛 | 博客
  • 博客访问: 382275
  • 博文数量: 62
  • 博客积分: 388
  • 博客等级: 一等列兵
  • 技术积分: 1032
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-03 20:18
文章分类

全部博文(62)

文章存档

2017年(5)

2016年(3)

2015年(3)

2014年(8)

2013年(15)

2012年(28)

分类: LINUX

2012-02-24 22:17:28

linux 要使用串口时 需要将串口加上开机引导上去,否则无法使用串口。
具体步骤:在/etc/grub.conf 的 kernel 行后面加上串口信息:nomodset console=ttyS0,115200
如:
default=0
timeout=0
#splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.30)
        root (hd0,0)
        kernel /vmlinuz-2.6.30 ro root=UUID=e2f9313e-ec34-4a17-bc6d-89d34f44671e selinux=0 audit=0 nomodset console=ttyS0,115200
        initrd /initrd-2.6.30.img
阅读(2588) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~