ttyS0 ttyS1
Charles Krinke
ckrinke at istor.com
Sat Mar 24 03:10:51 EST 2007
Dear Otto:
You might check that the dev entry points in your root file system for /dev/tty, /dev/console, /dev/ttyS0 and /dev/ttyS1 all exist. They must be created with mknod and not with mkdir.
These are the settings you should see with an 'ls' of the target's root filesystem on the host which has created it. All of these entries should be character devices as shown by the first bit of the permissions being a 'c'.
/dev/console 5 1
/dev/tty 5 0
/dev/ttyS0 4 64
/dev/ttyS1 4 65
Charles Krinke
________________________________
From: linuxppc-embedded-bounces+ckrinke=istor.com at ozlabs.org on behalf of oparz at compuserve.de
Sent: Fri 3/23/2007 3:43 AM
To: linuxppc-embedded at ozlabs.org
Subject: ttyS0 ttyS1
Hello,
i have problems to use ttyS1 on my TQM885 Board.
fd1 = open("/dev/ttyS0",O_RDWR);
fd2 = open("/dev/ttyS1",O_RDWR);
I have expected to get different filehandles, but
both handles for ttyS0 and ttyS1 are 0!
Any help is very appreciated.
_____________________
Dr. Otto Parzhuber
Munich University of Applied Sciences
Fac. of Precision Engineering
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
More information about the Linuxppc-embedded
mailing list