Remote for Odroid N2

Hi all,

Can anyone recommend a cheap preferably non IR remote, but not a deal breaker, for an N2. Do not want something with a keyboard on the back as the N2 will only be used to watch FTA TV, Movies, Music and show Photos.

So just the basic Navigation Keys, Play, Pause FF, Rewind, Stop and a numeric keys 0-9. Also would need a spare key that I can map to Contextual Menu.

TIA

Greg

I trained my n2 to use my TV remote.

Shoog

Am using my old firestick remote. Works a dream.

Minix neo a2 lite

1 Like

Great remote but does not have a numeric keyboard on the front. To use the numbers you must turn it over, Press Fn and then your numbers.

Anyone have any thoughts on this remote?

Spot On.
Learning remote features
My favourite remote.

If you didn’t need the numeric keypad, the Xiaomi MiTV remotes are an astounding value. Bluetooth, great build quality, elegant looking and ridiculously inexpensive.

I have been using them with my various Kodi boxes (RPi3, Odroid C2, Odroid N2) over the years and they’ve always done me right.

Is that the Bluetooth or IR version in your link?

In my haste I posted the incorrect link. I’ve corrected that.

Does the Xiaomi MiTV remote work out of the box as is without having to modify any of the CoreELEC Kodi OS files?
Does the IR version work just as well as the bluetooth version?
Will any bluetooth dongle work or does it have to be Odroid one?

I believe it’s fully mapped out of the box, but needs to be paired first (it is after all, bluetooth). That said, I’m not a big fan of the basic mapping (on any remote with Kodi) and have added some long-press functions and made changes like switching the power button from actually shutting down the machine to bringing up the shutdown sidebar, etc.

The Kodi Keymap Editor add-on can be used to remap single-press functions. But unless the add-on now supports long-press (it’s been a while since I used it), those need to be done by manually editing your keymap file.

EDIT: As it turns out, there’s a fork of Keymap Editor that does support long press:

Do you have a specific guide on how to train your N2 to use a remote?

There is a generic guide for using the inbuilt functionality on the forums.

This will configure almost all remotes to use the built in IR receiver.

I tried this guide, but couldn’t make it work.

When you have created your map file it needs to be saved in the following location.

/storage/.config/rc_keymaps/YOURMAPNAME

It appears some code is missing, no?

https://wiki.coreelec.org/coreelec:rcu#remote_controller_repository

This guide has never failed me so I can’t see what has gone wrong. I am using it at the moment on all boxes.

So I created a .toml file in Notepad as such:

[[protocols]]
name = "sony"
protocol = "nec"
[protocols.scancodes]
0x10012 = "KEY_VOLUMEUP"
0x10013 = "KEY_VOLUMEDOWN"
0x1ae242 = "KEY_HOME"
0x1ae23c = "KEY_RIGHT"
0x1ae23b = "KEY_LEFT"
0x1ae239 = "KEY_UP"
0x1ae23a = "KEY_DOWN"
0x1ae23d = "KEY_ENTER"
0x1ae229 = "KEY_INFO"
0x1ae218 = "KEY_STOP"
0x1ae215 = "KEY_POWER"
0x1ae21a = "KEY_PLAYPAUSE"
0x1ae243 = "KEY_ESC"
0x1ae263 = "KEY_SUBTITLE"
0x1ae23f = "KEY_CONTEXT_MENU"

and an rc_maps.cfg like so:

meson-ir * sony.toml

I try to access this location

/storage/.config/rc_keymaps/

But the only location I can see through Windows Explorer is:

\\COREELEC\Configfiles\rc_keymaps

I copied the files into the “appropriate” location, but no matter what dir structure I use, it cannot find it:

CoreELEC:~ # /storage/config/rc_keymaps/sony.toml
-sh: /storage/config/rc_keymaps/sony.toml: not found
CoreELEC:~ # /storage/.config/rc_keymaps/YOURMAPNAME.toml
-sh: /storage/.config/rc_keymaps/YOURMAPNAME.toml: not found
CoreELEC:~ # /coreelec/config/rc_keymaps/sony.toml
-sh: /coreelec/config/rc_keymaps/sony.toml: not found
CoreELEC:~ # /config/rc_keymaps/sony.toml
-sh: /config/rc_keymaps/sony.toml: not found
CoreELEC:~ # /configfiles/rc_keymaps/sony.toml
-sh: /configfiles/rc_keymaps/sony.toml: not found
CoreELEC:~ # /storage/.config/rc_keymaps/sony.toml
: not foundonfig/rc_keymaps/sony.toml: line 1: [[protocols]]
/storage/.config/rc_keymaps/sony.toml: line 2: name: not found
/storage/.config/rc_keymaps/sony.toml: line 3: protocol: not found
: not foundonfig/rc_keymaps/sony.toml: line 4: [protocols.scancodes]
/storage/.config/rc_keymaps/sony.toml: line 5: 0x10012: not found
/storage/.config/rc_keymaps/sony.toml: line 6: 0x10013: not found
/storage/.config/rc_keymaps/sony.toml: line 7: 0x1ae242: not found
/storage/.config/rc_keymaps/sony.toml: line 8: 0x1ae23c: not found
/storage/.config/rc_keymaps/sony.toml: line 9: 0x1ae23b: not found
/storage/.config/rc_keymaps/sony.toml: line 10: 0x1ae239: not found
/storage/.config/rc_keymaps/sony.toml: line 11: 0x1ae23a: not found
/storage/.config/rc_keymaps/sony.toml: line 12: 0x1ae23d: not found
/storage/.config/rc_keymaps/sony.toml: line 13: 0x1ae229: not found
/storage/.config/rc_keymaps/sony.toml: line 14: 0x1ae218: not found
/storage/.config/rc_keymaps/sony.toml: line 15: 0x1ae215: not found
/storage/.config/rc_keymaps/sony.toml: line 16: 0x1ae21a: not found
/storage/.config/rc_keymaps/sony.toml: line 17: 0x1ae243: not found
/storage/.config/rc_keymaps/sony.toml: line 18: 0x1ae263: not found
/storage/.config/rc_keymaps/sony.toml: line 19: 0x1ae23f: not found

What the hell am I doing wrong?

Hopefully you don’t used Windows Notepad. You need a UNIX compatible editor.

Your error is a wrong file encoding.