Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 18:26:36 -0600
From:      Mike Karels <mike@karels.net>
To:        freebsd-stable@freebsd.org
Subject:   support for Oxford Semiconductor OXPCIe952 / 16950-compatible UARTs
Message-ID:  <201611240026.uAO0Qawl040560@mail.karels.net>

next in thread | raw e-mail | index | archive | help
I recently upgraded my main FreeBSD machine, and bought a cheap Rosewill
PCI-e dual UART card to replace the old PCI card.  I'm having problems
getting anything to work, though, as programs like tip hang when doing a
TIOCSETAW to set parameters; ^T says "ttyout" as the wchan.  I have a
modem attached to one port, an antique serial device on the other; they
act the same.  Has anyone seen this, or figured out how to get past it?
Some Googling hasn't yielded any recent results.

The details:

dmesg:
puc0: <Oxford Semiconductor OXPCIe952 UARTs> mem 0xf9600000-0xf9603fff,0xf9400000-0xf95fffff,0xf9200000-0xf93fffff irq 16 at device 0.0 numa-domain 0 on pci10
puc0: 2 UARTs detected
uart2: <16950 or compatible> at port 1 on puc0
uart3: <16950 or compatible> at port 2 on puc0

pciconf -l:
puc0@pci0:112:0:0:      class=0x070002 card=0xc1581415 chip=0xc1581415 rev=0x00 hdr=0x00

pstat -t while hanging:
$ pstat -t
      LINE   INQ  CAN  LIN  LOW  OUTQ  USE  LOW   COL  SESS  PGID STATE
     ttyu2     0    0    0    0     0    0    0    17     0     0 IC
     ttyu3  1920    0    0  192  1984    0  199    17     0     0 ICOo

Thanks in advance,

		Mike



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