Unable to communicate using serial port (COM1) /dev/ttys0
I am trying to communicate between a Linux machine and a windows machine thru a serial port null modem connection. (I actually tried from windows to windows using hyperterminal feature, it works). But from Linux I am not able to communicate. if I try to write to the device using echo it gives the following error.
[root@vinayswaroop root]# echo hello > /dev/ttys0
bash: /dev/ttys0: Input/output error
if I give setserial -a also it gives the same thing.
[root@vinayswaroop root]# setserial -a /dev/ttys0
/dev/ttys0: Input/output error
I tried minicom even with that I am not able to communicate. If anyone has done this before please help me.
My main goal is to redirect all the kernel boot messages to the hyper terminal in windows 2000. for that I am using kernel command line arguments (GRUB command line). using console=/dev/ttys0,115200 option. since it didn't work I tried the above mentioned steps to check whether the serial port works.
Thanksss in advance
Last edited by vinaybms; 03-11-2005 at 06:21 AM.