LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-30-2006, 08:47 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-31-2006, 01:31 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
stty would be the most standard tool for managing serial ports. If you really mean devices that are attached to serial ports, then the devices would each have their own specific methods for resetting them to any particular state.

--- rod.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to reset serial device from shell? jblevin Linux - Newbie 1 05-30-2006 09:04 PM
Shell variable in Linux is reset after while loop CBenner Programming 7 05-19-2006 09:46 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration