Kodi Community Forum

Full Version: How to use two IR remotes under xbmc live?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have an Asrock 330HT which has its own remote but I would like to use my old original xbox remote control as I like it more and it works from more angles.
I can use both remotes separately with different config files but I would like to use them at the same time.
How can I incorporate two hardware.confs & lircd.confs into one file?
yes you need your LIRC to have both profiles in it, I've no idea how to do it. It can be done just a little googling is all you need.

-=Jason=-
Flomaster Wrote:yes you need your LIRC to have both profiles in it, I've no idea how to do it. It can be done just a little googling is all you need.

-=Jason=-

Hi, thanks for reply. However I have asked here because I couldn't find it with google. If you can, please let me know.
edit /etc/lirc/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.

#lg
include "/etc/lirc/lircd.conf.lg"

#thermaltake
include "/etc/lirc/lircd.conf.thermaltake"

#mceusb2
include "/etc/lirc/lircd.conf.mceusb"

and create lircd.conf.lg, lircd.conf.thermaltake, lircd.conf.mceusb all these 3 remotes works in xbmc for me
Thank you guys for the replys, I have figured this is the case with lircd.conf
The problem I have is with /etc/hardware.conf because I have two IR receivers, one built in in the case (Asrock 330HT) and an external original xbox dvd receiver converted to USB.
How can I have two hardware.conf or merged two devices into one?
With IRW I can see only the button presses from xbox remote.

This is my hardware.conf that works with xbox receiver: (and one currently using)

Code:
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES="lirc_atiusb lirc_dev"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc1"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS="-r"

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

#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="lircd.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="true"
START_LIRCMD=""

and this is the hardware.conf for asrock 330ht (it works with asrock remote)


Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev lirc_wb677"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="lirc_wb677/lircd.conf.wb677"
REMOTE_LIRCD_ARGS=""

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

#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=""
Is it possible to just use on IR receiver? The built in one?

By using the irrecord command to record the XBox remotes IR codes to make a conf file.