Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 15:25:35 -0500
From:      "Doug Poland" <doug@polands.org>
To:        "WATANABE Kazuhiro" <CQG00620@nifty.ne.jp>
Cc:        Doug Poland <doug@polands.org>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Moxa 8-port serial multiplexor, how-to
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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