View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Dec 08, 2005 8:52 pm 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 9:49 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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".


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 10, 2005 10:48 pm 
Offline
Joined: Sun Dec 04, 2005 1:44 pm
Posts: 403
Location: Central NJ
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:~#


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 11, 2005 11:24 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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