LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-30-2006, 08:46 PM   #1
jblevin
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
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
 
Old 05-30-2006, 09:04 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
First of all, DON'T DOUBLE POST.

Try doing something like
Code:
# tput reset > /dev/ttyXX
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell variable in Linux is reset after while loop CBenner Programming 7 05-19-2006 09:46 AM
SMC 2835W device soft reset timed out :-( janelders Linux - Wireless Networking 2 04-03-2005 02:27 PM
reset the tape device ust Linux - Software 5 02-03-2005 07:09 AM
Prism 54 Device soft reset timed out totothehero Linux - Wireless Networking 1 01-18-2005 03:40 PM
wg511 on mandrake10 - device reset time out kvichak Linux - Wireless Networking 2 08-23-2004 04:04 PM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration