HowTo: debug a IR Remote

HOWTO debug a IR remote

= checking the driver =

IR driver
dmesg

[   0.639746] lirc_dev: IR Remote Control driver registered, major 252 [   0.639751] IR NEC protocol handler initialized [   0.639755] IR RC5(x) protocol handler initialized [   0.639758] IR RC6 protocol handler initialized [   0.639761] IR JVC protocol handler initialized [   0.639764] IR Sony protocol handler initialized [   0.639767] IR RC5 (streamzap) protocol handler initialized [   0.639770] IR MCE Keyboard/mouse protocol handler initialized [   0.640026] Registered IR keymap rc-rc6-mce [   0.640180] input: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:09/rc/rc0/input2 [   0.640276] rc0: Nuvoton w836x7hg Infrared Remote Transceiver as /devices/pnp0/00:09/rc/rc0 [   0.640409] input: MCE IR Keyboard/Mouse (nuvoton-cir) as /devices/virtual/input/input3 [   0.640542] nuvoton_cir: driver has been successfully loaded

/proc filesystem
cat /proc/bus/input/devices

I: Bus=0019 Vendor=1050 Product=00c3 Version=0033 N: Name="Nuvoton w836x7hg Infrared Remote Transceiver" P: Phys=nuvoton/cir0 S: Sysfs=/devices/pnp0/00:09/rc/rc0/input2 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=100013 B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200104001 9e968000000000 10000000 B: MSC=10

eventlircd config files
cat /etc/eventlircd.d/ircore.evmap

KEY_1           = KEY_NUMERIC_1 KEY_2           = KEY_NUMERIC_2 KEY_3           = KEY_NUMERIC_3 KEY_4           = KEY_NUMERIC_4 KEY_5           = KEY_NUMERIC_5 KEY_6           = KEY_NUMERIC_6 KEY_7           = KEY_NUMERIC_7 KEY_8           = KEY_NUMERIC_8 KEY_9           = KEY_NUMERIC_9 KEY_0           = KEY_NUMERIC_0 KEY_STAR        = KEY_NUMERIC_STAR KEY_POUND       = KEY_NUMERIC_POUND KEY_KP1         = KEY_NUMERIC_1 KEY_KP2         = KEY_NUMERIC_2 KEY_KP3         = KEY_NUMERIC_3 KEY_KP4         = KEY_NUMERIC_4 KEY_KP5         = KEY_NUMERIC_5 KEY_KP6         = KEY_NUMERIC_6 KEY_KP7         = KEY_NUMERIC_7 KEY_KP8         = KEY_NUMERIC_8 KEY_KP9         = KEY_NUMERIC_9 KEY_KP0         = KEY_NUMERIC_0 KEY_KPASTERISK  = KEY_NUMERIC_STAR

KEY_E           = KEY_EXIT KEY_BACK        = KEY_EXIT KEY_BACKSPACE   = KEY_EXIT KEY_ESC         = KEY_EXIT KEY_STOPCD      = KEY_STOP KEY_NEXTSONG    = KEY_NEXT KEY_PREVIOUSSONG = KEY_PREVIOUS KEY_PROPS       = KEY_INFO KEY_ANGLE       = KEY_ZOOM KEY_MP3         = KEY_AUDIO KEY_TEXT        = KEY_TEXT KEY_EPG         = KEY_EPG

KEY_ENTER       = KEY_OK KEY_PLAYPAUSE   = KEY_PLAY KEY_TITLE       = KEY_SUBTITLE KEY_CONTEXT_MENU = KEY_EPG # used for context menu # todo KEY_EJECTCLOSECD = KEY_EJECT KEY_EJECTCD     = KEY_EJECT

KEY_SLEEP       = KEY_POWER