Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2019 22:52:10 +0100
From:      Kurt Jaeger <pi@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Multiport serial card Exsys EX-44388, where are the devices ?
Message-ID:  <20190118215210.GC54920@home.opsec.eu>

next in thread | raw e-mail | index | archive | help
Hi!

Trying to get a 8-port serial PCIe card into operation (Exsys EX-44388).
After reboot, dmesg shows:

uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0

and /dev/ has cuau2* devices. It's unclear, which of the 8 ports
is cuau2 (I'll test that later, I promise 8-), but where are the
other ports ?

I've tried to add

hint.uart.3.at="isa"
hint.uart.3.port="0x3e0"
hint.uart.3.irq="10"
hint.uart.4.at="isa"
hint.uart.4.port="0x3d8"
hint.uart.4.irq="10"

to /boot/devices.hint and rebooted, but there are no additional ports found...

I've read

  https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html

and the manpage sio(4). It says to build a kernel with

options COM_MULTIPORT
device sio

which I tried (r343121) and it fails:

/usr/src/sys/dev/sio/sio.c:361:6: error: no member named 't_init_in' in
      'struct tty'
        tp->t_init_in.c_ispeed  = tp->t_init_in.c_ospeed =
        ~~  ^

So, is sio(4) out of fashion ? What is suggested to get my other 7 serial ports ?

-- 
pi@opsec.eu            +49 171 3101372                    One year to go !



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