Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 13:54:05 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-sparc64@freebsd.org
Cc:        Aaron Glenn <aaron.glenn@gmail.com>
Subject:   Re: serial ports on the Ultra 5
Message-ID:  <200512051354.06372.jhb@freebsd.org>
In-Reply-To: <18f601940512051025g71b9fc29y4ae37eb3ce2629df@mail.gmail.com>
References:  <18f601940512051025g71b9fc29y4ae37eb3ce2629df@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 05 December 2005 01:25 pm, Aaron Glenn wrote:
> For the life of me I cannot get either serial port on one of my Ultra
> 5's to work in FreeBSD. I'll admit I don't quite grasp how the sio(4),
> puc(4), and sab(4) drivers intertwine (if at all...) and while
> /etc/ttys makes sense to me, I don't understand how to get or why I
> don't have a /dev entry for either of the serial ports. I am unable to
> console out or into the box; prior to FreeBSD 6.0 the machine had
> OpenBSD and the ports worked flawlessly, ruling out a hardware issue.
>
> The release notes say it should work, the sab(4) man pages says
> /dev/tty[a-b], /etc/ttys has an entry, dmesg says puc(4), and I can't
> make heads or tails of anything. I'm missing something important - can
> a kind soul point me to it?

You don't use sab(4) anymore, but uart(4).

> puc0: <Siemens SAB 82532 dual channel SCC> addr
> 0x1400400000-0x140040007f irq 43 on ebus0
> uart0: <SAB 82532 v3.2, channel A> on puc0
> uart0: CTS oflow
> uart1: <SAB 82532 v3.2, channel B> on puc0
> uart1: CTS oflow

Here are your SAB ports.  /dev/ttyu0 and /dev/ttyu1

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512051354.06372.jhb>