Hi all,
Some of MOIPro-AMD user want to show more information in LCD and some user reinstall other system which have not LCD support .
then this guide will help how to do it with LCD.
Attatch is the source file to show the LCD information:
when you reinstall new system just compile it .
the line 149 " stream = fopen("/tmp/lcdtemp", "r"); " , it means soft can write display information to /tmp/lcdtemp . then run moiproamd-lcd, lcd will display the information .
First:
create an empty txt file "lcdtemp" in ''tmp'' folder, the display message will be writen to it:
# cd /tmp
# vi lcdtemp
Second:
Compile this file moiproamd-lcd.c:
Please download the ''moiproamd-lcd.zip'' from the next link:
1.run the command to extract zip file:
# unzip moiproamd-lcd.zip
2.run the moiproamd-lcd.c file to build an Application
# gcc moiproamd-lcd.c -o kencast
The ‘’kencast” is the name of application, you can give a name which you like.
Then copy the application to /user/bin:
# cp kencast /user/bin
Don’t forget to give a permission to it:
# cd /user/bin
# chmod 777 kencast
If you don’t want to compile, please use the compiled one:
Third:
Let lcd.sh autostart, it will show the information to the LCD.
Download and extract the lcd.zip file:
# unzip lcd.zip
Then copy the lcd.sh to the /user/bin
# cp lcd.sh /user/bin
The lcd.sh is script which responsible for LCD display.
Fourth:
When you want the number of tuners display in lCD, you need add another ''script number.sh'', please download the zip file here:
then extract and copy to /user/bin:
# unzip numcard.zip
# cp numcard.sh /user/bin
Fifth:
Set it to auto display when your server start:
put lcd.server to /lib/systemd/system/multi-user.target.wants/, like this:
# unzip lcd_server.zip
# cp lcd.server /lib/systemd/system/multi-user.target.wants/
new version of MOIPro-AMD lcd file please download here:
Any question please feel free to ask us.
Thanks
Kind Regards
steven