[How-To] The NEW XBOX One Media Remote On Openelec
#46
Sorry, forgot to edit that in his quote. I downloaded it to (from memory) /etc/lirc/lircd.conf which is the existing location.
Reply
#47
I installed openelec last night (4.2.1) and the remote works great. Every button does what it should, although XBOX / power button does nothing, but I don't sleep the machine anyway.
Reply
#48
This remote looks like the perfect remote (small, backlit, minimal buttons, cheap). But from what I've read, it sounds like the power & volume buttons are designed to somehow require the Xbox One Kinect to retransmit to your TV. Are you able to control your TV or A/V receiver volume with this remote?
Reply
#49
No, as I dont have an Xbox One. I don't mind using the TV remote for master volume and input selection etc.
Reply
#50
Does the power button wake up the NUC/OE now?
 
  • Intel NUC Kit DN2820FYKH ~ Crucial DDR3L SO-DIMM 4GB ~ SanDisk ReadyCache 32GB SSD ~ Microsoft MCE model 1039 RC6 remote
Reply
#51
Xbox One Remote confirmed working on:

Intel® NUC Kit DN2820FYKH
(With an updated BIOS to version 0039 which is not the most recent.)
OpenELEC v.4.2.1

the power/wake-button on the remote does not work out-of-the-box at time of writing.
Reply
#52
Anybody has power on or wake up function working with xbox one remote?
I have nuc 2820 and everything wokrs fine except this.

I have created a topic on Intel communities.
https://communities.intel.com/thread/57117
Please join me to ask Intel for some solution Smile
Reply
#53
anyone know why I cannot pause when a video is playing?
Reply
#54
Hi! Thank you for these great instructions!

On the latest OpenELEC as of today (24/6/2015) v 5.95.2 (BETA)
the XboX One Media Remote is working out of the box,
using the ir-keytable method (see github link above)

However unfortunately I found with this method there is a terrible
"interkey delay" between pressing remote buttons quickly in succession:
for example pressing down lots of times will just register as one press.
This is really bad for scrolling down a list in particular (feels like slow response time)

Changing the values of delay and period for ir-keytable didn't help.

If the ir-keytable map is cleared (-c) and NEC protocol is enabled (-p NEC) then
using the ir-keytable test function (-t) it works perfectly with fast response (low interkey delay). BUT if the keys are added to the keytable
then suddenly you get unacceptable delay even in the test function, also
ip-keytable/the kernel generates silly "key_up" messages as well (out of thin air?)

This seems to be a problem with ir-keytable implementation rather than KODI -
KODI accepts the exact keypresses as seen in ir-keytable test function or irw function.

The solution:

Bypass ir-keytable and go back to using LIRC (like the OP;s instructions in post 1).
To do this:

Code:
ir-keytable -c -p LIRC
----- to clear tables and set LIRC as only protocol

Code:
lircd /dev/lirc0 /path-to-custom-remote-config-here
------ this is the custom config from post 1.

Use irw to test all working OK (one event per keypress, and quick response time)

Then make sure KODI has lircmap.xml and remote.xml as detailed in post 1
and it will work beautifully with quick response to successive keypresses.

I also added "suppress-repeat 3" to the custom remote config for LIRC to avoid multiple
keypresses registered on a single button press.
Reply
#55
(2014-04-11, 20:57)FishOil Wrote: Use the remote.

Would this https://github.com/uNiversaI/kodi/commit...9a48b6a94d help if it was in mainline?

The remote.xml differences are too many I supect you are using an old file but if there's any changes specific to help the lircmap XBOX-ONE mapping work, I can add it to that commit and submit a PR to mainline.
Can you make any changes to the remote.xml that are required to match the lircmap based on master https://github.com/xbmc/xbmc/blob/master...remote.xml and pass the file so I can do that?
Reply
#56
If you use the following lircd.conf file for the remote,
it should work fine using the existing system KODI remote.xml and lircmap.xml:
Code:
# this config file was automatically generated
# using lirc-0.9.0(default) on Wed Jun 24 18:25:32 2015
#
# Contributed by YellowLemon
#
# Remote = Xbox One Media Remote (2014)
# with auto backlight function
#

begin remote

  name  devinput         # make it match what already exists in KODI's lircmap.xml
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30      # sets the variation allowed in ms
  aeps          100

  header       9053  4451     # on-duration and off-duration of header
  one           592  1662     # on-duration and off-duration to encode a 1
  zero          592   529     # on-duration and off-duration to encode a 0
  ptrail        575           # trailing data
  repeat       9022  2231     # the sequence when a key is held down
  pre_data_bits   16          # data sent before the keycode
  pre_data       0x11B
  gap          108284         # the length of the entire signal (not just the gap afterwards)
  suppress_repeat 3           # I added this to stop single presses on the remote buttons sending double keypresses
  toggle_bit_mask 0x0         # some remotes have a toggle bit between separate presses

# The codes below are constant

      begin codes
          KEY_MEDIA                0x26D9                    #  Was XboxFancyButton
          KEY_ZOOM                 0x7689                    #  Was View
          KEY_EPG                  0xF609                    #  Was Menu
          KEY_UP                   0x7887                    #  Was Up
          KEY_DOWN                 0xF807                    #  Was Down
          KEY_LEFT                 0x04FB                    #  Was Left
          KEY_RIGHT                0x847B                    #  Was Right
          KEY_OK                   0x44BB                    #  Was Select
          KEY_EXIT                 0xC43B                    #  Was Back
          KEY_INFO                 0x649B                    #  Was Guide
          KEY_VOLUMEUP             0x08F7                    #  Was VolumeUp
          KEY_VOLUMEDOWN           0x8877                    #  Was VolumeDown
          KEY_MUTE                 0x708F                    #  Was Mute
          KEY_CHANNELUP            0x48B7                    #  Was ChannelUp
          KEY_CHANNELDOWN          0xC837                    #  Was ChannelDown
          KEY_REWIND               0xA857                    #  Was Rewind
          KEY_FASTFORWARD          0x28D7                    #  Was FastForward
          KEY_PLAY                 0x0EF1                    #  Was Play
          KEY_PREVIOUS             0xD827                    #  Was Previous
          KEY_NEXT                 0x58A7                    #  Was Next
          KEY_STOP                 0x9867                    #  Was Stop
      end codes

end remote

The above is basically the same as FishOil's lircd.conf except with the keynames renamed to the new standard (the same names as the current implementation of the Xbox One Remote in the ir-keytable table "rc-rc6-mce" under OpenELEC
Reply
#57
Yes Im not talking about openelec only, ut tbh I dont care as I dont use that remote, I was merely trying to add support form regular Linux kodi users who may happen to have this remote.

I just dont want to have to chase the remote.xml changes.

As for lirc conf idk where mainline handles those but Ill have a look.
Reply
#58
(2015-06-25, 18:38)uNiversal Wrote: Yes Im not talking about openelec only,... I was merely trying to add support form regular Linux kodi users who may happen to have this remote... I just dont want to have to chase the remote.xml changes.

Ah gotcha, thanks! I've edited my post above.
Reply
#59
Thanks for the guide, FishOil!
I'm using this reciever, and the delay is pretty annoying. Did anybody ever manage to fix that?
I don't seem to have the problems superhans mentioned
Reply
#60
Does XboX One Media Remote works ootb with openelec 6.0.0 on a Intel Nuc?

I have NUC5CPYH but power off and power on button does not works. Could anyone help me, please?
Reply

Logout Mark Read Team Forum Stats Members Help
[How-To] The NEW XBOX One Media Remote On Openelec3