Hi. On Tuesday 24 July 2012 16:41:57 abdelkader belahcene wrote: > Hi, > I wrote 2 programs in C to read from a serial port and to write in. > > When I used one machine, nullmodem ( output and input) the program ran > correcly, I wrote caracteres then I read them from the same port. ttyS0 > for example. > > they ran correctly when I used a machine with 2 serial ports ttyS0 and > ttyS1, so I send from one port to another. > > When I tried the same programs from one machine using a crossed cable > ( This is what I have to done the output of one machine is an input for > the other), it failed I have to wait very long time, may be for ever !!!!
Usually, nullmodem cable is what you need. Maybee wrong baud rate or something like that? > I remember I didn't once or twice yesterday, but after that no > connection. Is there a special configuration, activation or else ??? In order to check the connection, I probably would start a serial console on one of the machines and minicom on the other... > (on both machines I am using linuxMint, is there any relation with the > distro ??) I don't think so. > thanks a lot > > regards bela You're welcome, Hartwig -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201207241719.37862.hartwig.atr...@arcor.de