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: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Fri 3/23/2007 3:43 AM
To: [email protected]
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
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to