LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to reset serial device from shell? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-reset-serial-device-from-shell-450083/)

jblevin 05-30-2006 08:46 PM

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

osor 05-30-2006 09:04 PM

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.