View unanswered posts    View active topics

All times are UTC - 6 hours





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

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Oct 28, 2006 9:39 pm 
Offline
Joined: Sun Nov 20, 2005 10:07 pm
Posts: 116
I think I have LCDd and all working.. but I'm wondering about "boot" order for rc5.d

Myth Tries to start now, but requires a second "kick" to get mythlcdserver talking to lcdd or mythfrontend talking properly to mythlcdserver.

I'm not sure which is at fault, but LIRC and LCDd and all that starts at S20.

Any thoughts?

-Ben


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2007 8:53 pm 
Offline
Joined: Sat Jan 10, 2004 12:52 am
Posts: 47
I've had this issue before, I bumped it up to something higher, like 95 instead of 20 and all works fine now.

_________________
Netsurge
----------
Host and Producer of the techPhile, simple.reboot, and Digital Underground.tv podcasts - http://nsightproductions.com

Long time KnoppMyth lover/user


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2007 9:00 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Who's on first?

I have my iMon VFD working with R5D1. If anyone needs a "HowTo" let me know (I thought this was old news)...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2007 9:03 pm 
Offline
Joined: Sat Jan 10, 2004 12:52 am
Posts: 47
Been a while since I've been on, lol

_________________
Netsurge
----------
Host and Producer of the techPhile, simple.reboot, and Digital Underground.tv podcasts - http://nsightproductions.com

Long time KnoppMyth lover/user


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2007 3:43 am 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I would love a how-to on this, I'm on RE50. I am a bit new to linux, but can get my way around ok, so a step-by-step would be great!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2007 5:29 pm 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
Hi,

I'd like to have this how-to. I need a step by step instructions too (I'm a Linux Newbie).

I have already installed the R5E50 sources. I tried to the instructions on the Venkys site without succes (http://venky.ws/projects/imon/). I think we need to recompile LIRC but ...

Activate the IR and the VFD is my actual Knoppmyth project.

Thanks
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 18, 2007 6:50 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
ErikU and Bob - I am running R5D1, can't say for sure if the instructions will work for R5E50, but I don't know why they wouldn't.

Bob - I long ago gave up on the IR receiver in my LC10M (much too slow, inconsistent results) so I can't help you there.

I honestly did this so long ago that I forget where I got the patch from, but I'm pretty sure it was somewhere on this site: http://swik.net/imon. This may help those of you trying to get the IR receiver working as well. So, instead of a HowTo I'll just spoon feed ya :lol:

OK, first you need the patched VFD driver. Download the tarball from my webpile http://www.tbf-investments.com/imon_vfd.tar and save it in your /tmp directory (it's only 102K).

Next, run this code:
Code:
cd /tmp
tar xvf imon_vfd.tar
cd /tmp/imon
make
echo "lirc_imon" >>/etc/modules
modprobe lirc_imon
mknod /dev/lcd0 c 180 144
echo "#!/bin/sh" >/etc/rc5.d/S91LCD
echo "/usr/sbin/LCDd" >/etc/rc5.d/S91LCD
chmod 755 /etc/rc5.d/S91LCD

(You can save this as a script and execute it if you like).

The VFD should display at this point. The S91LCD stuff is to ensure that LCDd is started on a reboot.

The trick here is the tarball includes whatever patch I had found awhile back. This is all I had to do to get the VFD in my LC10M working. Be sure to enable it in KM!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 1:46 am 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I actually have an LC20M (connects USB), I know the hardware is ok, since it works under windows. I followed the directions but no remote or display..? Anything else to check?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 8:22 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
The VFD on the LC10M connects via USB as well. What do the following give you on your system (2 separate commands)?
Code:
lsusb
lsmod | grep -i imon


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 19, 2007 10:58 pm 
Offline
Joined: Sat Dec 30, 2006 2:57 pm
Posts: 53
I do get:

Bus 001 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

and

lirc_imon 16260 0
lirc_dev 16620 1 lirc_imon
usbcore 111364 4 lirc_imon,echi_hcd,uhci_hcd


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 20, 2007 8:33 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
ErikU wrote:
I do get:

Bus 001 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

and

lirc_imon 16260 0
lirc_dev 16620 1 lirc_imon
usbcore 111364 4 lirc_imon,echi_hcd,uhci_hcd

Looking back at my script I see I create /dev/lcd0 after modprobing lirc_imon (Ooops! :oops: ). Have you rebooted the machine since running those commands? Or try rmmod lirc_imon and re-modprobing lirc_imon...

Another thing: If you are running R5E50 and have rebooted, udev may have removed your /dev/lcd0. I'm on R5D1 and haven't played with udev before, but there should be a config file to make /dev/lcd0 permanent.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 20, 2007 3:38 pm 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
Hi

I followed your instructions but still no go for me.
Every command work but when i try to echo on the /etc/lcd0 i see nothing.

In the DMESG, i see port open port close nothing on the VFD.

Thanks
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 20, 2007 4:03 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Bob wrote:
Hi

I followed your instructions but still no go for me.
Every command work but when i try to echo on the /etc/lcd0 i see nothing.

Typo? That should be /dev/lcd0. Can you post what you see in the messages file? grep -i imon /var/log/messages

And what do you get when you run
Code:
lsusb
lsmod | grep -i imon


Bob wrote:
In the DMESG, i see port open port close nothing on the VFD.
Well, that's good :D


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 21, 2007 10:23 am 
Offline
Joined: Thu Sep 08, 2005 4:46 pm
Posts: 89
Hi again,

Yes, it was a typo for the /etc/lcd0 vs dev/lcd0

I make some test with Windows to be sure that the VFD is working. The Imon Windows drivers are really great. The VFD has work instantanely. So my hardware is good.

Now the Knoppmyth side. I applied your code and there is an error on the echo "#!/bin/sh...

Code:
root@mythtv:/home/mythtv# echo "Hello" > /dev/lcd0
The rest of the code seem to work but nothing on the VFD

Here my infos:

Code:
root@mythtv:/home/mythtv# lsusb
Bus 001 Device 003: ID 045e:00e3 Microsoft Corp.
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 003: ID 05e3:070e Genesys Logic, Inc.
Bus 004 Device 002: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote
Controller
Bus 004 Device 001: ID 0000:0000
root@mythtv:/home/mythtv# lsmod | grep -i imon
lirc_imon              16260  0
lirc_dev               16628  3 lirc_imon,lirc_serial,lirc_i2c
usbcore               111364  5 lirc_imon,usbhid,usb_storage,uhci_hcd


And the logs:
Code:
root@mythtv:/home/mythtv# grep -i imon /var/log/messages
Jan 21 11:14:03 mythtv kernel:
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port
opened
Jan 21 11:14:03 mythtv kernel:
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port
closed



I'm having realy hard time but i have learned how to make cut and paste from xterm.

Maybe with all this info you will find the problem.

Thanks
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 21, 2007 11:31 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Bob wrote:
Now the Knoppmyth side. I applied your code and there is an error on the echo "#!/bin/sh...
Ahhh, OK, I see it. My bad, that first echo statement doesn't work :oops:
Instead of the 2 echo statements, now that you have Copy-n-Paste working, add the following 2 lines to a file called /etc/rc5.d/S91LCD:
Code:
#!/bin/sh
/usr/sbin/LCDd
and make that file executable (chmod 755 /etc/rc5.d/S91LCD)
Bob wrote:
Here my infos:

Code:
root@mythtv:/home/mythtv# lsusb
Bus 001 Device 003: ID 045e:00e3 Microsoft Corp.
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 003: ID 05e3:070e Genesys Logic, Inc.
Bus 004 Device 002: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote
Controller
Bus 004 Device 001: ID 0000:0000
root@mythtv:/home/mythtv# lsmod | grep -i imon
lirc_imon              16260  0
lirc_dev               16628  3 lirc_imon,lirc_serial,lirc_i2c
usbcore               111364  5 lirc_imon,usbhid,usb_storage,uhci_hcd


And the logs:
Code:
root@mythtv:/home/mythtv# grep -i imon /var/log/messages
Jan 21 11:14:03 mythtv kernel:
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port
opened
Jan 21 11:14:03 mythtv kernel:
/usr/src/lirc-0.8.1-CVS-pvr150/drivers/lirc_imon/lirc_imon.c: VFD port
closed

OK, that looks good. What does your /dev/lcd0 look like? (ls -l /dev/lcd0) You should get something like
Code:
crw-r--r--  1 root root 180, 144 Jan 14 11:25 /dev/lcd0
but with a different date.

Once those 2 things are all set, try rebooting


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 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