2013-02-26, 00:15
Thank you very much LB06 for taking the time to write this guide, it has made things clearer for me. I am hoping it will help me to finally get my remote control working properly?
I am a Linux and XBMC newbie and have been really struggling to get my MCE remote control working with a Soundgraph iMON receiver. I initially followed this guide here which kinda works but I end up with lots of buttons on the remote control that send double commands / presses so it doesn't work well as all.
I am trying to do part 2.3 Let the kernel cooperate with LIRC. As I intend to later use irexec to launch scripts to run wget commands to control some thing on my home automation system. Anyways..
When I run this command:
xbmc@xbmc01:~$ sudo /usr/bin/ir-keytable -c -w /lib/udev/rc_keymaps/imon_mce -p RC-6,LIRC
Read imon_mce table
Old keytable cleared
Wrote 77 keycode(s) to driver
Protocols changed to RC-6 LIRC
My remote control stops working all together. If I run the command again but take off the LIRC Protocol my remote starts working again.
xbmc@xbmc01:~$ sudo /usr/bin/ir-keytable -c -w /lib/udev/rc_keymaps/imon_mce -p RC-6
Read imon_mce table
Old keytable cleared
Wrote 77 keycode(s) to driver
Protocols changed to RC-6
I also ran this command: sudo modprobe ir-lirc-codec
Any ideas? I have been right through the imon_mce keymap file and checked all the scancodes are correct with ir-keytable -t
I think LIRC is setup correctly.
lircd.conf
hardware.conf
Also ir-keytable -t only seems to work when LIRC is disabled or not configured to use the Linux Input Layer, should both ir-keytable -t and irw work at the same time?
Thanks
I am a Linux and XBMC newbie and have been really struggling to get my MCE remote control working with a Soundgraph iMON receiver. I initially followed this guide here which kinda works but I end up with lots of buttons on the remote control that send double commands / presses so it doesn't work well as all.
I am trying to do part 2.3 Let the kernel cooperate with LIRC. As I intend to later use irexec to launch scripts to run wget commands to control some thing on my home automation system. Anyways..
When I run this command:
xbmc@xbmc01:~$ sudo /usr/bin/ir-keytable -c -w /lib/udev/rc_keymaps/imon_mce -p RC-6,LIRC
Read imon_mce table
Old keytable cleared
Wrote 77 keycode(s) to driver
Protocols changed to RC-6 LIRC
My remote control stops working all together. If I run the command again but take off the LIRC Protocol my remote starts working again.
xbmc@xbmc01:~$ sudo /usr/bin/ir-keytable -c -w /lib/udev/rc_keymaps/imon_mce -p RC-6
Read imon_mce table
Old keytable cleared
Wrote 77 keycode(s) to driver
Protocols changed to RC-6
I also ran this command: sudo modprobe ir-lirc-codec
Any ideas? I have been right through the imon_mce keymap file and checked all the scancodes are correct with ir-keytable -t
I think LIRC is setup correctly.
lircd.conf
Code:
#This configuration has been automatically generated via
#the Ubuntu LIRC package maintainer scripts.
#
#It includes the default configuration for the remote and/or
#transmitter that you have selected during package installation.
#
#Feel free to add any custom remotes to the configuration
#via additional include directives or below the existing
#Ubuntu include directives from your selected remote and/or
#transmitter.
#Configuration for the Linux input layer (/dev/input/eventX) remote:
include "/usr/share/lirc/remotes/devinput/lircd.conf.devinput"
hardware.conf
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Linux input layer (/dev/input/eventX)"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/by-id/usb-15c2_0036-event-if00"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="devinput/lircd.conf.devinput"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Disable kernel support.
#Typically, lirc will disable in-kernel support for ir devices in order to
#handle them internally. Set to false to prevent lirc from disabling this
#in-kernel support.
#DISABLE_KERNEL_SUPPORT="true"
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Also ir-keytable -t only seems to work when LIRC is disabled or not configured to use the Linux Input Layer, should both ir-keytable -t and irw work at the same time?
Thanks