Kodi Community Forum

Full Version: lirc trouble/remote does not work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

first the basics:

Ubuntu 10.04 LTS with XBMC installed as described in http://wiki.xbmc.org/index.php?title=Tal..._PC_EB1501

System is German Version of EeeBOX EB1501 with the built in IR receiver.
Remote Controll works, since I can power up the system with it.

My trouble starts with no reactions to my remote-controll input when checking with

Code:
~$ irw
Now to the trouble shooting outputs:
Code:
jfk@jfk-desktop:~$ lsmod | grep lirc
lirc_it87              15103  0
lirc_dev                8890  1 lirc_it87

Code:
jfk@jfk-desktop:/etc/lirc$ more hardware.conf
# hardware.conf for eb1501 German / Asian Edition
#
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
REMOTE_MODULES="lirc_dev lirc_it87"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""

cheking for the IR-Receiver tells me its' where it ought to be:
Code:
jfk@jfk-desktop:/sys/devices/pnp0/00:09$ more id
ITE8713

Please, anyone help....
Well, you haven't tell us what you have in your "lircd..conf", you should have something like that in there:
Code:
[i][b]xbmc@asus:/etc/lirc$ cat lircd.conf[/b][/i]
#Configuration for the Windows MCE Remotes (new version Philips et al.) remote:
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"
Try this, if it works. First of all, change you hardware.conf like this:
Code:
# hardware.conf for eb1501 German / Asian Edition
#
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
[color=blue]REMOTE_MODULES="lirc_dev lirc_mceusb2"[/color]
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
and then replace the original lircd.conf.mceusb (make back up copy first, to be in the safe side) with this one and then restart lirc
Code:
sudo /etc/init.d/lirc restart
Hopefully it will get start going. Hope, it supports RC-6 protocol. Cheers!!
Thank you. Next Time I ask quicker and save me some hours of frustration...

My lircd.conf was empty. Adding the suggested link, and modifying the hardware.conf
solved the problem. The existing lircd.conf.mceusb seemed to be fine, so I did not replace it.

Thanx a bunch....
Thought i'd just restart this instead of making a new thread.
I got the same asus eee box.
Didnt get the remote to work following various wiki's here.

debug output:
Ubuntu 9.10

/etc/modprobe.d/lirc.conf
Code:
alias char-major-61 lirc_dev
options lirc_it87 irq=05 io=0x2f8

/etc/lirc/hardware.conf
Code:
# hardware.conf for eb1501 German / Asian Edition
#
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
REMOTE_MODULES="lirc_dev lirc_it87 lirc_mceusb2"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""

/etc/lirc/lircd.conf
Code:
include "/usr/share/lirc/remotes/mceusb/lircd.conf.mceusb"

/etc/lirc/lircmd.conf is empty

/etc/lirc/lircd.conf.mceusb <- used the one linked here

And have this in my homedir and in the startupscript:
http://nfye.com/EB1501/start_ite8713.sh

Where did i go wrong? hehe
I'm a linuxnewbie, so i dont fully understand everything i do.

Thanks
I think your problem is: lirc_it87
Take that out from every where and reboot.
Also, do you really need "/etc/modprobe.d/lirc.conf"? try removing everything from that file if it still doesn't work. Good luck!!
Thanks, but that didnt help, still dont get any output in irw when i try pushing random buttons on the remote.Sad

Edit:
Quote:cheking for the IR-Receiver tells me its' where it ought to be:
Code:
jfk@jfk-desktop:/sys/devices/pnp0/00:09$ more id
ITE8713
This returns something totally different here.

Code:
xbmc@xbmc:/sys/devices/pnp0/00:09$ more id
PNP0c02

Edit2:
Got a friend to help me, everything is solved now Wink
on my version the device was located at /sys/devices/pnp0/00:0a/resources

For others that might have this problem i'll paste what solved it for me.

Code:
GNU nano 2.2.2 File: /etc/modprobe.d/lirc.conf

alias char-major-61 lirc_dev
options lirc_it87 irq=5 io=0x2f8
install lirc_it87 echo activate > /sys/devices/pnp0/00:0a/resources ; modprobe --ignore-install lirc_it87 $CMDLINE_OPTS

Code:
GNU nano 2.2.2 File: /etc/lirc/hardware.conf

# /etc/lirc/hardware.conf
#Chosen Remote Control
REMOTE="Windows Media Center Remotes (new version Philips et al.)"
REMOTE_MODULES="lirc_dev lirc_it87"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS="--output=/dev/lircd"

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""