From owner-freebsd-questions@FreeBSD.ORG Wed Jul 29 20:25:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A46F91065673 for ; Wed, 29 Jul 2009 20:25:42 +0000 (UTC) (envelope-from doug@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 5F6EE8FC15 for ; Wed, 29 Jul 2009 20:25:42 +0000 (UTC) (envelope-from doug@polands.org) Received: from haran.polands.org ([75.87.219.217]) by hrndva-omta04.mail.rr.com with ESMTP id <20090729202541416.UPAY17500@hrndva-omta04.mail.rr.com>; Wed, 29 Jul 2009 20:25:41 +0000 Received: from email.polands.org (ammon.polands.org [172.16.1.7]) by haran.polands.org (8.14.3/8.14.3) with ESMTP id n6TKPY82070427; Wed, 29 Jul 2009 15:25:35 -0500 (CDT) (envelope-from doug@polands.org) Received: from 209.103.197.18 (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 29 Jul 2009 15:25:35 -0500 Message-ID: <6579ba376a1ddbe9c4edc1e0d750bdc3.squirrel@email.polands.org> In-Reply-To: <20090729170409.979FF7816C@mail2.asahi-net.or.jp> References: <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org> <20090729170409.979FF7816C@mail2.asahi-net.or.jp> Date: Wed, 29 Jul 2009 15:25:35 -0500 From: "Doug Poland" To: "WATANABE Kazuhiro" User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Doug Poland , freebsd-questions Subject: Re: Moxa 8-port serial multiplexor, how-to X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 20:25:43 -0000 On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote: > > At Fri, 24 Jul 2009 10:32:52 -0500, > Doug Poland wrote: >> Hello, >> >> I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card >> working in 7.2-RELEASE(i386). >> >> I've recompiled a GENERIC kernel with >> >> options COM_MULTIPORT >> >> and loaded the puc(4) module. I don't have any new ttyd? or cuad? >> devices in /dev. >> >> After reading the handbook(26.2) and man puc(4), sio(4). man sio(4) >> talks about adding /boot/device.hints but not for my particular >> hardware. I'm at a loss on how to continue. >> >> Suggestions, pointers, URLs welcome. >> >> > Hi. > > If you want to load the puc(4) driver as a loadable module, you should > load the sio(4) or uart(4) driver module as well. But these drivers > are included in the GENERIC kernel. So you should to remove sio(4) or > uart(4) from the kernel and load it as a loadable module. > > The other solution is to builtin the puc(4) driver to the > kernel. i.e.: > > sio(4) puc(4) status > or uart(4) > ---------------------------------------- > module module work > builtin builtin work > builtin module not work <- current choice? > module builtin not work > ---------------------------------------- > (module = loadable module, builtin = kernel builtin) > > Other modifications will not be needed for PCI multiport cards. > I removed devices sio and uart from my kernel, loaded them as modules in /boot/loader.conf, and now I have 8 additional cuad? devices! Many thanks for your help. -- Regards, Doug