Resetting a serial port

Polytropon freebsd at edvax.de
Tue Mar 19 18:39:13 UTC 2019


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, ...


More information about the freebsd-questions mailing list