public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* login on console=tty with serial input
@ 2007-03-06 10:21 hbruegge
  2007-03-16 13:39 ` Daniel.Wyss
  0 siblings, 1 reply; 3+ messages in thread
From: hbruegge @ 2007-03-06 10:21 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]

Hi everyone.


I just wondering, if anyone outthere can help me. I am currently kind of 
lost.

I have an embedded powerpc based system running with kernel 2.6.20.  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.
A getty program is running on /dev/console, which gives me a login: 
prompt, so I can login via the serial line ttyS0.
All is working pretty perfect.

So far so good. And now here comes my problem. 
To add a better MMI in the future I want to use the graphic card as an 
output.

I added a  graphic card to the system. The kernel configuration includes 
framebuffer support for that particular graphic card. 
After booting the kernel, I can see a /dev/fb0 device and testing with 
'echo "hello" > /dev/fb0', the message "hello" is displayed on the screen. 

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.

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.
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???

So, how do I connect the serial line /dev/ttySx  to the standard input 
path of the virtual console.

Any hint is welcomed. Any manuals to read are also welcomed. 

Thanx

Harald Brüggemann

--------------------------------------------------------
Harald Brüggemann
Rockwell Collins Deutschland GmbH
GrenzhöferWeg 36
D-69046 Heidelberg
Germany
 
Phone:     +49 - 6221 - 512 484
Fax:          +49 - 6221 - 512 301
 
e-mail:   hbruegge@rockwellcollins•com

[-- Attachment #2: Type: text/html, Size: 2935 bytes --]

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

end of thread, other threads:[~2007-03-16 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 10:21 login on console=tty with serial input hbruegge
2007-03-16 13:39 ` Daniel.Wyss
2007-03-16 22:42   ` Alessandro Rubini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox