From: Jonathan M. <jmc...@gm...> - 2011-05-01 23:02:53
|
Hi, I am wondering what the easiest method of making lcd4linux clear the screen and dim the backlight on a Matrix Orbital LCD display upon shutdown. My current thinking is to create an script in /etc/rc0.d/ to run a second lcd4linux instance with a modified config file to simply clear the screen and dim the backlight and exit, however this seems wasteful. Other ideas involve using eval() check for the existence of /etc/nologin and use a widget with no graphic to set the contrast of the LCD. This has the advantage of only using one lcd4linux instance. However it has now has to poll for the existence of /etc/nologin now. Does anyone know of any nicer methods? Thanks, Jon |
From: Stefan K. <ste...@cr...> - 2011-05-02 06:48:12
|
Hi Jonathan, Jonathan McCrohan schrieb am 02.05.2011 01:02: > > I am wondering what the easiest method of making lcd4linux clear the > screen and dim the backlight on a Matrix Orbital LCD display upon shutdown. I was very surprised with my GLCD2USB plugged into my PC Engines Alix board. 1st the display was off. During boot as the USB driver loads the display came to life and the display screensaver [1] ran. When lcd4linux started, normal content was shown [2]. On shutdown the same in opposit happened. At the end, all was dark and off. > My current thinking is to create an script in /etc/rc0.d/ to run a > second lcd4linux instance with a modified config file to simply clear > the screen and dim the backlight and exit, however this seems wasteful. I would do it this way. However I wish to have a way to alter the brightness during run without changching the config file and restart lcd4linux. [1] http://gallery.port23.de/v/bastard/lcd/GLCD2USB/glcd2usb+061.JPG.html [2] http://gallery.port23.de/v/bastard/lcd/GLCD2USB/glcd2usb+066.png.html Bye Stefan |
From: Till H. / L. <li...@ha...> - 2011-05-02 15:39:30
|
Hi, that's unintended. The glcd2usb should be painting some simple "splash screen" while not being used. This sounds like your board is switching USB power on and off on driver load/unload. Till On Monday, May 02, 2011 08:16:50 Stefan Krister wrote: > Hi Jonathan, > > Jonathan McCrohan schrieb am 02.05.2011 01:02: > > I am wondering what the easiest method of making lcd4linux clear the > > screen and dim the backlight on a Matrix Orbital LCD display upon > > shutdown. > > I was very surprised with my GLCD2USB plugged into my PC Engines Alix > board. 1st the display was off. During boot as the USB driver loads the > display came to life and the display screensaver [1] ran. When lcd4linux > started, normal content was shown [2]. > > On shutdown the same in opposit happened. At the end, all was dark and off. > > > My current thinking is to create an script in /etc/rc0.d/ to run a > > second lcd4linux instance with a modified config file to simply clear > > the screen and dim the backlight and exit, however this seems wasteful. > > I would do it this way. However I wish to have a way to alter the > brightness during run without changching the config file and restart > lcd4linux. > > [1] http://gallery.port23.de/v/bastard/lcd/GLCD2USB/glcd2usb+061.JPG.html > [2] http://gallery.port23.de/v/bastard/lcd/GLCD2USB/glcd2usb+066.png.html > > Bye > > Stefan > > --------------------------------------------------------------------------- > --- WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Lcd4linux-users mailing list > Lcd...@li... > https://lists.sourceforge.net/lists/listinfo/lcd4linux-users |
From: Andreas W. <an...@t-...> - 2011-05-02 16:39:46
|
Hi, maybe there is an Option in Bios Setup to keep the usb ports on power or not? Regards, Andreas -----Ursprüngliche Nachricht----- Von: Till Harbaum / Lists [mailto:li...@ha...] Gesendet: Montag, 2. Mai 2011 17:13 An: lcd...@li... Betreff: Re: [lcd4linux] lcd4linux clean shutdown Hi, that's unintended. The glcd2usb should be painting some simple "splash screen" while not being used. This sounds like your board is switching USB power on and off on driver load/unload. Till On Monday, May 02, 2011 08:16:50 Stefan Krister wrote: > Hi Jonathan, > > Jonathan McCrohan schrieb am 02.05.2011 01:02: > > I am wondering what the easiest method of making lcd4linux clear the > > screen and dim the backlight on a Matrix Orbital LCD display upon > > shutdown. > > I was very surprised with my GLCD2USB plugged into my PC Engines Alix > board. 1st the display was off. During boot as the USB driver loads the > display came to life and the display screensaver [1] ran. When lcd4linux > started, normal content was shown [2]. > > On shutdown the same in opposit happened. At the end, all was dark and off. (...) |