Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 19:39:07 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Resetting a serial port
Message-ID:  <20190319193907.b0f51931.freebsd@edvax.de>
In-Reply-To: <6623dd04-822d-dbdb-d2f5-3021debc1c2a@netfence.it>
References:  <6623dd04-822d-dbdb-d2f5-3021debc1c2a@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Mar 2019 17:57:41 +0100, Andrea Venturoli wrote:
> I've got a box connected to an hardware device through a serial port.
> This is a real RS-232 on the motherboard, not an USB adapter.
> 
>  From time to time, the serial port will got stuck and stop 
> communicating with the device.
> This is not a problem with the device, as powering it on and off won't 
> help. Instead rebooting the whole FreeBSD server will solve.

I have successfully done this with a parallel port
(a _real_ one, not an USB adapter):

	# /usr/bin/true > /dev/lpt0

Maybe the corresponding serial device can be reset
in the same way?


-- 
Polytropon
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?20190319193907.b0f51931.freebsd>