linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ttyS0 ttyS1
@ 2007-03-23 16:50 oparz
  0 siblings, 0 replies; 4+ messages in thread
From: oparz @ 2007-03-23 16:50 UTC (permalink / raw)
  To: linuxppc-embedded

Hello Charles,
thank you, but the dev entries are correct (created with mknod:)

root@/># ls -l ttyS*
crw------- 1 0 0 4, 64 Jun 7 2005 ttyS0
crw------- 1 0 0 4, 65 Jun 7 2005 ttyS1

following is a part of dmesg output:
....
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRG1
ttyS1 at 0x0380 is on SMC2 using BRG2
....

the serial interface ttyS0 is working properly...but ttyS1 is responding
to the same pins as ttyS0

best regards
otto

\0

^ permalink raw reply	[flat|nested] 4+ messages in thread
* ttyS0 ttyS1
@ 2007-03-23 10:43 oparz
  2007-03-23 16:10 ` Charles Krinke
  2007-03-23 17:12 ` Dan Malek
  0 siblings, 2 replies; 4+ messages in thread
From: oparz @ 2007-03-23 10:43 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-23 17:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-23 16:50 ttyS0 ttyS1 oparz
  -- strict thread matches above, loose matches on Subject: below --
2007-03-23 10:43 oparz
2007-03-23 16:10 ` Charles Krinke
2007-03-23 17:12 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).