Posts: 8
Joined: Aug 2009
I am using the Pundit P4-P5N9300 with Ubuntu 9.04 and XBMC and would like to get the built-in IR receiver and remote control working. I have read through the tread, but I don't understand the instructions. Can anyone please write some detailed instructions on how to get the remote working with this setup?
For instance, be detailed on how to configure Lirc. I have not found any executable for Lirc. What are the config files that should be updated, and what parameters should be configured?
I have activated the IR in BIOS and installed Lirc 0.8.4 and Lirc-module-source from the package manager. But I cannot get it configured and I don't know how to install Lirc 0.8.6 on top of my installation.
Posts: 8
Joined: Aug 2009
2009-09-04, 21:12
(This post was last modified: 2009-09-04, 21:17 by User 53076.)
JS36 Wrote:sudo apt-get install lirc (configure with the remote you want to use, i choose MCEUSB new Philips et al and emulated it with my logitech harmony 555) The remote that comes with the Asus Pundit is a MCEUSB compatible remote too.
sudo apt-get install dialog
sudo su
cd /usr/src
wget http://www.lirc.org/software/snapshots/l...e2.tar.bz2
tar xvfj lirc-0.8.6pre2
cd lirc-0.8.6pre2
sh setup.sh
Driver configuration(1) > IrDa/CIR hardware(6) > ITE IT8712/IT8705/IT8720 CIR port (3) and "save configuration & run configure" in first menu
make
make install
nano /etc/modules add lirc_dev and lirc_it87
nano /etc/lirc/hardware.conf change to this REMOTE_MODULES="lirc_dev lirc_it87"
reboot and test with "sudo mode2 -d /dev/lirc0" and press buttons.
otherwise try modprobe lirc_dev && modprobe lirc_it87 and see if you get /dev/lirc0 and try sudo mode2 -d /dev/lirc0 and press buttons on remote.
To get it to work with xbmc you need to create and specify actions for the buttons in /usr/share/xbmc/system/Lircmap.xml
I have no /dev/lirc0, so I cannot run mode2 -d /dev/lirc0. The only thing resembling lirc0 is /dev lircd.
When I run modprobe lirc_it87 I get
FATAL: Error inserting it_87 (/lib/modules/2.6.28-15-generic/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko):Operation not permitted.
Any clues as to what may be wrong?
Posts: 8
Joined: Aug 2009
JS36 Wrote:Run like this couse you need to be root.
"sudo modprobe lirc_dev"
"sudo modprobe lirc_it87"
I have tried to run with sudo as well.
kalimero@HTPC:~$ sudo modprobe lirc_dev
[sudo] password for kalimero:
kalimero@HTPC:~$ sudo modprobe lirc_it87
FATAL: Error inserting lirc_it87 (/lib/modules/2.6.28-15-generic/kernel/ubuntu/lirc/lirc_it87/lirc_it87.ko): No such device or address
So for the first command nothing happens (and no process seems to be started). For the second command I get the same error as other people in this thread have been getting.
Any ideas? I am grateful for all the help I can get as I really want to get the remote working for my HTPC.
Posts: 22
Joined: Aug 2009
Reputation:
0
JS36
Junior Member
Posts: 22
Do you have any /usr/src/linux? Does it point to the kernel you are using?
Posts: 8
Joined: Aug 2009
JS36 Wrote:Do you have any /usr/src/linux? Does it point to the kernel you are using?
No, I don't have any /usr/src/linux pointer. I checked on another computer that is also running on Ubuntu 9.04 32-bit and it is missing there also. Should there always be a pointer to the kernel in /usr/src/linux ?
How can I set it up?
Posts: 22
Joined: Aug 2009
Reputation:
0
JS36
Junior Member
Posts: 22
I didn't had to force to use some specific IRC-adress even if i tested it. Does the compilation works fine without errors?
I'm not sure if you must have a /usr/src/linux but i think the install uses that when installing the modules? Someone else might know that better.
sudo ln -s /usr/src/[kernel you are using] /usr/src/linux
Posts: 8
Joined: Aug 2009
I have added the /usr/src linux pointer to the kernel. But just like aslef I am still getting the same error when trying sudo modprobe lirc_it87.
I have recompiled, but still with the same result...