From owner-freebsd-current@freebsd.org Fri Jan 18 21:52:09 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D9A5148493F for ; Fri, 18 Jan 2019 21:52:09 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB1F1764F3 for ; Fri, 18 Jan 2019 21:52:08 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1gkc3e-000JJ7-O8 for freebsd-current@freebsd.org; Fri, 18 Jan 2019 22:52:10 +0100 Date: Fri, 18 Jan 2019 22:52:10 +0100 From: Kurt Jaeger To: freebsd-current@freebsd.org Subject: Multiport serial card Exsys EX-44388, where are the devices ? Message-ID: <20190118215210.GC54920@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2019 21:52:09 -0000 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 !