From owner-freebsd-hardware@FreeBSD.ORG Mon May 23 14:32:22 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9E5106564A for ; Mon, 23 May 2011 14:32:22 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 365958FC08 for ; Mon, 23 May 2011 14:32:22 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id DBF3046CD9; Mon, 23 May 2011 10:32:21 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 810188A050; Mon, 23 May 2011 10:32:21 -0400 (EDT) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Mon, 23 May 2011 10:26:54 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <20110522110002.GB91694@titania.njm.me.uk> In-Reply-To: <20110522110002.GB91694@titania.njm.me.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105231026.54178.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 23 May 2011 10:32:21 -0400 (EDT) Cc: "N.J. Mann" Subject: Re: Sunix 4056A PCI 4 port RS-232 card - only 2 ports configured X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 14:32:22 -0000 On Sunday, May 22, 2011 7:00:02 am N.J. Mann wrote: > Hi, > > > I am trying to setup a console server, but I am having a problem with > the hardware. The RS-232 card I am using is a Sunix 4056A Universal PCI > 4 port RS-232 card. However, only two ports are being configured, uart2 > and uart3 - uart0 and uart1 are on the motherboard. I had assumed that > all I had to do was install the card, add puc(4) to my kernel and it > would just work. > > uname: > ------ > FreeBSD 9.0-CURRENT #0: Thu May 19 15:01:10 UTC 2011 i386 > > I CVSup'ed about fours before then. > > > relevant parts of verbose dmesg: > -------------------------------- > found-> vendor=0x1409, dev=0x7168, revid=0x01 > domain=0, bus=0, slot=10, func=0 > class=07-00-02, hdrtype=0x00, mfdev=0 > cmdreg=0x0081, statreg=0x0280, cachelnsz=0 (dwords) > lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) > intpin=a, irq=3 > map[10]: type I/O Port, range 32, base 0xe000, size 5, enabled > map[14]: type I/O Port, range 32, base 0xe400, size 4, enabled > pcib0: matched entry for 0.10.INTA > pcib0: slot 10 INTA hardwired to IRQ 18 > [...] > puc0: port 0xe000-0xe01f,0xe400-0xe40f irq 18 at device 10.0 on pci0 > ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 52 > uart2: <16550 or compatible> on puc0 > uart2: fast interrupt > uart3: <16550 or compatible> on puc0 > uart3: fast interrupt > > > I can provide a full verbose dmesg if required, together with any other > information which may be relevant. > > Any and all help gratefully received. Hmm, for Timedia it looks like the puc(4) driver uses the subvendor device ID to figure out how many ports your card has, but it does see 4 ports (the device descrption is correct). Does 'devinfo -v' show any other child devices of 'puc0' besides the two uart devices? -- John Baldwin