Home > General > Setting up your remote control for MythTV

Setting up your remote control for MythTV

January 16, 2011 Leave a comment Go to comments

The remote control receiver I use for my MythTV setup is a 10-15 year old IR-receiver called IRMan, which attaches to the COM-port. The software I use with the receiver is lirc.

You probably want to mainly follow the instructions here. But I’ll list a few pointers here nevertheless, in case you have any issues with the instructions on that page.

  • Make sure you have lirc installed
  • Make sure lircd is not running (in Fedora type service lirc stop)
  • You need to create a configuration file /etc/lirc/lircd.conf that maps all the keys of your remote control, you can do this with the following command:
irrecord --driver=irman --device=/dev/ttyS0 /etc/lirc/lircd

  • Follow the instructions and you will end up with a file /etc/lirc/lircd.conf that contains (among other things) a list of codes:
 1       0x40BF
 2       0xC03F
 3       0x20DF
  • You don’t need to program all keys right now, just a few so that you can verify that it works.
  • In /etc/sysconfig/lirc configuration file, set LIRCD_OPTIONS to “–driver=irman –device=/dev/ttyS0”, assuming you have the same IR receiver
  • For some reason, which I don’t remember anymore, I symlinked my ~/.mythtv/lircrc to ~/.lircrc
  • In the file ~/.lircrc, you should create mappings like
 prog = mythtv
 button = 1
 config = 1
 repeat = 1
 delay = 3
  • Now start lircd (in Fedora type service lirc start)
  • I don’t remember if any additional MythTV changes are required
  • You may need to restart MythTV and lirc service in case you make changes

As I said, you should probably first and foremost follow the official documentation, but this is basically my configuration.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s