도와주세요!!
글 수 15,339
2003.03.03 10:54:18 (*.186.48.184)
6699
안녕하세요...
: 시리얼통신이 안되거든요..일단 환경이 이렇고요..
: [root@lap root]# setserial -a /dev/ttyS0
: /dev/ttyS0, Line 0, UART: unknown, Port: 0x03f8, IRQ: 4
: Baud_base: 115200, close_delay: 50, divisor: 0
: closing_wait: 3000
: Flags: spd_normal skip_test
:
: [root@lap root]#
: 여기서 UART: unknown 이라고 되어있는데 잘못된게 아닌지요?.. 매뉴얼에는 16550A라
: 고 되어있더군요..다른건 매뉴얼에 나와있는대로 했는데 안되더군요..
먼저 시리얼 포트가 제대로 잡혔는지를 확인해주세요...
1. [root@jdt /root]# cat /var/log/dmesg
...
...
Serial driver version 5.02 (2000-08-09) with MANY_PORTS MULTIPORT SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
...
...
2. [root@jdt /root]# cat /proc/ioports
0000-001f : dma1
...
...
...
01f0-01f7 : ide0
02f8-02ff : serial(auto)
...
...
03f8-03ff : serial(auto)
...
...
[root@jdt /root]#
3, [root@jdt /root]# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
[root@jdt /root]# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
[root@jdt /root]#
그럼 수고하세요...
: 시리얼통신이 안되거든요..일단 환경이 이렇고요..
: [root@lap root]# setserial -a /dev/ttyS0
: /dev/ttyS0, Line 0, UART: unknown, Port: 0x03f8, IRQ: 4
: Baud_base: 115200, close_delay: 50, divisor: 0
: closing_wait: 3000
: Flags: spd_normal skip_test
:
: [root@lap root]#
: 여기서 UART: unknown 이라고 되어있는데 잘못된게 아닌지요?.. 매뉴얼에는 16550A라
: 고 되어있더군요..다른건 매뉴얼에 나와있는대로 했는데 안되더군요..
먼저 시리얼 포트가 제대로 잡혔는지를 확인해주세요...
1. [root@jdt /root]# cat /var/log/dmesg
...
...
Serial driver version 5.02 (2000-08-09) with MANY_PORTS MULTIPORT SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
...
...
2. [root@jdt /root]# cat /proc/ioports
0000-001f : dma1
...
...
...
01f0-01f7 : ide0
02f8-02ff : serial(auto)
...
...
03f8-03ff : serial(auto)
...
...
[root@jdt /root]#
3, [root@jdt /root]# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
[root@jdt /root]# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
[root@jdt /root]#
그럼 수고하세요...