Author Topic: LCD working on Silverstone case  (Read 5543 times)

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: LCD working on Silverstone case
« Reply #15 on: March 23, 2008, 07:01:07 pm »
To start lcd_redirect during the boot time you can add it into LCDd start script. This is a quick and dirty solution but it should work.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: LCD working on Silverstone case
« Reply #16 on: March 27, 2008, 12:17:06 pm »
Ok I have solved this - adding the lcd_redirect command to any init or rc.local script etc doesn't work because it is loaded before the LMCE orbiter.

Heres what I did to get it running -

Make a deamon

Code: [Select]
sudo nano /usr/sbin/lcd
add
 
Code: [Select]
#!/bin/bash
#check if the OrbiterGL is already running!
LMCE=`pidof OrbiterGL`
        if [ ! -z $LMCE ] ; then
                while true ; do
                        #load lcdproc
                        /usr/local/sbin/LCDd -c /home/linuxmce/lcdproc/LCDd.conf
                        #load lcd_redirect
                        /home/linuxmce/lcd/lcd_redirect 39
                        sleep 5
                        done
         else
                 sleep 5
                 /usr/sbin/lcd
         fi


change the lcdproc and lcd_redirect paths to suit you

Then make it executable

Code: [Select]
chmod 755 /usr/sbin/lcd
And make an init script

Code: [Select]
sudo nano /etc/init.d/lcd
add>

Code: [Select]
/usr/bin/lcd
then

Code: [Select]
update-rc.d lcd defaults

The lcd_redirect will then start with the orbiter. You can have the mythtv lcd client set up to display tv info (when you quit mythtv lcd_redirect will start back up)

Perfec!
« Last Edit: March 27, 2008, 01:10:54 pm by gazlang »
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: LCD working on Silverstone case
« Reply #17 on: March 27, 2008, 12:21:01 pm »
By the way, since the lcd_redirect driver is not mine I was a bit adverse to entering the howto on the wiki.

Any thoughts on this?
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

Itsik

  • Guru
  • ****
  • Posts: 190
    • View Profile
Re: LCD working on Silverstone case
« Reply #18 on: April 22, 2008, 10:06:11 am »
where can I find this driver ?
clicking the link gives a "page not found"

thnx
Itsik

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 890
  • Living with LMCE
    • View Profile
Re: LCD working on Silverstone case
« Reply #20 on: April 22, 2008, 02:15:17 pm »
Hi,

I also have silverstone case, but didn't yet played with VFD. But have an idea - since we're all learning GSD from our great tutors...

it would be convenient to have a driver that would by default display time and date and have simple api to change default message and display dynamic message for X secs - and then we could register GSD event listener that would determine messages to be displayed on VFD or any other live display around....

Great topic ....

Is present driver anywhere near that ?

HTH,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4458
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: LCD working on Silverstone case
« Reply #21 on: April 22, 2008, 02:39:59 pm »
Hi,

I also have silverstone case, but didn't yet played with VFD. But have an idea - since we're all learning GSD from our great tutors...

it would be convenient to have a driver that would by default display time and date and have simple api to change default message and display dynamic message for X secs - and then we could register GSD event listener that would determine messages to be displayed on VFD or any other live display around....

Great topic ....

Is present driver anywhere near that ?

HTH,

regards,

Bulek.


I agree that would be a very nice capability to have ;-)

Andrew
Andy Herron,
Convergent Home Technologies Ltd

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

Itsik

  • Guru
  • ****
  • Posts: 190
    • View Profile

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: LCD working on Silverstone case
« Reply #23 on: April 23, 2008, 09:04:15 am »
Fixed.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

Itsik

  • Guru
  • ****
  • Posts: 190
    • View Profile
Re: LCD working on Silverstone case
« Reply #24 on: April 24, 2008, 10:03:36 pm »
Thw link you gave is to the lirc.conf for the imon pad. I was looking for the driver to display lmce data on the vfd

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: LCD working on Silverstone case
« Reply #25 on: April 25, 2008, 01:16:27 pm »
The link I posted still works for me!
If the link stil doesn't work for you, pm me your email and I will send you the driver folder as soon as I can
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT