[mythtv-users] PVR-150 and the IR Blaster

Rich West Rich.West at wesmo.com
Mon Oct 23 17:34:10 UTC 2006


I'm actually having problems compiling the patched version of lirc for
the PVR-150 with its IR blaster. :(

The "devfs_fs_kernel.h" include file isn't present on my FC5 system. Hrmm...

-Rich

gcc -m32
-Wp,-MD,/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/.lirc_dev.o.d
-nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os
-pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2
-fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686
-mtune=generic -mtune=generic -mregparm=3 -ffreestanding
-Iinclude/asm-i386/mach-default -fomit-frame-pointer
-fasynchronous-unwind-tables -g -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61
-DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../..
-I/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/../..
-I/lib/modules/2.6.18-1.2200.fc5/build//include/
-I/lib/modules/2.6.18-1.2200.fc5/build//drivers/media/video/ -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"
-D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/.tmp_lirc_dev.o
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c
In file included from
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c:35:
include/linux/config.h:6:2: warning: #warning Including config.h is
deprecated.
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c:54:35: error:
linux/devfs_fs_kernel.h: No such file or directory
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c: In function
‘cleanup’:
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c:132: error:
implicit declaration of function ‘devfs_remove’
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c: In function
‘lirc_thread’:
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c:207: warning:
‘interruptible_sleep_on’ is deprecated (declared at
include/linux/wait.h:366)
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c: In function
‘lirc_register_plugin’:
/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.c:381: error:
implicit declaration of function ‘devfs_mk_cdev’
make[5]: *** [/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev/lirc_dev.o]
Error 1
make[4]: *** [_module_/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/usr/src/kernels/2.6.18-1.2200.fc5-i686'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/root/lirc-0.8.1-CVS-pvr150/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/lirc-0.8.1-CVS-pvr150/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lirc-0.8.1-CVS-pvr150'
make: *** [all] Error 2


Chuck Filson wrote:
> I followed the instructions here 
> http://www.blushingpenguin.com/mark/blog/?p=24 and have had no problems at 
> all with lirc for receiving or transmitting.
>
> On Saturday 21 October 2006 03:18 pm, Rich West wrote:
>   
>> I apologize if this was asked and solved on this list before, but I
>> couldn't find many, if any, references to a solution.
>>
>> I have DirecTV and I am setting up a MythTV box.  Actually, the box is
>> set up and everything is working well except for the obvious fact that
>> the MythTV system cannot change the channel on the set top box.
>>
>> Now, I could go and get a script
>> (http://www.pdp8.net/directv/directv.shtml) and some hardware
>> (http://www.dtvcontrol.com/index.aspx?content=cable) which will do the
>> trick (I have to check to see if I can build one of those cables from
>> supplies available at RadioShack).  However, since the PVR-150 already
>> has an IR blaster, I thought it would make the most sense to just use
>> that.
>>
>> I've seen references to the latest lirc being able to TRANSMIT IR
>> (http://www.lirc.org/html/install.html#sending) but I'm wondering if I
>> am barking up the wrong tree.  The receiver I am testing with is the
>> D770, so I took that remote config file and the Hauppauge remote
>> config file and combined them together in to one lircd.conf file.
>>
>> However, I am not sure if that is the right thing to do.  Would I then
>> use irsend to have it do the transmit?  Will myth even know what to do?
>>
>> There's no how-to on this that I can find (I'll put together one if I
>> can get this working. :) ), so I was hoping to get some ideas/input
>> from the folks on the list..
>>
>>     



More information about the mythtv-users mailing list