[mythtv-users] Hauppauge Lirc setup and new mythtv install

Brian White bjwhite at columbus.rr.com
Sat Sep 11 18:40:03 UTC 2010


I am attempting to get Lirc working on a "new" machine running Fedora  
13 with kernel 2.6.33.    The machine is a second frontend at the TV  
in front of our treadmill, and I'm trying to get it ready for the fall  
season.     I have an old Hauppauge PVR-150 installed for the sole  
purpose of using it's IR capabilities.   All video is being drawn from  
my main backend server upstairs.

I have downloaded 0.8.7, compiled, and installed LIRC, having read  
that there are issues with the latest kernels I wanted to be sure to  
have the latest.


On boot, the card loads fine with IVTV and the firmware is located and  
installed.

/etc/modprobe.d/lirc.conf:
#lirc_module_configuration
alias char-major-61 lirc_i2c



/etc/lirc/lircd.conf
#
# this config file was automatically generated
# using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999
#
# contributed by Jens Leuschner <leuschner at gmx.net>
#
# brand:             Hauppauge
# model:
# supported devices: WinTV primo; WinTV pci; WinTV radio
#
# This config file will work with both homebrew receivers and
# original Hauppauge TV cards !!!
#

begin remote

   name  Hauppauge
   bits           13
   flags SHIFT_ENC
   eps            30
   aeps          100

....etc.   Taken from Distro



/etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=" -d /dev/lirc0"

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
~
~



On a fresh reboot,   lsmod | grep lirc   yields no modules loaded
dmesg | grep lirc  gives no result

  Nothing in /var/log/messages   about lirc either

/dev/lirc* is empty



I go ahead and manually load module

modprobe lirc_i2c
OK

lsmod | grep lirc
lirc_i2c                4571  0
lirc_dev               12221  1 lirc_i2c
i2c_core               19731  15  
lirc_i2c 
,tuner_simple 
,nvidia 
,wm8775 
,tuner 
,cx25840 
,ivtv 
,v4l2_common 
,videodev,tveeprom,i2c_piix4,nouveau,drm_kms_helper,drm,i2c_algo_bit


One line added to /var/log/messages:
kernel: lirc_dev: IR Remote Control driver registered, major 249

/dev/lirc still completely empty

lircd -n &
 lircd: lircd(default) ready, using /var/run/lirc/lircd

irw
lircd: accepted new client on /var/run/lirc/lircd
lircd: could not get file information for /dev/lirc
lircd: default_init(): No such file or directory
lircd: WARNING: Failed to initialize hardware


Which makes sense because there is no device in   /dev/lirc*


Is there a patch I need to get this working on 2.6.33?   My  
understanding was that the 0.8.7 was all patched up for the newer  
kernels.    Would I be better of downloading the latest vanilla kernel  
from kernel.org, since the IR drivers are now rolled into the kernel  
(is that true?)

I had this card working fine on my other mythmachine, so I'm at a loss  
as to what I'm doing wrong with this new frontend.

Any help would be GREATLY appreciated, as I have already spent a  
couple days trying to figure it out.

Thanks,

Brian









More information about the mythtv-users mailing list