Knowledgebase
How to manage the LCD display by command line
Posted by Daniel Orme on 12 February 2014 03:18 PM

If the user's LCD display has some issue, first restart the LCD monitor daemon:

 

[~] # killall -9 lcdmond

[~] # /sbin/lcdmond

 

You can also use lcd_tool command to set the required status:

 

[~] # lcd_tool --help

 

Usage: lcd_tool [-h][-1 str1 -2 str2][-s STATE][-e ERRMSG]

 

Options:
-h Display this help and exit.
-1 STR1 Show the specified string STR1 on line 1 of LCD
-2 STR2 Show the specified string STR2 on line 2 of LCD
-s STATE Enter to the specified state STATE.
-e ERRMSG Send a error message ERRMSG to lcdmond.
-n NOTIFY Send a notification NOTI to lcdmond.
-o Turn on back light.
-f Turn off back light.

 

STATE:
1 = loading system
2 = system ready
3 = shutdown
4 = reboot
5 = system initializing


ERRMSG:
1 = fan shut down
2 = cancel fan shut down
3 = sys overheat
4 = cancel sys overheat
5 = hdd1 overheat
6 = hdd2 overheat
7 = hdd3 overheat
8 = hdd4 overheat
9 = hdd5 overheat
10 = hdd6 overheat
11 = hdd7 overheat
12 = hdd8 overheat
13 = cancel hdd1 overheat
14 = cancel hdd2 overheat
15 = cancel hdd3 overheat
16 = cancel hdd4 overheat
17 = cancel hdd5 overheat
18 = cancel hdd6 overheat
19 = cancel hdd7 overheat
20 = cancel hdd8 overheat
21 = network lost
22 = cancel network lost
23 = lan1 lost
24 = cancel lan1 lost
25 = lan2 lost
26 = cancel lan2 lost
27 = hdd failure
28 = cancel hdd failure
29 = vol full
31 = cancel vol full
33 = hdd1 ejected
34 = hdd2 ejected
35 = hdd3 ejected
36 = hdd4 ejected
37 = hdd5 ejected
38 = hdd6 ejected
39 = hdd7 ejected
40 = hdd8 ejected
41 = cancel hdd1 ejected
42 = cancel hdd2 ejected
43 = cancel hdd3 ejected
44 = cancel hdd4 ejected
45 = cancel hdd5 ejected
46 = cancel hdd6 ejected
47 = cancel hdd7 ejected
48 = cancel hdd8 ejected
49 = cpu overheat
50 = cancel cpu overheat
100+x = hddx overheat (x=1,2,3...)
120+x = cancel hddx overheat (x=1,2,3...)
140+x = hddx ejected (x=1,2,3...)
160+x = cancel hddx ejected (x=1,2,3...)


NOTIFY:
1 = update ip
2 = update server name
3 = finish system initializing
4 = show message when power button press

(3 vote(s))
Helpful
Not helpful

Comments (0)