LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-06-2004, 12:53 AM   #1
neerukamra
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Checking device status


How do we check in linux whether the device (for eg: serila port) is enabled or disabled.
 
Old 09-06-2004, 01:12 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Re: Checking device status

Quote:
Originally posted by neerukamra
How do we check in linux whether the device (for eg: serila port) is enabled or disabled.
Looking at the output of dmesg in a console/console window is always a good place to start or if you want to do it quickly something like this in the would work.
Code:
>$ dmesg | grep tty
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking RAID status on Dell / MegaRAID MadRabbit Slackware 9 10-08-2009 05:01 PM
Checking network card status BNI Linux - Networking 1 06-15-2005 05:55 AM
Ethernet interface - checking the status marri Programming 1 03-01-2005 12:15 PM
command(s) for checking ip status stupidloser Linux - Wireless Networking 5 08-10-2004 10:21 AM
checking the status of PPP0 pudhiyavan Linux - Networking 6 01-14-2004 02:47 AM


All times are GMT -5. The time now is 01:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration