Skip to contentSkip to conversation

Support for multiple consoles

DISCUSSION Michael Carey 2 participants 2 messages Sep 12, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

I am using ELDK 3.1.1 on a mpc5200 platform with a CoralP pci card. I = also connecting a keyboard and mouse. When I compile the code without a = virtual console, then my terminal session rules. I can type with my = terminal keyboard and everything seems fine.

When I compile with a virtual console, then my embedded lcd displays text = and my usb keyboard works. Everything is great.

Is there a way to switch back and forth between my embedded console to my = terminal console? I have tried console=3DttyS0, but that does not seem to = do anything.
When I list my devices: 'ls /dev' I only get tty, ttyS0, ttyS1, and ttyS2. =
I do not see a tty0.

Is there a way to run multiple consoles on this configuration? If not, = does to ELDK 4.x support this?

Thanks in advance for any information or guidance.

Michael Carey

#1 lore raw
Quoted 10 lines · Michael Carey

Hi All,

I am using ELDK 3.1.1 on a mpc5200 platform with a CoralP pci card. I also connecting a keyboard and mouse. When I compile the code without a virtual console, then my terminal session rules. I can type with my terminal keyboard and everything seems fine.

When I compile with a virtual console, then my embedded lcd displays text and my usb keyboard works. Everything is great.

Is there a way to switch back and forth between my embedded console to my terminal console? I have tried console=ttyS0, but that does not seem to do anything. When I list my devices: 'ls /dev' I only get tty, ttyS0, ttyS1, and ttyS2. I do not see a tty0.

Is there a way to run multiple consoles on this configuration? If not, does to ELDK 4.x support this?

You should be able to get both consoles working. You probably aren't running a login process on the second console. I haven't done this recently, but reading about getty should give you some clues. This used to be controled through inittab but inittab is gone on my desktop so I don't know what controls it anymore.

Quoted 11 lines

Thanks in advance for any information or guidance.

Michael Carey

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Signature · 2 lines
Jon Smirl
[email protected]