View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Sep 13, 2007 5:42 pm 
Offline
Joined: Wed Aug 30, 2006 9:15 am
Posts: 15
Just wondering if this was maybe support was not compiled in? When I run the lirc config, it isn't listed, and when I change the hardware.conf in the /etc/lirc directory to DEVICE="imon" it says it doesn't support it. IIRC lirc imon support was present since v0.7.1 of lirc.

lsmod says lirc_imon is loaded but lircd doesn't support it? A very strange thing. I think I may need to recompile the CVS to get it to work, but I'd rather stick with what came with the R5F27 release if possible.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 12:05 pm 
Offline
Joined: Wed Aug 30, 2006 9:15 am
Posts: 15
Ok I recompiled the binaries from the lirc cvs and now I have my remote running :)

FYI there is a missing header file in the R5F27 header files, so I downloaded the source to get the file:
/usr/linux/include/linux/i2c-id.h

In the R5F27 header directory it is a symbolic link to a file that doesn't exist.


Last edited by LurkerLito on Sat Sep 15, 2007 2:50 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 8:56 pm 
Offline
Joined: Wed Mar 07, 2007 9:51 am
Posts: 173
Location: Uniontown, PA
Lurker:

Could you post what all you had to 'tweak' to get the remote to work? I've been tinkering around with the Imon VFD and Remote, but with the R5F27 update, I've found that the VFD is going south. :(

What log files did you see the error in about the lirc-imon module???

I and others on the board would welcome your input!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 2:28 pm 
Offline
Joined: Wed Aug 30, 2006 9:15 am
Posts: 15
Well there was nothing to tweak, the compiled lircd did not have support for the imon remote so I had to recompile it. The VFD works with what came with R5F27 after I noticed my system wasn't seeing the VFD on the USB list (lsusb). As far as log files I really didn't look at them in this case. I basically ran the lircd daemon in nodaemon mode in an xterm so I could see what was happening.

So to fix the remote you need to download the 0.8.2 cvs source:
Code:
wget http://prdownloads.sourceforge.net/lirc/lirc-0.8.2.tar.bz2


Then I needed to download the source code for the KnoppMyth Kernel because of the one missing header file. Look for the post regarding "How to get the source"

Now after you extract the sources (I put them both in /usr/src as root)
just go to the lirc directory and run the configure script, when it's done type make and it will compile the new files.

I did not use the automated install included in the makefile for lirc. I manually copied them over by hand because I wanted to keep the system as close to stock as possible. To do this I went into the deamons directory of the lirc compile, and looked at the executable files. I located them on the system (iirc the daemons lircd and lircmd are in /usr/sbin) and I copied over them. I do suggest you backup the ones included just in case but it's an optional step. I also copied over the tools (irw, irpty etc... iirc they are in /usr/bin).

Once you do that just check that lirc_imon is loaded using:
Code:
lsmod | grep imon


To test that the remote is working I'd just recommend you close the mythfrontend and stop the backend, it might not be necessary but I usually do it especially when testing something.

Now run lircd:
Code:
/etc/init.d/lirc start


check to see it is really running:
Code:
 ps ax | grep lirc


now run irw in an XTerm and press the remote buttons. You should get some text back with each button press. If that works you are pretty much done, ctrl+c to stop irw and start the mythbackend and mythfrontend and the remote should be working now.

----

Some problems I ran into:

1) When trying to get lircd to run initially I modified my /etc/lirc/hardware.conf file. I needed to change that back.

2) If irw quits out and when you check if lircd is running and it isn't there anymore, most likely there is an error in the hardware.conf file. For me the cause was the hardware.conf file wanted to use /dev/lirc but in my /dev directory I only had /dev/lirc0. Changing the line in the hardware.conf fixed that problem.

----

As far as the VFD goes. What comes with R5F27 works with the imon VFD. My problem came from the fact that it couldn't see the vfd in the USB list (lsusb). I read the setup_vfd.sh script and noticed it was doing an lsusb to see if it could find the imon vfd. Since the script was just not doing anything, I ran lsusb in an xterm and noticed it didn't see it. I ended up having to reboot and check my bios settings because I also flashed my bios to the latest version when I did the R5F27 upgrade. The cause for me was that there was an incorrect setting (legacy USB = auto I changed to legacy USB = YES) and after that lsusb could find the imon vfd. So to fix the VFD I just re-ran the setup_imon.sh script and it set everything up and also started up the VFD. Restarted the myth backend and frontend and all was working again :).


Last edited by LurkerLito on Sat Sep 15, 2007 2:48 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 2:46 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
LurkerLito wrote:
in the R5D27 header files, ...

Please folks, just as a matter of enlightened self interest, try to get the versions right. It avoids confusion all the way around and makes you look like someone who it's worth taking the time to help.

After all, if you can't even be expected to get simple details like the version right what are the chances that you're going to report error messages accurately or follow directions effectively? Computers are dumb, literal, and just don't care. If someone tells you to type "rm -rf /*~", and you type "rm -rf /* ~" instead, the system will cheerfully bone you like salmon fillet. This is one of those places where details matter. A lot.

KnoppMyth version naming


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 15, 2007 2:49 pm 
Offline
Joined: Wed Aug 30, 2006 9:15 am
Posts: 15
Doh... Edited to R5F27... Sorry about that.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 16, 2007 8:27 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
LurkerLito wrote:
As far as the VFD goes. What comes with R5F27 works with the imon VFD. My problem came from the fact that it couldn't see the vfd in the USB list (lsusb). I read the setup_vfd.sh script and noticed it was doing an lsusb to see if it could find the imon vfd. Since the script was just not doing anything, I ran lsusb in an xterm and noticed it didn't see it. I ended up having to reboot and check my bios settings because I also flashed my bios to the latest version when I did the R5F27 upgrade. The cause for me was that there was an incorrect setting (legacy USB = auto I changed to legacy USB = YES) and after that lsusb could find the imon vfd. So to fix the VFD I just re-ran the setup_imon.sh script and it set everything up and also started up the VFD. Restarted the myth backend and frontend and all was working again :).
For anyone else who stumbles across this post, /usr/local/bin/setup_vfd.sh is deprecated and has been replaced by /usr/local/bin/vfd_install.sh (as of R5F27).


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu