Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2019 19:34:04 +0100
From:      Kurt Jaeger <pi@freebsd.org>
To:        "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Multiport serial card Exsys EX-44388, where are the devices ?
Message-ID:  <20190120183404.GA78316@home.opsec.eu>
In-Reply-To: <201901191549.x0JFnvmq061149@pdx.rh.CN85.dnsmgr.net>
References:  <20190119090238.GE54920@home.opsec.eu> <201901191549.x0JFnvmq061149@pdx.rh.CN85.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 !



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