[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] Re: RaQ3 UPS solutions



>     It looks as if all I would need is the documentation on
> /sbin/lcd-write
> and /sbin/lcd-swrite. At first glance, it appears that by
> using the new
> notify functionality I can add status messages to the LCD
> without having to
> patch the NUT code. This would be great, since the basic NUT
> package could
> be installed without specific Cobalt mods. Much easier to
> keep updated
> then. I'll let you know what I find.
>

OK...

/sbin/lcd-write "<string1>" "<string2>"

This will display the two strings on the display.

/sbin/lcd-swrite "<string1>" "<string2>"

This will display the two strings on the display and cause a blinking cursor
* to blink and will lock the display from any other activity.  Normally
invoked as a background process.  use "/sbin/lcdstop" to kill the process
and unlock the display.  This is usually followed by calling
"/etc/rc.d/init.d/lcd-showip" to redisplay the hostname and IP address after
all other display work is complete.

Let me know if you have any other questions.

- Lyle