On Fri, 2011-11-18 at 00:23 +0000, McClintock Matthew-B29882 wrote:
> I'm mostly soliciting ideas for how we detect if a serial port is
> actually present besides 'dmesg'

I guess the obvious one is to try opening it.  Something like:

if [ true < /dev/ttyS0 ]; then
  echo present
else
  echo not present
fi

maybe.  Or teach init not to try to spawn getty on ttys that don't exist
and leave the inittab alone.

p.



_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to