Author |
Message |
dmfrey
|
Posted: Fri Nov 04, 2005 6:17 am |
|
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location:
Allentown, PA US
|
Greetings to the KnoppMyth Community!
First off, I would like to stat that I have been all over this message board, and others, to try to resolve this problem. I am using an iMON-PAD remote that came with my Silverstone case. iMon is in the list of remotes when installation occurs, but the setup process is not able to configure the remote at that time.
I would also like to state that I can successfully install LIRC. Irexec events setup in my lircrc file, i.e. ejecting the dvd drive, work as does irw, but not mode2. I have read numerous threads which all state the same problem but no one seems to have found a solution. I felt that this topic deserved its own thread.
I followed the following process and was able to get LIRC to work. Again, it works to the point that I can use it outside of MythTV.
1. Performed a fresh install of KnoppMyth R5A22.
2. When complete, apt-get remove lirc
3. Downloaded the latest 0.7.2 from lirc.org
4. Downloaded the patch from venky's website
5. Extracted the source and applied the patch
6. ran ./setup.sh and selected the iMON-PAD, save and configure
7. make
8. make install
9. Copied appropriate lircd.conf and lircmd.conf to /etc/lirc, symlinks are created to /etc
10. Modified /etc/lirc/hardware.conf to make appropriate changes for iMon
11. added modules /etc/modules
12. added alias-char-major-61 to /etc/modules.conf
13. copied appropriate lircrc to ~/.mythtv
14. rebooted
15. chmod 666 /dev/lircd
16. /usr/local/sbin/lircd
17. /usr/local/sbin/lircmd
At this point I was able to run irw and all of the key presses were acknowledged. mode2 gave the following exception: mode2: error opening /dev/lirc. irexec worked to open the dvd drive. LIRC appears to have been installed correctly. I get no errors messages in any log files.
My last step was to restart gdm and see if MythTV was now recognizing the remote. Nothing happened.
Any help that anyone can offer in this matter would be greatly appreciated. I feel that my process above was pretty sound, but if any sees where I might have made a mistake, please let me know.
Thanks so much for any assistence.
Dan
|
|
Top |
|
 |
spalVl
|
Posted: Fri Nov 04, 2005 6:49 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
I didn't have any luck either with the remote setup menu. I have a diffrent model remote, which I had working with R5A16. This is process I followed to get the same remote working with R5A22.
1. Performed a fresh install of KnoppMyth R5A22
2. During Knoppmyth install during Remote setup menu choose Option 42) Quit. Lirc will be reconfigred at a later step.
3. ran dpkg-reconfigure lirc
4. During lircd configuration choose to reconfigure for WinFast reciever, Options Y, Y, 5 (TV Card), B (Winfast TV2000/XP (card=34)
5. ran cp /usr/local/share/knoppmyth/remotes/<my remote model>/etc/lircrc /home/mythtv/.mythtv/lircrc
6. ran cp /usr/local/share/knoppmyth/remotes/<my remote model>/etc/lircd.conf /etc/lircd.conf
7. Rebooted
Refrences:
http://www.knoppmythwiki.org/index.php? ... V2000XPdlx
http://mysettopbox.tv/phpBB2/viewtopic.php?t=6713
|
|
Top |
|
 |
dmfrey
|
Posted: Fri Nov 04, 2005 8:18 am |
|
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location:
Allentown, PA US
|
spalVl,
Thanks for the info. I will give this a shot. If it works out, I will add a wiki entry for the imon remote.
One more thing, there is a patch that i do need to add to the driver. Can I perform this task, then go back and extract the source apply the patch and run the setup process again? Is there a make entry that will apply a patched driver versus uninstall, clean, and install?
Thanks again for your help.
Dan
|
|
Top |
|
 |
dmfrey
|
Posted: Fri Nov 04, 2005 1:27 pm |
|
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location:
Allentown, PA US
|
One other thing, if I have to use dpkg to reconfigure lirc, what is the best way to upgrade to a newer version. When I rand your steps above, there was no option for my specific remote, just another iMon remote. There 3 listed in the current release of LIRC.
Please bear with me, this is my first experience on a debian machine.
Thanks again for your help.
Dan
|
|
Top |
|
 |
spalVl
|
Posted: Fri Nov 04, 2005 3:08 pm |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
Quote: One other thing, if I have to use dpkg to reconfigure lirc, what is the best way to upgrade to a newer version. When I rand your steps above, there was no option for my specific remote, just another iMon remote. There 3 listed in the current release of LIRC.
I am sorta a linux newbie. My reasoning for running dpkg command was in version R5A16 my remote worked fine. I could not get my remote working in R5A22 so I checked out the R5A16 script that I used to setup my remote and dpkg was running from that script. I am not at a R516 script to see everything that script was doing, but I could tell it was checking for /usr/src/ <kernel source> and /usr/src/ <lirc source> then running 2 dpkg commands the other command did something with the lirc.kernel . I can check a R516 box sometime very late tonight or over weekend to get full details of script.
|
|
Top |
|
 |
dmfrey
|
Posted: Sat Nov 05, 2005 7:40 am |
|
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location:
Allentown, PA US
|
spalVl,
I decided to start everything over again and followed your instructions. I did have some success with it. I know now that irexec events still work and I could get 1 button recognized in myth.
I found the source location and am going to try applying the patch there and then re-run dpkg-reconfigure lirc.
Thanks again for your help.
Dan
|
|
Top |
|
 |
spalVl
|
Posted: Sat Nov 05, 2005 7:54 am |
|
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location:
Philadelphia, PA US
|
This is what the R5A16 script looks like if that helps.
Code: #!/bin/sh #Wrapper for dpkg-reconfigure lirc #Gotta be root. if test $(id -u) != 0; then echo Error: You must be root to run this script! exit 4 fi #Gotta have the kernel uncompressed. if ! [ -d /usr/src/kernel-source-2.6.11.9-chw-2 ] ; then cd /usr/src echo "Uncompressing kernel..." tar xvfj /usr/src/kernel-source-2.6.11.9-chw-2.tar.bz2 &>/dev/null fi # if ! [ -d /etc/lirc/lircrc ] ; then cd /etc/lirc echo "Uncompressing lircd.conf and lircrc samples.." tar xvfj /usr/src/remotes_lircrc.tar.bz2 &>/dev/null fi #First, you dpkg-reconfigure lirc dpkg-reconfigure lirc #Then dpkg-reconfigure lirc-modules-source dpkg-reconfigure lirc-modules-source
|
|
Top |
|
 |
dmfrey
|
Posted: Sat Nov 05, 2005 10:05 am |
|
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location:
Allentown, PA US
|
Thanks again for all your help.
I believe I have it. I decided to re-record my ir codes with irrecord. I figured that it must be working if the irexec and the AppExit button on the remote was working with Mythtv. Once I re-recorded the codes and tweaked the lircrc file, I was able to use all of the functions of the remote. It will take a little more tweaking, but I should have it now. I am gonna back up those files on another box that is backed up each night so that I don't lose them.
Thanks again.
Dan
|
|
Top |
|
 |
jrog
|
Posted: Sat Dec 24, 2005 12:13 pm |
|
Joined: Tue Dec 20, 2005 9:14 pm
Posts: 4
|
Dan,
Did you get a chance to create that Wiki entry? I have both the iMon that came with my Silverstone, and then MCEUSB, but I want to ditch the MCE. I can't get my iMon to work, and I see from your instructions the basics of the steps to take, but if you have detailed steps, that would be awesome.
Thanks,
Justin
|
|
Top |
|
 |
dmfrey
|
Posted: Thu Dec 29, 2005 7:58 pm |
|
Joined: Wed Oct 26, 2005 9:53 am
Posts: 53
Location:
Allentown, PA US
|
Justin,
I couldn't reliably get the iMon and VFD to work. It was either one or the other, but never both. I decided to ditch the iMon and VFD because the support just seem to not be there. I did have some success using FC4 and the Myth instructions from Jarod's website.
I liked the thought of having the vfd, but I opted for a more reliable remote. I removed the whole vfd unit and replaced the remote with the ATI remote wonder ($15 on ebay)(I eventually want to replace this with a Logitech Harmony 880, which can send signals to the ATI receiver). Lately I have been building a box that is more to the KRP specs and am just waiting on a dvi-hdmi cable so that I can output to my Toshiba DLP before I start over.
Sorry I couldn't be more help.
Dan
|
|
Top |
|
 |