Page 1 of 1

Linux driver for IR

Posted: Tue Jun 30, 2009 8:09 am
by agillis
Is there a Linux driver for the IR receiver yet? I have seen this question asked a few times but no answer.

Re: Linux driver for IR

Posted: Tue Jun 30, 2009 3:30 pm
by Denis
Linux driver for IR (lirc_igorplugusb) included in kernel:
https://launchpad.net/~fitpc2/+archive/ ... rig.tar.gz

I have not made yet succeded build for i386 on PPA, but you can take sources and make .deb package on your linux station with

Code: Select all

fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers
Install new kernel and reboot.

After that you need to:
1. Install lirc package, choose "Igor Cesko`s USB IR Receiver" in dialog.

Code: Select all

sudo apt-get install lirc
2. Create config file for your remote, run this command and follow the instructions. Replace your_remote_name with actual remote name.

Code: Select all

sudo irrecord -d /dev/lirc0 -f /etc/lirc/your_remote_name.conf
3. Test config file:

Code: Select all

sudo cp /etc/lirc/your_remote_name.conf /etc/lircd.conf
sudo /etc/init.d/lirc restart
irw
Press the keys on remote, if everything ok - you should see pressed keys in terminal

4. Map buttons to actual application, here is example:
https://wiki.ubuntu.com/LircHowto#Map%20buttons

Re: Linux driver for IR

Posted: Tue Jun 30, 2009 4:50 pm
by agillis
I don't really want to build a whole kernel for one small driver. Do you have just the driver file someplace?

It this the kernel you use for your Ubuntu release? What other changes are in this kernel?

Re: Linux driver for IR

Posted: Tue Jun 30, 2009 7:39 pm
by tisoft_media
If you're using Ubuntu 9.04 you can use the driver from my PPA:

https://launchpad.net/~markus-tisoft/+archive/fit-pc2

Re: Linux driver for IR

Posted: Tue Jun 30, 2009 11:18 pm
by agillis
I'm using Fedora 11.