From: Jan P. <jp...@mg...> - 2009-08-20 13:58:36
|
Hi All, Since a day or two, I'm now using lcd4linux to show some messages on a MatrixOrbital LK202-25 LCD Display. Everything is working fine, I also managed to get my own personal message on the display when it is turned on. But now I would like to automatically start lcd4linux when my ubuntu boots. So I followed the guide on the website and created the lcd4linux file under /etc/init.d/ with the code found here (http://ssl.bulix.org/projects/lcd4linux/wiki/Howto) and I also created the softlink /etc/rc5.d/S99lcd4linux But when I boot my Ubuntu, the lcd4linux isn't starting at all. Should I do something more to launch the lcd4linux when booting Ubuntu??? An other issue that I would like to solve is that when I manually boot lcd4linux (sudo /etc/init.d/lcd4linux start) I first get a message: LCD4Linux 0.11.0-SVN lcd4linux.bulix.org I would like to remove this message and replace it with my own. Where should I change this message? I figured out that the message is in the file drv_generic_text.c, but I think that that's not the place to change the message since at that point, I'm messing with the main code... All help would be great!! Thanks in advance! Jan Pannecoeck |
From: Jan P. <jp...@mg...> - 2009-08-20 14:14:26
|
Hi, Ok the first part of my question is already solved... Using the method: update-rc.d lcd4linux defaults solved my problem and lcd4linux is now running when booting the system... Jan Pannecoeck Jan Pannecoeck wrote: > Hi All, > > Since a day or two, I'm now using lcd4linux to show some messages on a > MatrixOrbital LK202-25 LCD Display. Everything is working fine, I also > managed to get my own personal message on the display when it is turned on. > > But now I would like to automatically start lcd4linux when my ubuntu > boots. So I followed the guide on the website and created the lcd4linux > file under /etc/init.d/ with the code found here > (http://ssl.bulix.org/projects/lcd4linux/wiki/Howto) and I also created > the softlink /etc/rc5.d/S99lcd4linux > > But when I boot my Ubuntu, the lcd4linux isn't starting at all. Should I > do something more to launch the lcd4linux when booting Ubuntu??? > > An other issue that I would like to solve is that when I manually boot > lcd4linux (sudo /etc/init.d/lcd4linux start) I first get a message: > > LCD4Linux 0.11.0-SVN > lcd4linux.bulix.org > > I would like to remove this message and replace it with my own. Where > should I change this message? I figured out that the message is in the > file drv_generic_text.c, but I think that that's not the place to change > the message since at that point, I'm messing with the main code... > > All help would be great!! > > Thanks in advance! > Jan Pannecoeck > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Lcd4linux-users mailing list > Lcd...@li... > https://lists.sourceforge.net/lists/listinfo/lcd4linux-users > > |
From: Martin H. <ma...@he...> - 2009-08-20 17:35:44
|
Dear Jan, > An other issue that I would like to solve is that when I manually boot > lcd4linux (sudo /etc/init.d/lcd4linux start) I first get a message: > > LCD4Linux 0.11.0-SVN > lcd4linux.bulix.org > > I would like to remove this message and replace it with my own. Where > should I change this message? I figured out that the message is in the > file drv_generic_text.c, but I think that that's not the place to change > the message since at that point, I'm messing with the main code... > As far as I know, that's the only option, to get a custom message. Running lcd4linux with the "-q" switch supresses the message altogether (if I recall correctly), but I'm not aware of setting a custom message without hacking the source code. I hope that helps Martin |
From: Michael R. <mi...@re...> - 2009-08-21 03:43:46
|
Hi Jan, Martin, >> An other issue that I would like to solve is that when I manually boot >> lcd4linux (sudo /etc/init.d/lcd4linux start) I first get a message: >> >> LCD4Linux 0.11.0-SVN >> lcd4linux.bulix.org >> >> I would like to remove this message and replace it with my own. Where >> should I change this message? I figured out that the message is in the >> file drv_generic_text.c, but I think that that's not the place to change >> the message since at that point, I'm messing with the main code... >> > As far as I know, that's the only option, to get a custom message. > Running lcd4linux with the "-q" switch supresses the message altogether > (if I recall correctly), but I'm not aware of setting a custom message > without hacking the source code. Martin is right: there is no way to customize the startup message, you can only suppress it using the -q flag. bye, Michael -- Michael Reinelt <mi...@re...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Jan P. <jp...@mg...> - 2009-08-21 08:03:47
|
Hi all, Thanks for the information, I used the -q option and everything is fine. My welcome message is shown until the lcd4linux is booted on the Ubuntu platform. At that point, my data is shown as it should, without the startup message!! Thanks Jan Pannecoeck Michael Reinelt wrote: > Hi Jan, Martin, > > >>> An other issue that I would like to solve is that when I manually boot >>> lcd4linux (sudo /etc/init.d/lcd4linux start) I first get a message: >>> >>> LCD4Linux 0.11.0-SVN >>> lcd4linux.bulix.org >>> >>> I would like to remove this message and replace it with my own. Where >>> should I change this message? I figured out that the message is in the >>> file drv_generic_text.c, but I think that that's not the place to change >>> the message since at that point, I'm messing with the main code... >>> >>> >> As far as I know, that's the only option, to get a custom message. >> Running lcd4linux with the "-q" switch supresses the message altogether >> (if I recall correctly), but I'm not aware of setting a custom message >> without hacking the source code. >> > > Martin is right: there is no way to customize the startup message, you can only suppress it using the -q flag. > > bye, Michael > > |