console output for Linux?

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

wayn3
LCD?
Posts: 7
Joined: Wed Jul 10, 2002 6:00 pm

Post by wayn3 »

How does the Linux audience view console messages on the LCD screen? Ideally, I'd like to see the startup sequence, then switch the control of the display over to another service (lcd4linux or lcdproc) when the boot-up sequence is done.

Is it as simple as passing the "console=/dev/ttyS1" command to the kernel?


<font size=-1>[ This Message was edited by: wayn3 on 2002-07-11 10:19 ]</font>

KzA
LCD?
Posts: 4
Joined: Tue Jul 09, 2002 6:00 pm

Post by KzA »

I am not posting with an answer..ButI am woindering if you have figured anything out yet..I am gettin an LCD very son and would also Love to be able to output console..thanks

ctimmer
LCD!
Posts: 15
Joined: Thu Oct 25, 2001 6:00 pm
Location: Alaska

Post by ctimmer »

You might have a problem with flow control if you designated the LCD tty device as the console. A better solution would be to write a kernel mod (easier than it sounds) to intercept the console output as pass it to the LCD device.

Thlayli
LCD Geek
Posts: 34
Joined: Sun Jan 20, 2002 4:00 pm
Location: Madison, WI
Contact:

Post by Thlayli »

You most definately could not just pass the serial device as a parameter, mostly because of the commands required to display text on the LCD screens. I'm trying to figure out a way for you to do this easily, with a minimum of fuss, but the only real possibility I see is creating a false device that intercepts console output and then manages the display of the text on the lcd. I've done this once before but it was set up after boot, so I'm not sure how you'd manage to get it set up prior to kernel messages and the like being displayed...

guy.named.matt
GPO Room GUY
Posts: 6
Joined: Sun Aug 25, 2002 6:00 pm

Post by guy.named.matt »

I would also like to know the answer to this- please help.

guy.named.matt
GPO Room GUY
Posts: 6
Joined: Sun Aug 25, 2002 6:00 pm

Post by guy.named.matt »

Any ideas Henry?

Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3002
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

I'm no Linux guy, sorry :sad:
Henry J.
President
Matrix Orbital

zedgama3
LCD?
Posts: 5
Joined: Thu Sep 05, 2002 6:00 pm

Post by zedgama3 »

If you are just looking to get the system loading and not the actual kernel load you should be able to have init load a program that would follow the log file and output it to the display. This would show you things as they loaded as well as if they failed or not.

Shak
LCD Guru
Posts: 57
Joined: Tue Jan 01, 2002 4:00 pm
Location: Huddersfield, UK
Contact:

Post by Shak »

what do people want from the Linux program, output from a command directly to the LCD? So it acted like a small terminal?

Shak

linear
evil Dr. linear
evil Dr. linear
Posts: 288
Joined: Wed Aug 15, 2001 6:00 pm
Location: USA
Contact:

Post by linear »

It's a cool idea, but it has some issues in practice. The line length is too short for much of anything of interest, although it may be suitable to use for an intrusion detection system or something that throws messages infrequently.

The 'tail a log file' idea is the straightforward way, something like

Code: Select all

tail -f /var/log/messages > /dev/ttys2 &
Seems to me like it would suffice. Actually grabbing the console is more difficult and perhaps less appropriate to what you want anyhow.

I'd think that between some appropriate entries in syslogd.conf and the tail trick, you should be able to control waht you send the the LCD very well.

(I'm not a Linux person as much as a FreeBSD person, but I wrote a 'mini-shell' that would just exec() programs based on keypresses using the MOPerl out of the downloads section. The idea occurred to me to write a proper termcap entry for an LCD, but I never did it. I think it's come up in this forum before as well.)
BLK202A-4BR-BK + LK202-25-WB-V + LK204-25-V + VK204-25-V + LK-202-24-USB + MX212

Shak
LCD Guru
Posts: 57
Joined: Tue Jan 01, 2002 4:00 pm
Location: Huddersfield, UK
Contact:

Post by Shak »

Its easy to write a program that is executed like this:

Code: Select all

tolcd uname -a
Which just grabs the uname -a string and puts it on the LCD. could be useful, might not be.

Shak

tjonespc
LCD?
Posts: 4
Joined: Tue Oct 15, 2002 9:22 am
Contact:

Post by tjonespc »

Sounds like you need to work with the maker of LCDC to port it over to Linux 8)
Since I don't use AMD or Intel I am working on a new Hamster mod. 12v to the treadmill works wonders for overclocking the little buggers.

Henry
OMNIPRESENT
OMNIPRESENT
Posts: 3002
Joined: Tue Aug 14, 2001 6:00 pm
Contact:

Post by Henry »

Don't know if that will be possible, but we have started looking into getting some one to write a Linux program for us. It's going to be closed source, I'm sure we will catch allot of flack for that one, but I belive it will be the best Linux LCD software when it's done.
Henry J.
President
Matrix Orbital

greeno76
LCD?
Posts: 1
Joined: Mon Mar 24, 2003 3:55 am
Location: London, United Kingdom
Contact:

Linux LCD prog

Post by greeno76 »

How's progress on the Linux app you mentioned?

I just bought a LCD screen and installed LCD4Linux which has so far failed to 'make' on my Redhat 8 so would be very interested.
Cheers
Jason

Hallis
LCD Geek
Posts: 27
Joined: Wed Mar 19, 2003 10:40 pm
Location: Dallas, Tx
Contact:

Post by Hallis »

Henry wrote:Don't know if that will be possible, but we have started looking into getting some one to write a Linux program for us. It's going to be closed source, I'm sure we will catch allot of flack for that one, but I belive it will be the best Linux LCD software when it's done.
I'm not going to rip you on it but why closed source? I would think you'd get alot more done faster if it were open. All we need is a port of LCDC to Linux,, i think thats about as gould as one could ever need or want :D

Post Reply