LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Checking device status (http://www.linuxquestions.org/questions/linux-general-1/checking-device-status-227170/)

neerukamra 09-06-2004 12:53 AM

Checking device status
 
How do we check in linux whether the device (for eg: serila port) is enabled or disabled.

HappyTux 09-06-2004 01:12 AM

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



All times are GMT -5. The time now is 05:50 PM.