serial ports on the Ultra 5

John Baldwin jhb at freebsd.org
Mon Dec 5 18:54:31 GMT 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-sparc64 mailing list