Gentoo Archives: gentoo-user

From: Michael Mauch <michael.mauch@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Serial port console debugging
Date: Thu, 13 Oct 2005 22:13:10
Message-Id: 20051013220823.GE15794@elmicha.333200002251-0001.dialin.t-online.de
In Reply to: [gentoo-user] Serial port console debugging by Mark Knecht
1 Mark Knecht wrote:
2
3 > What's a really simple process for checking out whether this is set
4 > up correctly?
5 >
6 > 1) I don't know that the null modem cable is good. I just bought it.
7
8 You could use minicom to test the cable. Since your gigastudio has two
9 serial ports, you can two minicoms on that machine (one on ttyS0, the
10 other on ttyS1 - IIRC you have to restart minicom after you changed the
11 port).
12
13 > 2) I don't know how to see if the serial ports are receiving any valid
14 > data, status signals, or anything else to show they are working.
15
16 If you can send some text from one minicom to the other with e.g. 115200
17 bps, you could try sending a file between them. That should work without
18 errors (or with nearly no errors).
19
20 > 3) I don't know if minicom would display incoming characters by default.
21
22 Yes, I think it would. But you can test it with the method from above.
23
24 > I do think that I have serial support built into both kernels, but
25 > I'm not sure where to look to see status of serial ports.
26
27 setserial -a /dev/ttyS0
28 setserial -a /dev/ttyS1
29
30 should show your UART (e.g. 16550A), not "unknown".
31
32 Regards...
33 Michael
34 --
35 gentoo-user@g.o mailing list