[mythtv-users] LIRC and PVR 150/250 (still struggling)

Scott Johnson scott-mythtv at cfl.rr.com
Fri Jul 7 03:54:37 UTC 2006


Nick wrote:
> What does
>
> # lsmod |grep "lirc"
>
> give?
>   
[root at sandstorm recordings]# /sbin/lsmod | grep lirc
lirc_i2c                8068  0
lirc_dev               12448  1 lirc_i2c
i2c_core               21697  15 
cx88xx,bttv,i2c_algo_bit,lirc_i2c,it87,eeprom,i2c_isa,msp3400,saa7115,wm8775,cx25840,tda9887,tuner,ivtv,tveeprom

>> I've read this post
>> http://www.mythtv.org/pipermail/mythtv-users/2004-April/040219.html
>> and it looks like I have the same or similar problem: the installed LIRC
>> was not compiled for my Hauppauge card.
>> Note that lirc_i2c is not in the list below.
>>
>> # /usr/sbin/lircd --driver=help
>>     
>
> LIRC kernel modules use the 'default' driver, and so are not listed. I
> get the same output on my system (using lirc_serial) and this is also
>   

Thanks, you saved me wasting my time with that.

> For interest, I'm using 2.6.16-1.2111_FC4 with the following RPMs installed:
>
> lirc-kmdl-2.6.16-1.2111_FC4-0.8.1-cvs20060325_58.rhfc4.at
> lirc-lib-devel-0.8.1-cvs20060325_58.rhfc4.at
> lirc-lib-0.8.1-cvs20060325_58.rhfc4.at
> lirc-0.8.1-cvs20060325_58.rhfc4.at
> lirc-devices-0.7.0-1.rhfc4.at
>
>   
Mine aren't exactly the same but I don't see anything wrong with them.  
You have the development version of lirc-lib.  That could be significant.

[root at sandstorm etc]# yum list installed "*lirc*"
Installed Packages
lirc.i386                                0.8.1-cvs20060325_58.r installed
lirc-devices.noarch                      0.7.0-1.rhfc4.at       installed
lirc-kmdl-2.6.16-1.2111_FC4.i686         0.8.1-cvs20060325_58.r installed
lirc-lib.i386                            0.8.1-cvs20060325_58.r installed
[root at sandstorm etc]#   

> You can check whether you have kernel modules installed for the
> current running kernel with:
>
> # find /lib/modules/`uname -r`/ -name lirc*.ko
>
> (You may need to run a depmod after they are freshly installed to
> update module dependencies)
>   
[root at sandstorm recordings]# find /lib/modules/`uname -r`/ -name lirc*.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_sasem.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_mceusb2.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_i2c.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_cmdir.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_mceusb.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_it87.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_igorplugusb.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_dev.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_bt829.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_serial.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_parallel.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_atiusb.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_imon.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_sir.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_gpio.ko
/lib/modules/2.6.16-1.2111_FC4/updates/drivers/lirc/lirc_streamzap.ko
[root at sandstorm recordings]# 

> http://lirc.cvs.sourceforge.net/lirc/lirc/remotes/hauppauge/lircd.conf.hauppauge?view=markup
>
> This now becomes your /etc/lircd.conf file.
>
>   
I downloaded that file and removed all the configs except the one that 
was for "Hauppague A415-HPG" because that is the model number inside the 
battery door of my remote.

> You also need to ensure that lircd is starting with the correct
> device. On FC4 you normally put any run-time options for lircd in
> /etc/sysconfig/lircd (i.e. which device to use, however when using
> only 1 kernel module I don't believe you need to pass that.).
>
>   
So I edited /etc/sysconfig/lircd to have...

# Options to lircd
LIRCD_OPTIONS="--permissionw7 --driverÞfault --device/dev/lirc1"

And I restarted lircd
(I varied the device again between lirc0 and lirc1)

> With lircd using the correct device, irw should now just work, using
> the key names from the newly installed lircd.conf.
>
>   
No change.  irrecord gives the gap error and irw shows nothing.
I really wish it would just work.  <sigh>

Scott

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060706/88d89284/attachment-0001.htm 


More information about the mythtv-users mailing list