Thread (3 messages) 3 messages, 3 authors, 2007-03-23

RE: ttyS0 ttyS1

From: Charles Krinke <hidden>
Date: 2007-03-23 16:15:45

Dear Otto:
=20
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.=20
=20
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'.
=20
/dev/console 5 1
/dev/tty 5 0
/dev/ttyS0 4 64
/dev/ttyS1 4 65
=20
Charles Krinke

________________________________

From: linuxppc-embedded-bounces+ckrinke=3Distor.com@ozlabs.org on behalf =
of oparz@compuserve.de
Sent: Fri 3/23/2007 3:43 AM
To: linuxppc-embedded@ozlabs.org
Subject: ttyS0 ttyS1



Hello,
i have problems to use ttyS1 on my TQM885 Board.

fd1 =3D open("/dev/ttyS0",O_RDWR);
fd2 =3D 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@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help