Hi Stuart,

On Fri, May 08, 2009 at 10:35:35AM +0000, Stuart Henderson wrote:
> On 2009-05-08, Alexander Shikoff <minot...@crete.org.ua> wrote:
> > I only have two serial ports on motherboard, I see them in dmesg:
> > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> >
> > But if I understand correctly they are named as cua0[0..1].
> >
> >> PCI serial cards typically attach as puc(4), meaning com(4) devices
> >> should appear.. or pccom(4).. if you're using a release <= OpenBSD
> >> 4.3.
> > Yes, they appear in dmesg:
> > puc0 at pci1 dev 10 function 0 "Digi Neo-8" rev 0x05: ports: 8 com
> > com3 at puc0 port 0 irq 11: ns16550a, 16 byte fifo
> > com4 at puc0 port 1 irq 11: ns16550a, 16 byte fifo
> > com5 at puc0 port 2 irq 11: ns16550a, 16 byte fifo
> > com6 at puc0 port 3 irq 11: ns16550a, 16 byte fifo
> > com7 at puc0 port 4 irq 11: ns16550a, 16 byte fifo
> > com8 at puc0 port 5 irq 11: ns16550a, 16 byte fifo
> > com9 at puc0 port 6 irq 11: ns16550a, 16 byte fifo
> > com10 at puc0 port 7 irq 11: ns16550a, 16 byte fifo
> >
> > I guess they are mapped to cuac0..cuac7?
> 
> the letter after cua depends on the port type; we use cuac# for cy(4),
Well, I have no any cy-like card. Why I'm getting cuac# devices in /dev ?

> cuaU# for USB serial ports, cua## for ns16x50-like devices. think those
> are the only choices for serial ports at the moment.
> 
> for your puc(4) look at cua03..cua10 (dial-out devices) or tty03..tty10
> (terminal devices; see "man 4 tty" for the difference between cua/tty).
There are no tty04..tty10 devices in /dev
There are only tty00..tty03. 
 
> >> Are you able to post a dmesg?
> > Of course, see attached file.
> 
> attachments get stripped; you provided enough inline this time, but one
> to bear in mind for the future.
Ok, I'll keep that in mind. Thanks.

-- 
MINO-RIPE

Reply via email to