From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 07:34:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA44137B401 for ; Thu, 31 Jul 2003 07:34:15 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F77E43F3F for ; Thu, 31 Jul 2003 07:34:15 -0700 (PDT) (envelope-from jshamlet@comcast.net) Received: from [192.168.1.1] (pcp04633217pcs.gambrl01.md.comcast.net[68.49.68.116](untrusted sender)) by comcast.net (sccrmhc11) with SMTP id <2003073114341401100o8oa9e>; Thu, 31 Jul 2003 14:34:14 +0000 From: "J. Seth Henry" To: stanb@panix.com Content-Type: text/plain Organization: Message-Id: <1059662053.28758.8.camel@alexandria> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 31 Jul 2003 10:34:14 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: RE: Help PLEASE! on proper kernel config file to use serial ports with puc driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 14:34:16 -0000 All you need in your kernel config is 'device puc'. You already appear to have this in your config, as your system detected the adapter. You will have to "sh MAKEDEV cuaa" (where 0 < n < NUM_PORTS) to get the device nodes in your /dev directory. Alternately, since they have sequential minor numbers, you can make them yourself. 'mknod cuaa0 c 28,128 root:wheel' 'mknod cuaa1 c 28,129 root:wheel' 'mknod cuaa2 c 28,130 root:wheel' 'mknod cuaa3 c 28,131 root:wheel' 'mknod cuaa4 c 28,131 root:wheel' 'mknod cuaa5 c 28,131 root:wheel' You can also do this for the tty nodes as well. I prefer making the nodes myself, but the MAKEDEV script will do the same thing. Good luck, Seth Henry >OK, I've spent all night complaining kernels with no luck. I've read >the man page for puc, I've read the man page for sio, I've looked at >the code for puc, I've searched d Googlee, and STILL I can't get sio >devices assigned to my PCI serial port card. > > It's detected as: > >puc0: port 0xfce0-0xfcff irq 11 at device >6.0 on pci0 >sio4: type 16550A >sio5: type 16550A > > >But I feel certain I don't have the correct syntax in my kernel conf >file for the sio ports I want to assign to this.