Linux Arch Linux - Remote not working - With or without Lirc
#1
Question 
Linux mycubox-i 3.10.30-14-ARCH #1 SMP armv7l GNU/Linux
XBMC (13.0-BETA3 Git:20140406-d73d408). Platform: ARM Linux 32-bit
Host CPU: ARMv7 Processor rev 10 (v7l), 4 cores available
ARM Features: Neon enabled
Hardware: CuBox i4-Pro
Additional Specs: http://imx.solid-run.com/product/cubox-i4-pro/

Debug Log: http://pastebin.com/XBXwUwSS

Issue: Remote control key presses are not being recognized by XBMC. I'm using the kernel drivers, not Lirc.

My objective is to get the remote control working without Lirc. Although I can't get it to work with Lirc either, but I figure that removing Lirc from the equation will simplify the problem.

I've setup my keytable with minimal keys just to see if I can get it working. The remote is a stock Samsung TV remote control.

Without XBMC running, I'm able to verify that the keys are being pressed. The problem is that when I launch XBMC, nothing happens. I've pretty much followed this guide at section 2.2 titled "Do everything completely in-kernel". I'm at a complete loss. XBMC sees the event interface but doesn't seem to be reading it. Once I stop XBMC, I can once again see the keypresses with "ir-keytable -t". I've tried reading the strace logs as well, but I don't see any errors reading the event interface.

I'm hoping that someone here can offer some assistance.

Thanks

Code:
# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1397106254.679535: event type EV_MSC(0x04): scancode = 0x70760
1397106254.679535: event type EV_KEY(0x01) key_down: KEY_UP(0x0001)
1397106254.679535: event type EV_SYN(0x00).
1397106254.922257: event type EV_KEY(0x01) key_up: KEY_UP(0x0001)
1397106254.922257: event type EV_SYN(0x00).
1397106255.598880: event type EV_MSC(0x04): scancode = 0x70760
1397106255.598880: event type EV_KEY(0x01) key_down: KEY_UP(0x0001)
1397106255.598880: event type EV_SYN(0x00).
1397106255.842255: event type EV_KEY(0x01) key_up: KEY_UP(0x0001)
1397106255.842255: event type EV_SYN(0x00).


Code:
# ir-keytable -vr
Found device /sys/class/rc/rc0/
Input sysfs node is /sys/class/rc/rc0/input0/
Event sysfs node is /sys/class/rc/rc0/input0/event0/
Parsing uevent /sys/class/rc/rc0/input0/event0/uevent
/sys/class/rc/rc0/input0/event0/uevent uevent MAJOR=13
/sys/class/rc/rc0/input0/event0/uevent uevent MINOR=64
/sys/class/rc/rc0/input0/event0/uevent uevent DEVNAME=input/event0
Parsing uevent /sys/class/rc/rc0/uevent
/sys/class/rc/rc0/uevent uevent NAME=rc-empty
/sys/class/rc/rc0/uevent uevent DRV_NAME=gpio-rc-recv
input device is /dev/input/event0
/sys/class/rc/rc0/protocols protocol rc-5 (disabled)
/sys/class/rc/rc0/protocols protocol nec (enabled)
/sys/class/rc/rc0/protocols protocol rc-6 (disabled)
/sys/class/rc/rc0/protocols protocol jvc (disabled)
/sys/class/rc/rc0/protocols protocol sony (disabled)
/sys/class/rc/rc0/protocols protocol rc-5-sz (disabled)
/sys/class/rc/rc0/protocols protocol sanyo (disabled)
/sys/class/rc/rc0/protocols protocol mce_kbd (disabled)
/sys/class/rc/rc0/protocols protocol lirc (disabled)
Opening /dev/input/event0
Input Protocol version: 0x00010001
scancode 0x70758 = KEY_BACK (0x9e)
scancode 0x70760 = KEY_UP (0x67)
scancode 0x70761 = KEY_DOWN (0x6c)
scancode 0x70762 = KEY_RIGHT (0x6a)
scancode 0x70765 = KEY_LEFT (0x69)
scancode 0x70768 = KEY_ENTER (0x1c)
Enabled protocols: NEC
Reply

Logout Mark Read Team Forum Stats Members Help
Arch Linux - Remote not working - With or without Lirc0