Linux driver for IR

Post Reply
agillis
Posts: 7
Joined: Mon Jun 01, 2009 7:49 pm

Linux driver for IR

Post by agillis »

Is there a Linux driver for the IR receiver yet? I have seen this question asked a few times but no answer.

Denis
Posts: 301
Joined: Sun Apr 26, 2009 3:24 pm

Re: Linux driver for IR

Post 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
Compulab's Linux support

agillis
Posts: 7
Joined: Mon Jun 01, 2009 7:49 pm

Re: Linux driver for IR

Post 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?

tisoft_media
Posts: 16
Joined: Sun Apr 19, 2009 8:40 am

Re: Linux driver for IR

Post 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

agillis
Posts: 7
Joined: Mon Jun 01, 2009 7:49 pm

Re: Linux driver for IR

Post by agillis »

I'm using Fedora 11.

Post Reply

Return to “Ubuntu 8.04”