View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 47 posts ] 
Go to page Previous  1, 2, 3, 4  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Mar 27, 2007 2:50 pm 
Offline
Joined: Fri Feb 24, 2006 9:46 am
Posts: 65
I am sure that lcd is enabled in Myth.

I have the enclosure of Silverstonetek, type LC11m. It is mentioned that it has: VFD, IR, remote control, iMON media center software.
So I assume it has an VFD, don't know which model and I don't know the difference between LCD and VFD. I always thought it was the same :-S Can someone tell me the difference?

I am not able to check my LCDd.conf file. Will do that on Thursday. Properly a mistake there. I will also check if LCDd is running.

Will let you know more at Thursday. Thanks for all your tips!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 3:36 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
victor97 wrote:
I am sure that lcd is enabled in Myth.
Good.

victor97 wrote:
I have the enclosure of Silverstonetek, type LC11m. It is mentioned that it has: VFD, IR, remote control, iMON media center software.
So I assume it has an VFD, don't know which model and I don't know the difference between LCD and VFD. I always thought it was the same :-S Can someone tell me the difference?
Silverstone is using LCDs in some of their enclosures. Just wanted to make sure we were comparing apples to apples. Your VFD should work just the same as mine (I have the LC10M case).

victor97 wrote:
I am not able to check my LCDd.conf file. Will do that on Thursday. Properly a mistake there. I will also check if LCDd is running.
This is most likely the issue. Go through the first page of this thread for the LCDd particulars (pay special attention to my last post on that page), once you have that squared away I think you'll have a working VFD.

victor97 wrote:
Will let you know more at Thursday. Thanks for all your tips!
Yep, let us know how it works out.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 2:01 pm 
Offline
Joined: Fri Feb 24, 2006 9:46 am
Posts: 65
Hi,

Well I changed the driver to imon in LCDd.conf, but it didn't help (I try a reboot).

Messages in logfile:
Code:
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedian IR/VFD, v0.3
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev@venky.ws>
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:0)
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<2:3> initialized
Mar 29 21:48:19 mythtv kernel: usbcore: registered new driver lirc_imon
Mar 29 21:48:33 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: IR port opened


I use the following file in the rd5.d to create the /dev/lcd0 and to start the LCDd. I need to create the /dev/lcd0 in this file, else it will disappear each time after a reboot. Here is the content:
Code:
root@mythtv:/etc/rc5.d# cat S19LCD
#!/bin/sh
mknod /dev/lcd0 c 180 144
modprobe lirc_imon
chmod 666 /dev/lcd0
/usr/sbin/LCDd


Any tips??


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 4:52 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
victor97 wrote:
Hi,

Well I changed the driver to imon in LCDd.conf, but it didn't help (I try a reboot).

Messages in logfile:
Code:
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: Driver for Soundgraph iMON MultiMedian IR/VFD, v0.3
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: Venky Raju <dev@venky.ws>
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: found IMON device
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: Registered iMON plugin (minor:0)
Mar 29 21:48:19 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: imon_probe: iMON device on usb<2:3> initialized
Mar 29 21:48:19 mythtv kernel: usbcore: registered new driver lirc_imon
Mar 29 21:48:33 mythtv kernel: /usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: IR port opened
That's it for the imon stuff? Hmmm, something's not right here, you should see something along the lines of
Code:
myth3 kernel: /root/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port opened

Are you using the patched driver I linked to on the first page of this post? I couldn't get the VFD to work without it.


victor97 wrote:
I use the following file in the rd5.d to create the /dev/lcd0 and to start the LCDd. I need to create the /dev/lcd0 in this file, else it will disappear each time after a reboot. Here is the content:
Code:
root@mythtv:/etc/rc5.d# cat S19LCD
Try moving that to S91LCD. As bkamen mentioned (first post on this thread) there are prerequisits to starting LCDd, you want it as late in the boot process as possible.


victor97 wrote:
Code:
#!/bin/sh
mknod /dev/lcd0 c 180 144
modprobe lirc_imon
chmod 666 /dev/lcd0
/usr/sbin/LCDd


Any tips??
Make sure each of these is occuring. In order as you have them in the script (after a reboot):
Code:
ls -l /dev/lcd*
lsmod | grep -i imon
ps -ef | grep LCD



Other thoughts:

Is your /etc/LCDd.conf file pointing to /dev/lcd0 in the imon section? Should look like this:
Quote:
[imon]
# Ahanix/Soundgraph IMON driver

Size=16x2
Device=/dev/lcd0

Last but not least, make sure you can still echo "Test" >/dev/lcd0. The only other thing I can think of is I had to move the modprobe lirc_imon to /etc/init.d/bootmisc.sh when I changed to a serial IR receiver recently. What are you using for a remote/receiver?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 2:01 pm 
Offline
Joined: Fri Feb 24, 2006 9:46 am
Posts: 65
Hereby the answers on your questions and the actions:

I did use the pathed driver. I tried to install it again. It seems to be installed ok, this is what the command make tells me:
Code:
root@mythtv:/myth/tmp# cd imon
root@mythtv:/myth/tmp/imon# make
depmod
/usr/bin/install imon_vfd.ko /lib/modules/`uname -r`/misc


I moved my script to S91LCD. I moved the line "modprobe lirc_imon" from the script to /etc/init.d/bootmisc.sh.

The output of the commands as showned in your reaction is:
Code:
root@mythtv:/etc/rc5.d# ls -l /dev/lcd*
crw-rw-rw- 1 root root 180, 144 Mar 29 21:48 /dev/lcd0
root@mythtv:/etc/rc5.d# lsmod | grep -i imon
lirc_imon              16260  1
lirc_dev               16628  2 lirc_mceusb,lirc_imon
usbcore               111364  6 lirc_mceusb,lirc_imon,usbhid,ehci_hcd,uhci_hcd
root@mythtv:/etc/rc5.d# ps -ef | grep LCD
root      6134  6106  0 21:41 ttyp0    00:00:00 grep LCD


I checked the /etc/LCDd.conf file and it is pointing to /dev/lcd0 in the imon section.

I still can echo to my display using
Code:
root@mythtv:/myth/tmp/imon# echo "Test" > /dev/lcd0


Do you see something wrong here?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 2:36 pm 
Offline
Joined: Thu Feb 22, 2007 6:56 pm
Posts: 79
I have the imon_vfd working on my box and this is what my system looks like:

Code:
lsmod | grep imon
lirc_imon              16900  2
lirc_dev               16628  1 lirc_imon
usbcore               111364  6 lirc_imon,usbhid,uhci_hcd,ehci_hcd


I'd guess the mceusb device is causing a conflict of some sort.

DT


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 3:59 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
victor97 wrote:
Code:
root@mythtv:/etc/rc5.d# ps -ef | grep LCD
root      6134  6106  0 21:41 ttyp0    00:00:00 grep LCD


I checked the /etc/LCDd.conf file and it is pointing to /dev/lcd0 in the imon section.
Your LCDd isn't running, you should see something like:

Code:
nobody    4499     1  0 Mar29 ?        00:00:09 /usr/sbin/LCDd


victor97 wrote:
I still can echo to my display using
Code:
root@mythtv:/myth/tmp/imon# echo "Test" > /dev/lcd0
So your device is configured properly, and lirc_imon appears to be doing it's job. Try starting LCDd from an XTerm with /usr/sbin/LCDd, let's see what error (if any) is returned. I'm still thinking there is something wrong with your LCDd.conf file.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 2:07 am 
Offline
Joined: Fri Feb 24, 2006 9:46 am
Posts: 65
Yes!! It is working. LCDd was giving an error. It could not find the imon.so. I changed the DriverPath in LCDd.conf to /usr/sbin/LCDd/ and now it is working. Really cool that it also shows the menu when you are browsing, now I don't need to put on the tv to listen to music. My girlfriend was complaining about that ;-)

One last thing, and that is the remote control that comes with the VDF. Slowtolearn, is this hard to do? You have the same kind of system as I have, so you should know ;-)

Thanks for all your help!! :D


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 31, 2007 7:29 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
victor97 wrote:
Yes!! It is working. LCDd was giving an error. It could not find the imon.so. I changed the DriverPath in LCDd.conf to /usr/sbin/LCDd/ and now it is working. Really cool that it also shows the menu when you are browsing, now I don't need to put on the tv to listen to music. My girlfriend was complaining about that ;-)
Glad to hear you got it going.

victor97 wrote:
One last thing, and that is the remote control that comes with the VDF. Slowtolearn, is this hard to do? You have the same kind of system as I have, so you should know ;-)
I long ago gave up on the IR receiver in my LC10M (much too slow, inconsistent results) so I can't help you there. Maybe it was the drivers at the time, but with the Harmony remote I have no reason to revisit the iMON.

victor97 wrote:
Thanks for all your help!! :D
You're welcome


Top
 Profile  
 
PostPosted: Tue Apr 24, 2007 6:56 pm 
Offline
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location: Uniontown, PA
I've been tinkering with getting the Soundgraph iMON VFD working using the R5E50 release, and I got it working without downloading anything! The VFD is in the MStation HT-1100 case.

I'll assume that you already have KnoppMyth installed and running, and just want to activate the VFD.

Here's how:

Edit these lines in the [server] section of the /etc/LCDd.conf file:
Code:
driver=imon
ServerScreen=no
DriverPath=/usr/lib/lcdproc/
Doublecheck the [imon] section that it has:
Code:
Device=/dev/lcd0
Size=16x2
Save the file, then issue this to add it into the init.d scripts:
Code:
update-rc.d LCDd defaults 80
That gets LCDd running. Now on to lirc.

Edit the /etc/lirc/lircd.conf file, and REMOVE the following line:
Code:
#UNCONFIGURED
Now edit the /etc/lirc/hardware.conf and change these lines:
Code:
DRIVER="default"
MODULES="lirc-imon"
Save the changes.

Enter the Mythtv frontend settings, select Appearance, and on the last screen, check that you want to use the LCD.

Reboot your system, and it should work!

I'm hoping to tackle the remote in the next week. The remote DOES power the unit up. I made sure that the USB port that I plugged the VFD into is supplying standby power. It was a jumper on the mobo to do that.

EDIT: 06/09/07

These hacks do NOT allow the display to work in R5F1. I pulled this thread to try to reactivate the VFD with a fresh install of R5F1, but there seems to be a permission problem on the /dev/lcd0 device.

I've read other comments about this issue, but I'm NOT sure where I should hack the init.d scripts to change them.

Still haven't worked out the remote issue, but one of these days.


Top
 Profile  
 
PostPosted: Sun Sep 02, 2007 1:45 am 
Offline
Joined: Sun Apr 22, 2007 1:20 am
Posts: 2
Location: Oulu, Finland
larrybpsu wrote:
EDIT: 06/09/07

These hacks do NOT allow the display to work in R5F1. I pulled this thread to try to reactivate the VFD with a fresh install of R5F1, but there seems to be a permission problem on the /dev/lcd0 device.

I've read other comments about this issue, but I'm NOT sure where I should hack the init.d scripts to change them.

Still haven't worked out the remote issue, but one of these days.


Original poster might have forgotten to post the answer, and it's actually mentioned elsewhere too, but for convenience I'll add here my solution:

In /etc/init.d/LCDd, just after line
Code:
echo -n "Starting $DESC: "

Add the line
Code:
chmod 666 /dev/lcd0


Restart LCDd.


Top
 Profile  
 
PostPosted: Sun Sep 02, 2007 2:07 am 
Offline
Joined: Sun Apr 22, 2007 1:20 am
Posts: 2
Location: Oulu, Finland
Hi!

I just might have a solution for users with Silverstone GD01-MX casing.

The reason why the display didn't work is that the display is actually a LCD, a 96x16 dotmatrix.
Additionally the device has the same USB ID as one of the VFD versions, but it has a different protocol in use.

Now, with support from MediaPortal forums, I found a way to control this display on Linux.

The problem holding the solution is that I dont know should the char->graph conversion be performed on kernel driver (lirc_imon) or on the lcdproc driver.
There will be need for changes to kernel driver, and the name should be changed as LCD and VFD driver cant be in same file, or atleast I didn't come up with any clever way to separate these displays from each other.

Unfortunately I may not have time to complete this. Just if someone else had time to do the coding this.
What I wonder is that how come noone has done this already? :roll:

EDIT: Proof-of-concept available.
Patch the lirc-0.8.2 driver, compile and update. Only the driver needs to be updated, not the full lirc for this display.
Try the lcdtest tool.
Sources are available from http://www.ryymin.net/jyri/electronics/iMonLCD/

Hope this helps. Atleast one can now shut it down or display the clock :)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 6:57 pm 
Offline
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location: Uniontown, PA
Anyone have the Imon VFD working with R5F27?

I've been banging my head on a brick wall over this for the past day, and I'm not getting anywhere.

I can do the

Code:
echo "TESTING" > /dev/lcd0

and that shows up. The modules are loaded, and even the Myth setup says to use the LCD display.

Permissions are set to 666 on /dev/lcd0, so that's not an issue either.

It was working fine with R5F1, so I'm a bit stumped. :(


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 8:40 am 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
Mine is working on R5F27; it didn't work straight out though.
I had to change the Driver=curses to Driver=imon in /etc/lcdproc/LCD.conf I also edited the GoodBye messages, but I didn't HAVE to.

I had to change START=no to START=yes in /etc/defaults/LCDd

and I had to run update-rc.d LCDd defaults

I'm pretty sure from there it just worked after a reboot.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 6:34 pm 
Offline
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location: Uniontown, PA
jmckeown2 wrote:
Mine is working on R5F27; it didn't work straight out though.
I had to change the Driver=curses to Driver=imon in /etc/lcdproc/LCD.conf I also edited the GoodBye messages, but I didn't HAVE to.

I had to change START=no to START=yes in /etc/defaults/LCDd

and I had to run update-rc.d LCDd defaults

I'm pretty sure from there it just worked after a reboot.


NOTE here:

The /etc/lcdproc/LCDd.conf file IS used as the config if you run the 'update-rc.d' script. This means that the /etc/LCDd.conf file is IGNORED.

I'm still having some problems getting lcdproc working, but I'm mucking my way through it.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ] 
Go to page Previous  1, 2, 3, 4  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu