linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Modem control on 860/855
@ 2000-03-09 23:08 Coenraad Jacobsz
  2000-03-09 23:23 ` Dan Malek
  0 siblings, 1 reply; 2+ messages in thread
From: Coenraad Jacobsz @ 2000-03-09 23:08 UTC (permalink / raw)
  To: linuxppc-embedded


Hi everyone

Has anybody implemented modem control for the 860/855 SCC/SMC?  We need
to use the CTS/RTS for standard flow control and possibly DSR/DTR/DCD
lines as well.  If you could point me to existing source of offer any
suggestions it would be appreciated.

Then a question that is perhaps more related to standard Linux/UNIX
coding:
How does an application read the values of DCD and other inputs?

Thanks,
Coenraad

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Modem control on 860/855
  2000-03-09 23:08 Modem control on 860/855 Coenraad Jacobsz
@ 2000-03-09 23:23 ` Dan Malek
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2000-03-09 23:23 UTC (permalink / raw)
  To: Coenraad Jacobsz; +Cc: linuxppc-embedded


Coenraad Jacobsz wrote:


> Has anybody implemented modem control for the 860/855 SCC/SMC?

Well, SMCs don't have any modem control on the 8xx.  Some board
designs, like Embedded Planet, route the signals to an external
control register so you could try to manage the ports in software.....

I left remnants of code in the uart driver where this is supposed to
happen for the SCCs, but haven't been back to visit.  With the exception
of one current project, that doesn't really need them for flow control
but rather device control, all of the applications I have done use the
SCCs for some purpose other than uarts.  Custom drivers were written
in those cases.

> .....  We need
> to use the CTS/RTS for standard flow control and possibly DSR/DTR/DCD
> lines as well.  If you could point me to existing source of offer any
> suggestions it would be appreciated.

The remnants are there.  Remove lots of '#if 0', find a place to generate
the proper control registers for the SCCs to make this happen, and you
should be close.


> How does an application read the values of DCD and other inputs?

Use ioctl()'s to tty devices.



	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-03-09 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-09 23:08 Modem control on 860/855 Coenraad Jacobsz
2000-03-09 23:23 ` 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).