From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 5 19:28:25 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CBA516A41F for ; Mon, 5 Dec 2005 19:28:25 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A0AC43D5C for ; Mon, 5 Dec 2005 19:28:24 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so569879wxc for ; Mon, 05 Dec 2005 11:28:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pkWsukM5Mp/Hl0inrlFJXrdT8fEvn/jYB0sS2b34bFUmfGWanVPi+JKi55YiONYyxNpLGBB757cebBNTj4hkKbZZumzbVlGBQjyBwRq7C1rh8QkbCEutz32YEMoO6vweTQldKoLjyAjtgux8ae3is9whZfiiTUMBdWKa2PWiLGk= Received: by 10.70.105.11 with SMTP id d11mr7911518wxc; Mon, 05 Dec 2005 11:28:23 -0800 (PST) Received: by 10.70.100.8 with HTTP; Mon, 5 Dec 2005 11:28:22 -0800 (PST) Message-ID: <18f601940512051128i142fd714g22004d8452cff29a@mail.gmail.com> Date: Mon, 5 Dec 2005 11:28:22 -0800 From: Aaron Glenn To: John Baldwin In-Reply-To: <200512051354.06372.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <18f601940512051025g71b9fc29y4ae37eb3ce2629df@mail.gmail.com> <200512051354.06372.jhb@freebsd.org> Cc: freebsd-sparc64@freebsd.org Subject: Re: serial ports on the Ultra 5 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 19:28:25 -0000 On 12/5/05, John Baldwin wrote: > > You don't use sab(4) anymore, but uart(4). I had a suspicion that was the case, but couldn't confirm it. > > Here are your SAB ports. /dev/ttyu0 and /dev/ttyu1 Then something more sinister is at work here. A 'cu -l /dev/ttyu0' will "connect" me, however I get no prompt, and not input or output seems to be passed to the console port. All input gets dumped to the shell I executed the cu command from, *after* I kill the first (lowest pid) cu process. Example: yang# ps -ax | grep ttyu 687 ?? I 0:00.01 /usr/libexec/getty std.9600 ttyu1 688 u0 Is+ 0:00.01 /usr/libexec/getty std.9600 ttyu0 741 p0 R+ 0:00.01 grep ttyu yang# cu -l /dev/ttyu1 -s 9600 Connected *hit enter a few times, type hello john, then kill the first cu process from another shell* yang# yang# yang# yang# yang# yang# yang# hello john hello: Command not found. yang# Reading the handbook section on serial communications again, I don't see anything wrong. I'll be the first to admit this type of stuff is uncharted territory for me. If I skipped some required reading on the subject, please don't hesitate to point me to it. Regards, aaron.glenn