IR support in Ubuntu

From fit-PC wiki
Jump to: navigation, search

Linux kernel module for IR already included in the custom kernel, to use it do the following:

sudo apt-get install lirc
  • Create config file for your remote, to do this run

and follow the instructions. Replace your_remote_name with actual remote name.

sudo irrecord -d /dev/lirc0 -f /etc/lirc/your_remote_name.conf

With irrecord utility lirc you will give names to every button on your remote and lirc will learn how to recognize them.

  • Test config file:
sudo cp /etc/lirc/your_remote_name.conf /etc/lircd.conf
sudo /etc/init.d/lirc restart
  • Press the keys on remote - you should see pressed key-names in terminal.
  • Map buttons to actual application