||09-06-2004 02:12 AM
Re: Checking device status
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.
>$ dmesg | grep tty
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A