Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2009 08:46:15 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "Doug Poland" <doug@polands.org>
Cc:        questions@freebsd.org
Subject:   Re: Moxa 8-port serial multiplexor, how-to
Message-ID:  <20090725084615.0342ddd6.freebsd@edvax.de>
In-Reply-To: <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org>
References:  <06297f4d151cb94042e8efd01e04afdb.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Jul 2009 10:32:52 -0500, "Doug Poland" <doug@polands.org> wrote:
> 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.

The file is /boot/device.hints. For each serial port, the
following dataset has to be completed:

	hint.sio.<N>.at="isa"
	hint.sio.<N>.port="0x3F8"	<---+
	hint.sio.<N>.flags="0x10"	<---+--- set up
	hint.sio.<N>.irq="4"		<---+

Still, I don't know how to determine the correct addresses
and IRQs, maybe the documentation belonging to the expansion
card can help...

If I see this correctly, each serial port should then be
visible as a /dev/cuad<N> device file.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090725084615.0342ddd6.freebsd>