LinHES Forums http://forum.linhes.org/ |
|
Setting up LIRC with PVR-150 Remote http://forum.linhes.org/viewtopic.php?f=6&t=7283 |
Page 1 of 1 |
Author: | ed3120 [ Thu Dec 08, 2005 8:52 pm ] |
Post subject: | Setting up LIRC with PVR-150 Remote |
I'm trying to following the HowTo to set up LIRC for the PVR-150 Remote. http://www.knoppmythwiki.org/index.php? ... stallation I'm stuck at step 4: 4.) patch -p1 -i lirc-0.7.0_pvr150.patch I input the following: root@mythtv:/etc/lirc# patch -p1 -i lirc-0.7.0_pvr150.patch And get the following output: can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -cr lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c lirc-0.7.0-pvr150/drivers/lirc_i2c/lirc_i2c.c |*** lirc-0.7.0/drivers/lirc_i2c/lirc_i2c.c Sun Sep 5 18:48:48 2004 |--- lirc-0.7.0-pvr150/drivers/lirc_i2c/lirc_i2c.c Fri Jan 14 09:47:15 2005 -------------------------- File to patch: When I type in file "irc-0.7.0_pvr150.patch" at the "file to patch" box, I get the following output: patching file lirc-0.7.0_pvr150.patch Hunk #1 FAILED at 152. Hunk #2 FAILED at 186. Hunk #3 FAILED at 372. Hunk #4 FAILED at 454. 4 out of 4 hunks FAILED -- saving rejects to file lirc-0.7.0_pvr150.patch.rej |
Author: | tjc [ Thu Dec 08, 2005 9:49 pm ] |
Post subject: | |
Based on the command prompt shown, you're in the wrong directory. You need to go to /usr/src or with the "-p1" option /usr/src/lirc-0.7.2pvr150. This is because all the paths in the diff are relative to the current directory even before you strip the leading element off with the "-p1". |
Author: | ed3120 [ Sat Dec 10, 2005 10:48 pm ] |
Post subject: | |
I tried to get my remote to work by running lirc-reconfig.sh, but I get the following output. System startup links for /etc/init.d/lirc already exist. Stopping lirc daemon: lircmd lircd. ##################################################### ## I couldn't load the required kernel modules ## ## You should install lirc-modules-source to build ## ## kernel support for your hardware. ## ##################################################### ## If this message is not appropriate you may set ## ## LOAD_MODULES=false in /etc/lirc/hardware.conf ## ################################################### Starting lirc daemon:. I've tried the steps in the Wiki HowTo at: http://www.knoppmythwiki.org/index.php? ... stallation But when I get to following commands, nothing works right: rmmod eeprom sleep 1 modprobe tveeprom sleep 1 modprobe videodev sleep 1 modprobe cx25840 i2c_enable=1 modprobe tuner sleep 1 modprobe wm8775 sleep 1 modprobe ivtv Here is the output, as I go through the commands: root@mythtv:~# rmmod eeprom ERROR: Module eeprom does not exist in /proc/modules root@mythtv:~# modprobe tveeprom WARNING: /etc/modprobe.d/ivtv line 5: ignoring bad line starting with 'add' root@mythtv:~# modprobe videodev WARNING: /etc/modprobe.d/ivtv line 5: ignoring bad line starting with 'add' root@mythtv:~# |
Author: | tjc [ Sun Dec 11, 2005 11:24 am ] |
Post subject: | |
What version of KnoppMyth are you using? The HowTo was written against an older version, has accumulated a byzantine set of annotations, and is overdue for a major haircut. You don't need to do most of that stuff with a fresh R5A26 install. You should just be able to run the lirc-reconfig.sh script and get input working. At worst you may need to drop in one of the /etc/lirc/lircd.conf files that folks have posted to get the right IR code set. (Search for "lircd.conf" in the forums.) I think you still need to do some extra stuff to get the blaster working if you care about that, for which this thread may help: http://mysettopbox.tv/phpBB2/viewtopic.php?t=7107 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |