How to reset serial device from shell?
Hello, I have a Linux box with a bunch of plug-in cards that are configured as serial devices (ttyUSB and ttyS). Sometimes these devices appear to get stuck. I would like to know if there is a command I can run from the Linux shell that will "reset" or "restart" a particular one (or more) of these devices. If all else fails, rebooting the server usually brings them back to life but I would prefer to have a less disruptive option.
Thanks! John |
First of all, DON'T DOUBLE POST.
Try doing something like Code:
# tput reset > /dev/ttyXX |
All times are GMT -5. The time now is 05:55 PM. |