<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=738091813-16032007><FONT face=Arial
color=#0000ff size=2>Hi Harald</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=738091813-16032007>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US">Did
you find a solution for your problem? </SPAN><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=3><FONT color=#000000><FONT
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US">I
have almost a similar problem. </SPAN><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US">On
a MPC885 board I have one serial line, an Ethernet port and a QVGA display with
a /dev/fb.</SPAN><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US">As
GUI library, I started to evaluate Nano-X, FLTK and wxWitgets. But there is the
problem that I don't have keyboard input whether form the serial line nor form a
remote shell (Ethernet). </SPAN><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US">As
far I understand the matter the problem is that the console that is running on
the frame buffer needs as input a keyboard device and not a serial line.
Unfortunately I found till now no solution to redirect the serial line to a
keyboard device. </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial; mso-ansi-language: EN-US"></SPAN><SPAN
lang=EN-US
style="mso-ansi-language: EN-US"><o:p></o:p></SPAN>&nbsp;</P></SPAN></FONT><FONT
face=Arial color=#0000ff size=2><SPAN
class=738091813-16032007></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=738091813-16032007>Regards</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=738091813-16032007>Daniel
Wyss</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=738091813-16032007><!-- Converted from text/plain format -->
<P><FONT size=2>----------------------------------------------<BR>SECURITON AG
Alarm- und Sicherheitssysteme<BR><BR>Daniel Wyss<BR>Entwicklung
Sicherheitssysteme<BR>Alpenstrasse 20<BR>CH - 3052
Zollikofen<BR><BR>Phone:&nbsp; +41 31 910 11 22<BR>Fax:&nbsp;&nbsp;&nbsp; +41 31
910 13 03<BR>Direct: +41 31 910 14 37&nbsp;&nbsp;<BR>E-Mail:
daniel.wyss@securiton.ch<BR><A
href="http://www.securiton.ch/">http://www.securiton.ch</A><BR>----------------------------------------------</FONT>
</P></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B>
  linuxppc-embedded-bounces+daniel.wyss=securiton.ch@ozlabs.org
  [mailto:linuxppc-embedded-bounces+daniel.wyss=securiton.ch@ozlabs.org] <B>On
  Behalf Of </B>hbruegge@rockwellcollins.com<BR><B>Sent:</B> Tuesday, March 06,
  2007 11:22 AM<BR><B>To:</B> linuxppc-embedded@ozlabs.org<BR><B>Subject:</B>
  login on console=tty with serial input<BR></FONT><BR></DIV>
  <DIV></DIV><BR><FONT face=sans-serif size=2>Hi everyone.</FONT>
  <BR><BR><BR><FONT face=sans-serif size=2>I just wondering, if anyone outthere
  can help me. I am currently kind of lost.</FONT> <BR><BR><FONT face=sans-serif
  size=2>I have an embedded powerpc based system running with kernel 2.6.20.
  &nbsp;The system has only two serial lines and no PS/2 or USB support.
  Therefore I control the system via a serial console ( passing the commandline
  arg: console=ttyS0,57600) and a terminal.</FONT> <BR><FONT face=sans-serif
  size=2>A getty program is running on /dev/console, which gives me a login:
  prompt, so I can login via the serial line ttyS0.</FONT> <BR><FONT
  face=sans-serif size=2>All is working pretty perfect.</FONT> <BR><BR><FONT
  face=sans-serif size=2>So far so good. And now here comes my problem.
  </FONT><BR><FONT face=sans-serif size=2>To add a better MMI in the future I
  want to use the graphic card as an output.</FONT> <BR><BR><FONT
  face=sans-serif size=2>I added a &nbsp;graphic card to the system. The kernel
  configuration includes framebuffer support for that particular graphic card.
  </FONT><BR><FONT face=sans-serif size=2>After booting the kernel, I can see a
  /dev/fb0 device and testing with 'echo "hello" &gt; /dev/fb0', the message
  "hello" is displayed on the screen. </FONT><BR><FONT face=sans-serif
  size=2>Also if I add the commandline arg: console=tty console=ttyS0,57600 , I
  get all kernel messages displayed, not only on the serial line, but also on
  the screen via the framebuffer.</FONT> <BR><BR><FONT face=sans-serif size=2>So
  basically, what I want is graphical output (dev/fb0) with serial input
  (/dev/ttyS0). The user sees a login prompt on the screen and can enter
  characters by a terminal program connected to the serial line.</FONT>
  <BR><FONT face=sans-serif size=2>Right to that point I always used the serial
  console for user interaction. By adding only the commandline argument
  console=tty, I get a nice login prompt on the graphic screen. BUT I have no
  input via the serial line???</FONT> <BR><BR><FONT face=sans-serif size=2>So,
  how do I connect the serial line /dev/ttySx &nbsp;to the standard input path
  of the virtual console.</FONT> <BR><BR><FONT face=sans-serif size=2>Any hint
  is welcomed. Any manuals to read are also welcomed. </FONT><BR><BR><FONT
  face=sans-serif size=2>Thanx</FONT> <BR><BR><FONT face=sans-serif
  size=2>Harald Brüggemann</FONT> <BR><FONT face=sans-serif
  size=2><BR>--------------------------------------------------------<BR>Harald
  Brüggemann<BR>Rockwell Collins Deutschland GmbH<BR>GrenzhöferWeg 36<BR>D-69046
  Heidelberg<BR>Germany<BR><BR>Phone:&nbsp;&nbsp;&nbsp;&nbsp; +49 - 6221 - 512
  484<BR>Fax:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;+49 - 6221 - 512
  301<BR><BR>e-mail:&nbsp;&nbsp;&nbsp;hbruegge@rockwellcollins.com</FONT></BLOCKQUOTE></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000><html><br>
<body><br>
<font face = "arial" size = "1"><br>
---------------------------------------------------------------------------------------------------------<br>
This e-mail is confidential and may contain privileged information.<br>
It is intended only for the addressees. If you have received this<br>
e-mail in error, kindly notify us immediately by telephone or e-mail<br>
and delete the message from your system.<br>
---------------------------------------------------------------------------------------------------------<br>
</font><br>
</body><br>
</html><br>
</font></td></tr></table>