• 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16
How to get a seamless remote experience
nevermind just tried post #191 from electricc0wb0y and that worked, kodi -l /var/run/lirc/lircd
Reply
Hello!

I just wanted to share my setup of Logitech Harmony One remote setup on Ubuntu 17.04 since it took me some time to figure out how it is done with ir-keytable. Had to do this since Ubuntu 17.04 doesn't support LIRC any more.
Receiver is some Phillips compatible from eBay: OVU412000/00.

Harmony One setup:

First add new device Windows Media Center SE. To do this select Add device in Logitech Harmony Remote software and then Computer -> Media Center PC -> Microsoft -> Media Center SE

Then customize buttons for your Activity, for each select added device however you named it e.g. mine is called WMC SE:
Menu -> Media
Exit -> Green
Up Arrow -> ChannelUp
Down Arrow -> ChannelDown
Info -> Info
Guide -> Guide
Up -> DirectionUp
Down -> DirectionDown
Left -> DirectionLeft
Right -> DirectionRight
OK -> OK
Channel Up -> ChannelUp
Channel Down -> ChannelDown
Prev -> Back
Rewind -> Rewind
Skip Back -> Replay
Play -> Play
Pause -> Pause
Fast Forward -> FastForward
Skip Forward -> Skip
Stop -> Stop
1 -> 1 etc for rest of the numbers
Plus -> #
E -> *
Also added additional buttons:
Subtitle -> Subtitle
Codec Info -> Red

Ir-keytable setup:

Install ir-keytable
Code:
sudo apt-get install ir-keytable

Copy remote keymaps file:
Code:
sudo cp /lib/udev/rc_keymaps/rc6_mce /etc/rc_keymaps/

Edit new file:
Code:
sudo nano /etc/rc_keymaps/rc6_mce

Change the following key entries:
KEY_NUMERIC_0 -> KEY_0 etc. for rest of the numbers
KEY_MEDIA -> KEY_M
KEY_INFO -> KEY_I
KEY_CHANNELUP -> KEY_PAGEUP
KEY_CHANNELDOWN -> KEY_PAGEDOWN
KEY_FASTFORWARD -> KEY_F
KEY_REWIND -> KEY_R
KEY_PLAY -> KEY_P
KEY_PAUSE -> KEY_SPACE
KEY_STOP -> KEY_X
KEY_NEXT -> KEY_DOT
KEY_PREVIOUS -> KEY_COMMA
KEY_NUMERIC_POUND -> KEY_Q
KEY_NUMERIC_STAR -> KEY_TAB
KEY_OK -> KEY_ENTER
KEY_EXIT -> KEY_BACKSPACE
KEY_EPG -> KEY_C
KEY_TITLE -> KEY_L
KEY_RED -> KEY_O
KEY_GREEN -> KEY_ESC
KEY_PLAYPAUSE -> KEY_SPACE

Load keycodes:
Code:
sudo ir-keytable -c -w /etc/rc_keymaps/rc6_mce

Test keycodes:
Code:
sudo ir-keytable -t

Finally I had to reboot for all changes to apply.
Reply
Thanks heaps for that info!!!!!!!!!!!
I was struggling getting it running as i come from ubuntu 14 with lirc and new ubuntu liking ir-kt
Reply
Hello, did a person can help me?

I use Lubuntu 16.04 (systemd) with Kodi 17.5.

https://forum.kodi.tv/showthread.php?tid=323289

Thank you.
Reply
Have you seen a behaviour where ir-keytable maps only every second button press, although the same scan code is received?
I'm struggling to get my remote work, without having to press each button twice every time. Any ideas?

More info here:
https://askubuntu.com/questions/979789/i...tton-press
Reply
I'm running Ubuntu 17.10 with an MCR Remote. The remote works fine for basic keypresses, but I'd also like to configure it to run commands when I press certain keys - e.g. to launch Kodi when I press the big green Media Centre button. I have inputlirc installed (although I'm not using the LIRC package), if that helps?
Reply
You need to use irexec
Reply
Is there an idiot's guide to using irexec that someone could point me to? And will this work if I don't have the LIRC package installed? (I using the kernel IR support)
Reply
Forgive my overall ignorance.  I'm using Librelec on my kodi box and have one of those "Air mouse" remotes with a USB dongle.  It used to work fine when I booted into Android, but now that I am running LibreELEC, it doesn't work anymore.  Do I need to follow these directions to get it up and running again or should I be looking elsewhere?
Reply
Hi everyone,
I have a question on the same topic.

So I updated my AMD system to Ryzen processor and Ubuntu 18, and most recent Kodi build.
My remote is Logitech One taught by original mce.

However, after upgrade remote stopped working (I used to use Lirc custom set up), and here I found the info that they actually moved everything to kernel.

So now I've set it up in the way I receive proper keycodes when I press remote buttons, like
Code:

sudo ir-keytable -t
3141.538648: event type EV_MSC(0x04): scancode = 0x800f0416
3141.538648: event type EV_KEY(0x01) key_down: KEY_P(0x0019)
3141.538648: event type EV_SYN(0x00).
3141.644822: event type EV_MSC(0x04): scancode = 0x800f0416
3141.644822: event type EV_SYN(0x00).
3141.920336: event type EV_KEY(0x01) key_up: KEY_P(0x0019)
3141.920336: event type EV_SYN(0x00).
I was using instructions from post #1 to make it work.

However, Kodi doesn't see these key presses, there is no reaction at all.
Maybe anyone has ideas about what should I do in order to make it work?

Thank you!
Reply
(2018-07-09, 21:11)Metra Wrote: Hi everyone,
I have a question on the same topic.

So I updated my AMD system to Ryzen processor and Ubuntu 18, and most recent Kodi build.
My remote is Logitech One taught by original mce.

However, after upgrade remote stopped working (I used to use Lirc custom set up), and here I found the info that they actually moved everything to kernel.

So now I've set it up in the way I receive proper keycodes when I press remote buttons, like
Code:

sudo ir-keytable -t
3141.538648: event type EV_MSC(0x04): scancode = 0x800f0416
3141.538648: event type EV_KEY(0x01) key_down: KEY_P(0x0019)
3141.538648: event type EV_SYN(0x00).
3141.644822: event type EV_MSC(0x04): scancode = 0x800f0416
3141.644822: event type EV_SYN(0x00).
3141.920336: event type EV_KEY(0x01) key_up: KEY_P(0x0019)
3141.920336: event type EV_SYN(0x00).
I was using instructions from post #1 to make it work.

However, Kodi doesn't see these key presses, there is no reaction at all.
Maybe anyone has ideas about what should I do in order to make it work?

Thank you!
 I too had a similar issue with Ubuntu 18.04, I did get a few buttons to work but the only worked some of the time and some did not work at all.  Sometimes it would move twice for one button push.  Has anyone actually got a MCE remote fully functional in Ubuntu 18.04, and if so can you please tell how you did it.  I have batted my head again the wall for 3 solid days at this point with no luck.
Reply
Have you guys configured kodis lircmap.xml to translate the lirc/devinput keypresses into commands kodis can interpret?
Reply
(2018-07-15, 06:42)teeedubb Wrote: Have you guys configured kodis lircmap.xml to translate the lirc/devinput keypresses into commands kodis can interpret?
 How do you do that?
Reply
I do have keyboard.xml, but not lircmap.xml since I don't use Lirc in my set up.
Reply
Well If I am understanding correctly you can't even use LIRC in 18.04, I know when I tried it went crazy.
Reply
  • 1
  • 12
  • 13
  • 14(current)
  • 15
  • 16

Logout Mark Read Team Forum Stats Members Help
How to get a seamless remote experience9