Ok I enabled and built the kernel module sunxi-ir-rx in the latest longsleep kernel and that loads fine and creates /dev/input/event3 :
Using a small tool from https://github.com/elopez/keybinder.git , binding keys from the Pine64 remote seems to work fine:
Code:
[11421.673001] Registered IR keymap rc_map_sunxi
[11421.673523] input: sunxi_ir_recv as /devices/soc.0/1f02000.s_cir/rc/rc0/input3
[11421.673676] rc0: sunxi_ir_recv as /devices/soc.0/1f02000.s_cir/rc/rc0
[11421.683893] lirc_dev: IR Remote Control driver registered, major 249
[11421.771356] IR NEC protocol handler initialized
[11421.772549] IR RC5(x) protocol handler initialized
[11421.775071] input: MCE IR Keyboard/Mouse (sunxi-rc-recv) as /devices/virtual/input/input4
[11421.775310] IR MCE Keyboard/mouse protocol handler initialized
[11421.777204] rc rc0: lirc_dev: driver ir-lirc-codec (sunxi-rc-recv) registered at minor = 0
[11421.777214] IR LIRC bridge handler initialized
[11421.777687] IR JVC protocol handler initialized
[11421.779092] IR RC6 protocol handler initialized
[11421.780438] IR SANYO protocol handler initialized
[11421.781451] IR Sony protocol handler initialized
Using a small tool from https://github.com/elopez/keybinder.git , binding keys from the Pine64 remote seems to work fine:
Code:
ubuntu@pine64:~/build/keybinder$ sudo ./keybinder /dev/input/event3
Reading key input from /dev/input/event3 (sunxi_ir_recv)
Loaded config items
Keycode 1 pressed
Keycode 2 pressed
Keycode 3 pressed
Keycode 5 pressed
Keycode 6 pressed
Keycode 77 pressed
Keycode 31 pressed
Keycode 10 pressed
Come have a chat in the Pine IRC channel >>