* [ECOS] Interrupt or other trigger on serial connection?
@ 2006-08-24 15:52 Andre-John Mas
2006-08-24 19:46 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: Andre-John Mas @ 2006-08-24 15:52 UTC (permalink / raw)
To: ecos-discuss
Hi,
I have been asked to display a message to the serial console when
a serial connection is established. What methods are available to
me to know that a serial connection has been established, so I can
display this message. Is there also something to let me know that
the serial connection has been closed, so I can log out any
administration sessions that had been opened?
I a using an Adder II based card, if that changes anything?
Andre
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] Interrupt or other trigger on serial connection?
2006-08-24 15:52 [ECOS] Interrupt or other trigger on serial connection? Andre-John Mas
@ 2006-08-24 19:46 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2006-08-24 19:46 UTC (permalink / raw)
To: Andre-John Mas; +Cc: ecos-discuss
Andre-John Mas wrote:
> Hi,
>
> I have been asked to display a message to the serial console when
> a serial connection is established. What methods are available to
> me to know that a serial connection has been established, so I can
> display this message. Is there also something to let me know that
> the serial connection has been closed, so I can log out any
> administration sessions that had been opened?
>
> I a using an Adder II based card, if that changes anything?
There's no standard for this. The best you can do, if the hardware
device supports it, is detect certain OOB [control] signals which
are only asserted when something is connected & turned on. On the
Adder, you might be able to do this, but only on the SCC port as
the SMC port does not have any handshake/control pins.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-24 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-24 15:52 [ECOS] Interrupt or other trigger on serial connection? Andre-John Mas
2006-08-24 19:46 ` Gary Thomas
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 read-only IMAP folder(s) and NNTP newsgroup(s).