Kodi Community Forum

Full Version: Twinhan IR remote works, but not in XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Running XBMC 10.1 on Ubuntu 11.04.

I've gotten the twinhan IR remote/reciever to work with LIRC, confirmed it working with media apps in ubuntu and irw produces output.

But seems even though all looks good, xbmc ignores it? no idea what is stopping it working in XBMC.

contents of /etc/lirc/lircd.conf:
Code:
begin remote
name  TwinHanRemote
bits           32
eps            30
aeps          100
one             0     0
zero            0     0
gap          115899
toggle_bit      0
     begin codes
         fullscreen               0x8001002C
         power                    0x8001001D
         1                        0x80010002
         2                        0x80010003
         3                        0x80010004
         4                        0x80010005
         5                        0x80010006
         6                        0x80010007
         7                        0x80010008
         8                        0x80010009
         9                        0x8001000A
         0                        0x8001000B
         rec                      0x80010066
         favorite                 0x8001002F
         rewind                   0x80010017
         forward                  0x80010031
         ch+                      0x80010068
         ch-                      0x8001006D
         vol-                     0x8001006C
         vol+                     0x80010067
         recall                   0x8001002E
         play                     0x8001001C
         stop                     0x8001006B
         pause                    0x80010014
         mute                     0x80010032
         cancel                   0x80010001
         capture                  0x80010019
         preview                  0x80010025
         epg                      0x80010012
         recordlist               0x80010026
         tab                      0x8001000F
         teletext                 0x8001001E
     end codes
end remote

contents of /etc/lirc/hardware.conf:

Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/by-id/usb-Twinhan_Tech_Remote_Control_1111111-event-if00"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
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=""

Any ideas why it works for other apps, but not XBMC?

EDIT: Discovered that <lircmap> and </lircmap> were missing from Lircmap.xml, so now it is working, just to get the button mapping sorted now.