From owner-freebsd-current@freebsd.org Sun Jan 20 18:34:06 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 20C10149DD1F for ; Sun, 20 Jan 2019 18:34:06 +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 A5494730F0 for ; Sun, 20 Jan 2019 18:34:05 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1glHv2-000MfY-2L; Sun, 20 Jan 2019 19:34:04 +0100 Date: Sun, 20 Jan 2019 19:34:04 +0100 From: Kurt Jaeger To: "Rodney W. Grimes" Cc: freebsd-current@freebsd.org Subject: Re: Multiport serial card Exsys EX-44388, where are the devices ? Message-ID: <20190120183404.GA78316@home.opsec.eu> References: <20190119090238.GE54920@home.opsec.eu> <201901191549.x0JFnvmq061149@pdx.rh.CN85.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201901191549.x0JFnvmq061149@pdx.rh.CN85.dnsmgr.net> 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: Sun, 20 Jan 2019 18:34:06 -0000 Hi! > > > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 [...] > > I compared it to a second, similar hardware and there I found the same uart2, > > even if no card was installed 8-( > > > > So it seems the card is not detected at all 8-( > > Need to find out why it is not showing up in the PCI > listings. Can you post the output from Sorry for my late answer, I was traveling for a day. On that box, it was not detected at all. I moved it to a different box, added the patch below, rebuild the kernel and rebooted. Effect: l cuau? crw-rw---- 1 uucp dialer 0x8a Jan 19 12:10 cuau0 crw-rw---- 1 uucp dialer 0x37 Jan 19 12:17 cuau2 crw-rw---- 1 uucp dialer 0x3d Jan 19 12:10 cuau3 crw-rw---- 1 uucp dialer 0x43 Jan 19 12:10 cuau4 crw-rw---- 1 uucp dialer 0x49 Jan 19 13:09 cuau5 crw-rw---- 1 uucp dialer 0x4f Jan 19 12:14 cuau6 crw-rw---- 1 uucp dialer 0x55 Jan 19 12:10 cuau7 crw-rw---- 1 uucp dialer 0x5b Jan 19 12:10 cuau8 crw-rw---- 1 uucp dialer 0x61 Jan 19 12:10 cuau9 crw-rw---- 1 uucp dialer 0x6f Jan 19 13:58 cuaua crw-rw---- 1 uucp dialer 0x75 Jan 19 13:58 cuaub crw-rw---- 1 uucp dialer 0x7b Jan 19 13:58 cuauc crw-rw---- 1 uucp dialer 0x81 Jan 19 13:58 cuaud [...] pcib7@pci0:6:0:0: class=0x060400 card=0x00000000 chip=0x10801b21 rev=0x04 hdr=0x01 vendor = 'ASMedia Technology Inc.' device = 'ASM1083/1085 PCIe to PCI Bridge' class = bridge subclass = PCI-PCI puc0@pci0:7:4:0: class=0x070002 card=0x000814a1 chip=0x000814a1 rev=0xb0 hdr=0x00 vendor = 'Systembase Co Ltd' class = simple comms subclass = UART bar [10] = type I/O Port, range 32, base 0x1040, size 64, enabled bar [14] = type I/O Port, range 32, base 0x1000, size 64, enabled dmesg: dmesg | grep uart uart2: <16750 or compatible> at port 1 on puc0 uart3: <16750 or compatible> at port 2 on puc0 uart4: <16750 or compatible> at port 3 on puc0 uart5: <16750 or compatible> at port 4 on puc0 uart6: <16750 or compatible> at port 5 on puc0 uart7: <16750 or compatible> at port 6 on puc0 uart8: <16750 or compatible> at port 7 on puc0 uart9: <16750 or compatible> at port 8 on puc0 uart10: <16x50 with 256 byte FIFO> iomem 0xfedc9000-0xfedc9fff,0xfedc7000-0xfedc7fff irq 3 on acpi0 uart11: <16x50 with 256 byte FIFO> iomem 0xfedca000-0xfedcafff,0xfedc8000-0xfedc8fff irq 4 on acpi0 uart12: <16x50 with 256 byte FIFO> iomem 0xfedce000-0xfedcefff,0xfedcc000-0xfedccfff irq 3 on acpi0 uart13: <16x50 with 256 byte FIFO> iomem 0xfedcf000-0xfedcffff,0xfedcd000-0xfedcdfff irq 4 on acpi0 uart0: <16550 or compatible> at port 0x3f8 irq 4 flags 0x10 on isa0 uart0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. ------------- Index: pucdata.c =================================================================== --- pucdata.c (revision 343188) +++ pucdata.c (working copy) @@ -870,6 +870,16 @@ }, /* + * Systembase SB16C1058 + */ + + { 0x14a1, 0x0008, 0x14a1, 0x0008, + "ExSys EX-44388", + DEFAULT_RCLK * 8, + PUC_PORT_8S, 0x10, 0, 8, + }, + + /* * Perle boards use Oxford Semiconductor chips, but they store the * Oxford Semiconductor device ID as a subvendor device ID and use * their own device IDs. -- pi@opsec.eu +49 171 3101372 One year to go !