Moxa 8-port serial multiplexor, how-to

Doug Poland doug at polands.org
Wed Jul 29 20:25:43 UTC 2009


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



More information about the freebsd-questions mailing list