IR support in Ubuntu
Linux kernel module for IR already included in the custom kernel, to use it do the following:
- Install Ubuntu 8.04
- Install lirc package, choose "Igor Cesko`s USB IR Receiver" in dialog.
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 irw
- Press the keys on remote - you should see pressed key-names in terminal.
- Map buttons to actual application