Re: Multiport serial card Exsys EX-44388, where are the devices ?

From: Kurt Jaeger <pi_at_opsec.eu>
Date: Mon, 21 Jan 2019 19:58:58 +0100
Hi!

> > > Well no longer needed as puc0 has found and allocated the
> > > device(s) which would of shown up had you done this before
> > > you fixed puc0 to find them.
> > 
> > The problem is that the found 4 uarts are not 8 uarts, and they do not
> > seem to work (tested using kermit), either 8-(
> 
> But you showed it found 8, numbered 2-10.

Yes, sorry, that was me being confused. After I plugged the board into
the box, without the pucdata modification, it showed uart0 and 2-5.
I remembered that the board saw uart0 on boot, but it turns out
that it did indeed detect uart0 and uart2-5 in the past already.

cd /dev
ls -l cuau?
crw-rw----  1 uucp  dialer  0x8a Jan 21 07:22 cuau0
crw-rw----  1 uucp  dialer  0x37 Jan 21 07:25 cuau2
crw-rw----  1 uucp  dialer  0x3d Jan 21 07:25 cuau3
crw-rw----  1 uucp  dialer  0x43 Jan 21 07:22 cuau4
crw-rw----  1 uucp  dialer  0x49 Jan 21 07:22 cuau5
crw-rw----  1 uucp  dialer  0x4f Jan 21 07:22 cuau6
crw-rw----  1 uucp  dialer  0x55 Jan 21 07:22 cuau7
crw-rw----  1 uucp  dialer  0x5b Jan 21 07:22 cuau8
crw-rw----  1 uucp  dialer  0x61 Jan 21 07:22 cuau9
crw-rw----  1 uucp  dialer  0x6f Jan 21 07:24 cuaua
crw-rw----  1 uucp  dialer  0x75 Jan 21 07:25 cuaub
crw-rw----  1 uucp  dialer  0x7b Jan 21 07:25 cuauc
crw-rw----  1 uucp  dialer  0x81 Jan 21 07:22 cuaud

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.

> I do not know what the other uarts are that are now showing up,
> is there other hardware in this box?

The system board is cuau0 and cuau[a-d]. cuau[2-9] are the ones detected via the
pucdata modifcation. When I look at the board manual

https://dlcdnets.asus.com/pub/ASUS/mb/socketTR4/PRIME_X399-A/E13889_PRIME_X399-A_UM_V3_WEB.pdf

it does not mention any serial ports at all. I'm surprised that it detects
5 other uarts, neither of them can be found anywhere.

> > Any hints on how to debug this ?
> 
> If you remove just the card do the other uarts still show
> up with that same patched kernel?

Then only uart0 and uart2-5 appear, with uart2-5 like uart10-13 now.

-- 
pi_at_opsec.eu            +49 171 3101372                    One year to go !
Received on Mon Jan 21 2019 - 17:58:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC