The IR receiver on the PVR150 is supported by the lirc_i2c module. For some more general lirc help see LIRC
- For the 0.4 series of ivtv drivers get lirc-0.7.2 from http://www.lirc.org/.
- For the 0.6 series of ivtv drivers (only used with kernel>=2.6.16) I found that the latest CVS was needed for lirc to compile properly.
- Once you have acquired the proper version of the LIRC source unpack it, and change into the lirc directory
- Run ./setup.sh and select Driver Configuration:TV Card:Hauppage TV Card
- Select Save configuration & run configure
- run make && make install and the kernel modules should be ready to go.
- run modprobe lirc_i2c and check dmesg, you should see something like:
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: chip found @ 0x71 (Hauppauge IR (PVR150))
lirc_dev: lirc_register_plugin: sample_rate: 10
- to test that this all worked properly run cat /dev/lirc0, when you point your remote at the receiver and press buttons you should see some output. As long as you are getting any output then it is working properly. Note: your device may be /dev/lirc, or /dev/lircN not necessarily /dev/lirc0.
- Now let's move on to configuring lircd
Configuring your remote
- Now you need to set up your /etc/lircd.conf file so that lircd can properly interpret your remote's signals.
- The pvr150 has been sold with 2 different types of remotes one grey and one silver so your lircd.conf will depend on which you have.
- For the silver remote a working lircd.conf is found here: http://www.pjd.nu/lirc/lircd_pvr150.conf
- Need a lircd.conf for grey remote
- Once you setup your /etc/lircd.conf run lircd, followed by irw. After you run irw the console should appear to be hung, but if you point your remote at the receiver and push buttons irw should spit out text related to which button you pressed. If this works then move on to the next step.
- The next step is to setup your ~/.mythtv/lircrc file so that mythtv will respond to IR commands. The file I am using is posted at: http://web.mit.edu/vbrunini/Public/ It also contains some keybindings for mplayer and xine
- In order to get mplayer to use your lircrc file run ln -s ~/.mythtv/lircrc ~/.lircrc