Moderator Control Panel ]

About MOIPro-AMD LCD information customization

About MOIPro-AMD LCD information customization

Postby steven » Thu Apr 14, 2016 2:30 pm

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:
moiproamd-lcd.zip
moipro-amd lcd
(2.51 KiB) Downloaded 210 times

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:
kencast.zip
kencast
(5.02 KiB) Downloaded 56 times


Third:
Let lcd.sh autostart, it will show the information to the LCD.
Download and extract the lcd.zip file:
lcd.zip
(838 Bytes) Downloaded 65 times

# 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:
numcard.zip
(426 Bytes) Downloaded 62 times

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:
lcd_server.zip
lcd server
(308 Bytes) Downloaded 65 times

# unzip lcd_server.zip
# cp lcd.server /lib/systemd/system/multi-user.target.wants/

Any question please feel free to ask us.
Thanks
Kind Regards
steven
steven
 
Posts: 1736
Joined: Fri Aug 06, 2010 3:23 pm

Re: About MOIPro-AMD LCD information customization

Postby mrg83 » Wed Apr 27, 2016 6:47 pm

Hi, I just follow instructions on ubuntu 15.04 server 64bit and i got en error:
TBS-AMD1:/usr/bin# ./lcd.sh
./lcd.sh: 28: ./lcd.sh: numcard.sh: not found
I think numcard.sh is missing?
mrg83
 
Posts: 4
Joined: Thu Oct 22, 2015 12:17 am

Re: About MOIPro-AMD LCD information customization

Postby steven » Wed May 04, 2016 5:53 pm

mrg83 wrote:Hi, I just follow instructions on ubuntu 15.04 server 64bit and i got en error:
TBS-AMD1:/usr/bin# ./lcd.sh
./lcd.sh: 28: ./lcd.sh: numcard.sh: not found
I think numcard.sh is missing?

Hi

updated please have a check

Thanks

Kind Regards

steven
steven
 
Posts: 1736
Joined: Fri Aug 06, 2010 3:23 pm

Re: About MOIPro-AMD LCD information customization

Postby mrg83 » Fri May 06, 2016 3:38 pm

Hi, Steaven thanks for help!!!
I put numcard.sh to :/usr/bin# , but now I got this error:
1:/usr/bin# ./lcd.sh
pcilib: sysfs_read_vpd: read failed: Connection timed out
pcilib: sysfs_read_vpd: read failed: Connection timed out
pcilib: sysfs_read_vpd: read failed: Connection timed out
pcilib: sysfs_read_vpd: read failed: Connection timed out

after command dmesg | grep pci , I got this :
####...
2.981304] input: saa716x IR (TurboSight TBS 6991SE) as /devices/pci0000:00/ 0000:00:02.4/0000:03:00.0/0000:04:02.0/0000:06:00.0/0000:07:01.0/0000:08:00.0/rc /rc0/input8
[ 2.981874] rc0: saa716x IR (TurboSight TBS 6991SE) as /devices/pci0000:00/00 00:00:02.4/0000:03:00.0/0000:04:02.0/0000:06:00.0/0000:07:01.0/0000:08:00.0/rc/r c0
[40587.096505] pci 0000:01:00.1: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update
[40587.156502] pci 0000:01:00.2: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update
[40916.581988] pci 0000:01:00.1: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update
[40916.641990] pci 0000:01:00.2: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update
[41093.375065] pci 0000:01:00.1: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update
[41093.435068] pci 0000:01:00.2: vpd r/w failed. This is likely a firmware bug on this device. Contact the card vendor for a firmware update

Any ideas, please help me!!!
Thank You!!!
mrg83
 
Posts: 4
Joined: Thu Oct 22, 2015 12:17 am

Re: About MOIPro-AMD LCD information customization

Postby mrg83 » Fri May 06, 2016 4:54 pm

I use last driver from tbs downloads and ubuntu 15.04 server x64
mrg83
 
Posts: 4
Joined: Thu Oct 22, 2015 12:17 am

Re: About MOIPro-AMD LCD information customization

Postby steven » Fri May 06, 2016 5:33 pm

Hi

numcard.sh , is used to get the show how many frontend , for your case maybe you can have a try remove this in lcd.sh.

Thanks

Kind Regards

steven
steven
 
Posts: 1736
Joined: Fri Aug 06, 2010 3:23 pm

Re: About MOIPro-AMD LCD information customization

Postby satis4action » Wed Jun 14, 2017 5:23 am

steven wrote: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


Hi steven,
It is possible to share the latest version of moiproamd-lcd.c ?
thank you in advance
satis4action
 
Posts: 1
Joined: Wed Apr 13, 2016 5:42 am

Re: About MOIPro-AMD LCD information customization

Postby steven » Wed Jun 14, 2017 10:02 am

Hi

the moiproamd-lcd.c have not changed you can still use the old one

Thanks

Kind Regards

steven
steven
 
Posts: 1736
Joined: Fri Aug 06, 2010 3:23 pm


Return to MOI Pro - AMD

Who is online

Users browsing this forum: No registered users and 1 guest