View unanswered posts | View active topics It is currently Sat May 18, 2013 2:00 pm



Reply to topic  [ 2 posts ] 
 CentOS 5.4 - IR controller driver 
Author Message

Joined: Sun Mar 22, 2009 2:49 pm
Posts: 539
Location: Israel
Post CentOS 5.4 - IR controller driver
Install guide for IR controller module (lirc) on CentOS 5.4:
This guide assumes that CentOS 5.4 is already installed on your Fit-PC2

1) Download attached lirc_centos.rar and extract lirc_dev.ko and lirc_igorplugusb.ko
2) cp lirc_dev.ko lirc_igorplugusb.ko /lib/modules/2.6.18-164.el5/extra/
3) depmod
4) modprobe lirc_igorplugusb
5) Reboot the computer

After reboot, you can check whether the module is loaded:

lsmod | grep lirc
Code:
lirc_igorplugusb      11524   0
lirc_dev              16920   1  lirc_igorplugusb

dmesg | grep lirc
Code:
lirc_dev: IR Remote Control driver registered, major 61
lirc_igorplugusb: USB remote driver for LIRC v0.2

cat /var/log/messages | grep lirc | less

Please post here any problems you have with this driver

EDIT: Added link to alternate download location
Compiled modules: http://www.fit-pc2.com/download/centos/ ... centos.zip
Installation instructions: http://www.fit-pc2.com/download/centos/IR/readme_IR.txt


Attachments:
lirc_centos.rar [100.13 KiB]
Downloaded 57 times
Sat Mar 27, 2010 9:56 pm
Profile WWW

Joined: Wed Nov 24, 2010 7:08 pm
Posts: 5
Post Re: CentOS 5.4 - IR controller driver
Not having much luck with this on Centos 5.5. I have fitPC2 D1G-C1600-W. Everything looks like it is configured OK (below) but I can't get anything received when I flash the sensor with various IR remotes. I've tried: cat /dev/lirc0, and installing userspace applications from the lirc source code and using those - mode2, irrecord. All seem to start up OK, but never get any input.

I also tried compiling the lirc-0.8.7 from scratch including the kernel modules for the igorlugusb driver. But the result is the same. Help!

Code:
[root@slug ~]# uname -a
Linux slug 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux
[root@slug ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@slug ~]# lsmod | grep lir
lirc_igorplugusb       11524  0
lirc_dev               16920  1 lirc_igorplugusb
[root@slug ~]# dmesg | grep lirc
lirc_dev: IR Remote Control driver registered, major 61
lirc_igorplugusb: USB remote driver for LIRC v0.2
lirc_igorplugusb: Jan M. Hochstein <hochstein@algo.informatik.tu-darmstadt.de>
lirc_dev: lirc_register_driver: sample_rate: 100
lirc_igorplugusb[2]: Cesko AVR309:USB to UART protocol converter (simple) on usb4:2
usbcore: registered new driver lirc_igorplugusb
[root@slug ~]# grep lirc /var/log/messages
Nov 24 18:36:54 slug kernel: lirc_dev: IR Remote Control driver registered, major 61
Nov 24 18:36:54 slug kernel: lirc_igorplugusb: USB remote driver for LIRC v0.2
Nov 24 18:36:54 slug kernel: lirc_igorplugusb: Jan M. Hochstein <hochstein@algo.informatik.tu-darmstadt.de>
Nov 24 18:36:54 slug kernel: lirc_dev: lirc_register_driver: sample_rate: 100
Nov 24 18:36:54 slug kernel: lirc_igorplugusb[2]: Cesko AVR309:USB to UART protocol converter (simple) on usb4:2
Nov 24 18:36:54 slug kernel: usbcore: registered new driver lirc_igorplugusb
[root@slug ~]# grep lirc /lib/modules/2.6.18-194.el5/modules.dep
/lib/modules/2.6.18-194.el5/extra/lirc_dev.ko:
/lib/modules/2.6.18-194.el5/extra/lirc_igorplugusb.ko: /lib/modules/2.6.18-194.el5/extra/lirc_dev.ko
[root@slug ~]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 03eb:21fe Atmel Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@slug ~]# ls -l /dev/lir*
crw------- 1 root root 61, 0 Nov 24 18:36 /dev/lirc0


Wed Nov 24, 2010 7:18 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.