From owner-freebsd-questions@FreeBSD.ORG Mon Mar 22 09:45:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0549416A4CE for ; Mon, 22 Mar 2004 09:45:12 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA11B43D2D for ; Mon, 22 Mar 2004 09:45:11 -0800 (PST) (envelope-from nkinkade@fastmail.fm) X-Sasl-enc: OMYj625VO7/tTGPnJvEq6Q 1079977316 Received: from [206.26.199.146] (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 552208064D6; Mon, 22 Mar 2004 12:41:55 -0500 (EST) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 1B5TQC-000A1Q-00; Mon, 22 Mar 2004 11:41:08 -0600 Date: Mon, 22 Mar 2004 11:41:08 -0600 From: Nathan Kinkade To: "Richard P. Williamson" Message-ID: <20040322174108.GJ36839@nkinkade.bmp.ub> Mail-Followup-To: "Richard P. Williamson" , freebsd-questions@freebsd.org References: <6.0.3.0.2.20040322152842.024b8900@cygnus> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oplxJGu+Ee5xywIT" Content-Disposition: inline In-Reply-To: <6.0.3.0.2.20040322152842.024b8900@cygnus> User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: freebsd-questions@freebsd.org Subject: Re: Serial port (com1) baud rate oddity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 17:45:12 -0000 --oplxJGu+Ee5xywIT Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 22, 2004 at 04:14:56PM +0000, Richard P. Williamson wrote: > Hello, >=20 > I'm using 4.8 Release on an embedded pentium class device, > and I'm having trouble with the serial (console) port. >=20 > From a development machine, I can 'tip com1' and get contact, > but the data is coming out as=20 > @@@ @ @@@ @@@ @@@ @@@@@@@@@@@ @@@ @@@@@@ @@@@@ @ @ @@@ > @ @@ @@@ @ @ @@@@@ @ @@@@ @@@@@@ @ @@@ @@ @ @@@@ @@@@@ @ > @@ @ @ @ @ @@@@@ @ @@@ @ @ @@@ @@@ @@ @ @@@@ @@@@@@@ @ > @@@@ @@@ @ @ @@@@@ @@@ @@@@ @@@@@@@ @@@ @@ @ @@@@@@@@@ @@@@@ =20 > @@@@@@ @@@ @ @ @@@@ @@@@ @@@ @@@ @@ @ @@ @@ @@@ @@ =20 > @ @@ @ @ @ @@@@ @ @@@@ @@@@@ @@@ @@ @ @@@@ @@@ @@ =20 > etc > 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" > --=20 > Richard Williamson richard.williamson@u4eatech.com > U4EA Technologies Ltd +44 (0) 117 373 6760 > Bristol, UK BS1 6PL x5030 =20 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=3D/dev/cuaa0:br#9600:pa=3Dnone: 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 --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --oplxJGu+Ee5xywIT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQFAXyU0O0ZIEthSfkkRAiqsAJ9ISku52FKluQizrJE8/DcGXBZVCgCgyq1M 2TbaJuII8O8fSbFV4JhFWYg= =QxFm -----END PGP SIGNATURE----- --oplxJGu+Ee5xywIT--