Serial port (com1) baud rate oddity

Nathan Kinkade nkinkade at ub.edu.bz
Mon Mar 22 09:45:12 PST 2004


On Mon, Mar 22, 2004 at 04:14:56PM +0000, Richard P. Williamson wrote:
> Hello,
> 
> I'm using 4.8 Release on an embedded pentium class device,
> and I'm having trouble with the serial (console) port.
> 
>  From a development machine, I can 'tip com1' and get contact,
> but the data is coming out as 
> @@@ @ @@@ @@@   @@@  @@@@@@@@@@@ @@@ @@@@@@  @@@@@ @  @ @@@
> @ @@    @@@ @ @ @@@@@ @ @@@@ @@@@@@ @ @@@ @@ @ @@@@ @@@@@  @
> @@    @ @ @ @ @@@@@ @ @@@  @ @  @@@ @@@ @@ @ @@@@ @@@@@@@   @
> @@@@ @@@ @ @ @@@@@ @@@ @@@@ @@@@@@@ @@@ @@ @ @@@@@@@@@ @@@@@   
> @@@@@@    @@@ @ @ @@@@ @@@@      @@@ @@@ @@ @ @@  @@ @@@   @@   
> @  @@    @   @ @ @@@@ @ @@@@  @@@@@ @@@ @@ @ @@@@ @@@  @@   
> etc
<snip>
> Also minor problem, is this the reason why I can't talk out com3:
> "sio2: configured irq 5 not in bitmap of probed irqs 0"
<snip>
> -- 
> Richard Williamson           richard.williamson at u4eatech.com
> U4EA Technologies Ltd                   +44 (0) 117 373 6760
> Bristol, UK   BS1 6PL                                  x5030  

tip gets it configurations from /etc/remote.  Make sure that "com1" in
/etc/remote is set with appropriate values.  The default is:

sio0|com1:dv=/dev/cuaa0:br#9600:pa=none:

The output above looks to me like the problem is simply with the bit
rate.  Try some other values.  You can specify them manually on the tip
command line with the -s option.

Regarding your problem with sio2, possibly your kernel is configured
specifying an extra serial port that doesn't actually exist on the
hardware?  How many physical serial ports does your device actually
have?

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040322/9ea48138/attachment.bin


More information about the freebsd-questions mailing list