Linux drivers for IR (InfraRed)
Posted: Sun Aug 09, 2009 12:01 pm
Linux kernel module for IR already included in our custom kernel, to use it you need to do next steps:
1. Install Ubuntu8.04 like described on this page: http://www.fit-pc2.com/forum/viewtopic.php?f=9&t=655
2. Install lirc package, choose "Igor Cesko`s USB IR Receiver" in dialog.
3. Create config file for your remote, to do this run irrecord command and follow the instructions. Replace your_remote_name with actual remote name.
With irrecord utility you will give names to every button on your remote and lirc will learn how to recognize them.
4. Test config file:
Press the keys on remote, if everything ok - you should see pressed key-names in terminal.
5. Map buttons to actual application, here is example:
https://wiki.ubuntu.com/LircHowto#Map%20buttons
1. Install Ubuntu8.04 like described on this page: http://www.fit-pc2.com/forum/viewtopic.php?f=9&t=655
2. Install lirc package, choose "Igor Cesko`s USB IR Receiver" in dialog.
Code: Select all
sudo apt-get install lirc
Code: Select all
sudo irrecord -d /dev/lirc0 -f /etc/lirc/your_remote_name.conf
4. Test config file:
Code: Select all
sudo cp /etc/lirc/your_remote_name.conf /etc/lircd.conf
sudo /etc/init.d/lirc restart
irw
5. Map buttons to actual application, here is example:
https://wiki.ubuntu.com/LircHowto#Map%20buttons