zoukankan      html  css  js  c++  java
  • Debian 6 , 十个串口为什么只识别到了 6个 剩下4 个被禁止了

    0.946441] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
    [    0.946533] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    0.946623] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [    0.946896] 00:06: ttyS4 at I/O 0x210 (irq = 11) is a 16550A
    [    0.947012] 00:07: ttyS5 at I/O 0x218 (irq = 11) is a 16550A
    [    0.947128] 00:08: ttyS2 at I/O 0x220 (irq = 11) is a 16550A
    [    0.947244] 00:09: ttyS3 at I/O 0x228 (irq = 11) is a 16550A
    [    0.947369] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    0.947486] 00:0c: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    [    0.947718] serial 00:0e: disabled
    [    0.947915] serial 00:0f: disabled
    [    0.948094] serial 00:10: disabled
    [    0.948271] serial 00:11: disabled


    硬件是  Intel(R) ICH9M LPC Interface Controller - 2919串口

    ====================================================

    解决方法 红色部分,

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=800
    x600-24,mtrr=3,scroll=ywrap 8250.nr_uarts=10"
    GRUB_CMDLINE_LINUX=""

    然后记得执行  update-grub

    另外, 需要打个补丁。

    不清楚原因, 高手告诉我的。

     http://files.cnblogs.com/files/MysticBoy/sio_irq_share.7z

    安装介绍

    1. tar xf sio_irq_share.tar.gz

    2. cp sio_irq_share/sio_share /bin

    3. cp sio_irq_share/sio_share.sh /etc/init.d

    4. cd /etc/init.d

    5. update-rc.d sio_share.sh defaults 00

    6. reboot

    7. 检查启动日志 boot.log 或者在启动界面上也可以看到 "Fintek 216 SIO configuration successful"    

    然后安装完成 ,  (cat /var/log/boot.log  | grep Fintek)   

    删除补丁 

    1. update-rc.d -f sio_share.sh remove

    2. rm /bin/sio_share

    3. rm /etc/init.d/sio_share.sh

    4. reboot   

  • 相关阅读:
    angularjs+ionic的app端分页和条件
    js中对象的自定义排序
    angularJS入门笔记
    SpringBoot学习历程
    页面渲染流程
    跨域问题
    jquery知识点结合使用
    对bootstrap模态框的小尝试
    登录页面两端对齐的样式问题
    输入两个数字,将比较结果输出到页面
  • 原文地址:https://www.cnblogs.com/MysticBoy/p/4582505.html
Copyright © 2011-2022 走看看