[LIVE] Is Microsoft's MCE Remote the only remote control that works in XBMC Live?

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
colejv Offline
Junior Member
Posts: 7
Joined: Oct 2008
Reputation: 0
Post: #16
I am using the remote from a Hauppauge PVR-150,The silver remote where the receiver plugs into the card not the USB variety)

It took me longer than I expected to set up, so I thought I would post what I did here for future googlers.

added to /etc/modprobe.d/aliases
Code:
alias char-major-61 lirc_i2c

edited /etc/lirc/hardware.conf
Code:
REMOTE_MODULES="lirc_dev lirc_i2c"

/etc/lirc/lircd.conf
Code:
begin remote

  name  hauppauge_pvr150
  bits           13
  flags RC5|CONST_LENGTH
  eps            30
  aeps          100

  one           0    0
  zero          0    0
  gap          200000
  min_repeat      4
  toggle_bit      2

      begin codes
          POWER                    0x00000000000017BD
          GO                       0x00000000000017BB
          TV                       0x000000000000179C
          VIDEOS                   0x0000000000001798
          MUSIC                    0x0000000000001799
          PICTURES                 0x000000000000179A
          GUIDE                    0x000000000000179B
          RADIO                    0x000000000000178C
          OK                       0x00000000000017A5
          UP                       0x0000000000001794
          LEFT                     0x0000000000001796
          RIGHT                    0x0000000000001797
          DOWN                     0x0000000000001795
          BACK/EXIT                0x000000000000179F
          MENU                     0x000000000000178D
          PREVCH                   0x0000000000001792
          MUTE                     0x000000000000178F
          VOL+                     0x0000000000001790
          VOL-                     0x0000000000001791
          CH+                      0x00000000000017A0
          CH-                      0x00000000000017A1
          RECORD                   0x00000000000017B7
          STOP                     0x00000000000017B6
          PLAY                     0x00000000000017B5
          REW                      0x00000000000017B2
          FFW                      0x00000000000017B4
          REPLAY                   0x00000000000017A4
          PAUSE                    0x00000000000017B0
          SKIP                     0x000000000000179E
          1                        0x0000000000001781
          2                        0x0000000000001782
          3                        0x0000000000001783
          4                        0x0000000000001784
          5                        0x0000000000001785
          6                        0x0000000000001786
          7                        0x0000000000001787
          8                        0x0000000000001788
          9                        0x0000000000001789
          *                        0x000000000000178A
          0                        0x0000000000001780
          #                        0x000000000000178E
          RED                      0x000000000000178B
          GREEN                    0x00000000000017AE
          YELLOW                   0x00000000000017B8
          BLUE                     0x00000000000017A9
      end codes

end remote

/usr/share/xbmc/system/Lircmap.xml
Code:
<lircmap>
        <remote device="hauppauge_pvr150">
                <pause>PAUSE</pause>
                <stop>STOP</stop>
                <forward>FFW</forward>
                <reverse>REW</reverse>
                <left>LEFT</left>
                <right>RIGHT</right>
                <up>UP</up>
                <down>DOWN</down>
                <select>OK</select>
                <pageplus>CH+</pageplus>
                <pageminus>CH-</pageminus>
                <back>BACK/EXIT</back>
                <menu>PREVCH</menu>
                <title>PLAY</title>
                <info>MENU</info>
                <skipplus>SKIP</skipplus>
                <skipminus>REPLAY</skipminus>
                <display>*</display>
                <start>GO</start>
                <record>RECORD</record>
                <volumeplus>VOL+</volumeplus>
                <volumeminus>VOL-</volumeminus>
                <mute>MUTE</mute>
                <power>POWER</power>
                <myvideo>VIDEOS</myvideo>
                <mymusic>MUSIC</mymusic>
                <mypictures>PICTURES</mypictures>
                <mytv>TV</mytv>
                <one>1</one>
                <two>2</two>
                <three>3</three>
                <four>4</four>
                <five>5</five>
                <six>6</six>
                <seven>7</seven>
                <eight>8</eight>
                <nine>9</nine>
                <zero>10</zero>
                <mytv>RED</mytv>
                <mymusic>GREEN</mymusic>
                <mypictures>YELLOW</mypictures>
                <myvideo>BLUE</myvideo>
        </remote>
find quote
slimbo Offline
Junior Member
Posts: 1
Joined: Nov 2008
Reputation: 0
Post: #17
what about the SkyStar2 remote or the xbox1 remote
on xbmc live
Thx for answer
find quote
MrGoodCat Offline
Junior Member
Posts: 15
Joined: Nov 2008
Reputation: 0
Post: #18
just thought i would throw it out there. the new MCE (silver) remote that says "vista only" works just fine the newest xbmc live usb boot. my guess is microsoft threw the "vista only" on there to scare people into owning vista

also tried using the Antec Veris Basic and it was not recognized by xbmc live, the receiver was flashing when keys were being pressed but nothing was happening. i am not linux savvy so i just went with the MCE
find quote
Nikesh Offline
Junior Member
Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #19
MrGoodCat Wrote:just thought i would throw it out there. the new MCE (silver) remote that says "vista only" works just fine the newest xbmc live usb boot. my guess is microsoft threw the "vista only" on there to scare people into owning vista

also tried using the Antec Veris Basic and it was not recognized by xbmc live, the receiver was flashing when keys were being pressed but nothing was happening. i am not linux savvy so i just went with the MCE

just to ask a question; on your microsoft MCE remote,
Did you get the "context menu" to come up with any of the buttons onthe MCE remote?
As I cant... on the xbox remote you use the "Title" button, and when using the keyboard its the "windows Menu" key.
But tried all of the MCE remote buttons, with no success.

[Image: MCE%20remote.jpg]
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,284
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #20
Nikesh Wrote:just to ask a question; on your microsoft MCE remote,
Did you get the "context menu" to come up with any of the buttons onthe MCE remote?
As I cant... on the xbox remote you use the "Title" button, and when using the keyboard its the "windows Menu" key.
But tried all of the MCE remote buttons, with no success.
Try the Play Button when on the item Smile silly I know took me a while to find it too lol Laugh
find quote
Nikesh Offline
Junior Member
Posts: 5
Joined: Nov 2008
Reputation: 0
Post: #21
Jezz_X Wrote:Try the Play Button when on the item Smile silly I know took me a while to find it too lol Laugh

Thanks, How could I not work out it was thatConfused?Eek
find quote
bong4888@hotmai Offline
Junior Member
Posts: 18
Joined: Dec 2008
Reputation: 0
Post: #22
Im running Xbmc live from a usb and i want to remap the keys or make a custom keymap.xml for my remote as some of the keys are not functioning correctly.

Im used to using the windows and xbox version where there is a keymap file in xbmc somewhere but i have looked and searched the usb stick for any kind of keymap or where the keymap is stored.

Im guessing that it has gone under a new name? can anyone point me out to where it might be located and how i can remap the controls on my remote thanks.

Im using a hp remote with a hp laptop.
find quote
Khan Offline
Junior Member
Posts: 17
Joined: Sep 2008
Reputation: 0
Location: Madison, WI
Post: #23
Jezz_X Wrote:Try the Play Button when on the item Smile silly I know took me a while to find it too lol Laugh

Sounds like a "feature" Big Grin

I was going to wait before trying this remote. Thanks to everyone here for the info.

-K
find quote
rodercot Offline
Donor
Posts: 796
Joined: Feb 2008
Reputation: 25
Location: Ottawa, Canada
Post: #24
Well I almost there with the Gyration MCE Remote. I have most of the buttons working using /dev/input.

I am still working on the power button and the MCE (green) button. The device is seen as a USB-kbd and usb-mouse, For myth guys are using evrouter and there is a patch for the power button out there but it seems to fix another problem.

It seems in Kernel 2.6.27 all the buttons are supported in Ubuntu.

anyhow code

Code:
# /etc/lirc/hardware.conf

#
#Chosen Remote Control
REMOTE="gyration"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/by-id/usb-Gyration_Gyration_RF_Technology_Receiver-event-kbd"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""

Lircd

Code:
#
# lircd.conf
#    for Gyration MCE remote(s).  Could almost certainly be expanded to work for their keyboard as well.
#
# Composed by Marc Randolph based upon  
#    initial lircd.conf by Modulok (https://bugs.launchpad.net/mythbuntu/+bug/156494/comments/6)
#    with help from the Linux MCE wiki (http://wiki.linuxmce.org/index.php/Gyration-GYR3101US-codes)
#
# Notes:
#    Star and Hash keys produce two key sequences: 0x002A followed by either 8 for star, or 3 for hash
#
# Revision history
#    2.1 - Marc Randolph - StarHash comment was wrong
#    2.0 - Marc Randolph - Special codes should be correct, or at least, very close to correct
#    1.0 - Marc Randolph - added missing codes and changed names to match up the mceusb remote
#                        -    Some of the more special codes have not been verified (Pictures, LiveTV,  etc)
#    0.1 - Modulok       - Initial revision
#
#
begin remote

name     gyration
bits           16
eps            30
aeps          100

one             0     0
zero            0     0
pre_data_bits   16
pre_data       0x8001
gap          135997
toggle_bit_mask 0x0

      begin codes
         Home                     0x0218
         Up                       0x0067
         Left                     0x0069
         Right                    0x006A
         Down                     0x006C
         Mute                     0x0071
         VolDown                  0x0072
         VolUp                    0x0073
         Power                    0x0059
         Pause                    0x0077
         More                     0x0082
         Back                     0x009E
         Skip                     0x00A3
         Replay                   0x00A5
         Stop                     0x00A6
         RecTV                    0x00A7  #Not "recorded TV", but "record current show on TV"
         Rewind                   0x00A8
         Play                     0x00CF
         Forward                  0x00D0
         Camera                   0x00D4  # not on Dell remote
         RecordedTV               0x00E2  # aka KEY_MEDIA
         Guide                    0x016A
         LiveTV                   0x016E  # aka KEY_PVR
         DVD                      0x0185
         Music                    0x0187  # not on Dell remote  # aka KEY_MP3
         Video                    0x0189  # not on Dell remote
         ChanUp                   0x0192
         ChanDown                 0x0193
         Clear                    0x0001
         One                      0x0002
         Two                      0x0003
         Three                    0x0004
         Four                     0x0005
         Five                     0x0006
         Six                      0x0007
         Seven                    0x0008
         Eight                    0x0009
         Nine                     0x000A
         Zero                     0x000B
         Enter                    0x001C
         StarHash                 0x002A  # Star=0x2a and 0x08; Hash = 0x2a and 0x03
     end codes

end remote

Lircmap.xml

Code:
<lircmap>
    <remote device="gyration">
        <power>Power</power>
        <start>Home</start>
        <pause>Pause</pause>
        <stop>Stop</stop>
        <forward>Forward</forward>
        <reverse>Rewind</reverse>
        <left>Left</left>
        <right>Right</right>
        <up>Up</up>
        <down>Down</down>
        <select>Enter</select>
        <pageplus>ChanUp</pageplus>
        <pageminus>ChanDown</pageminus>
        <back>Back</back>
        <menu>DVD</menu>
        <title>Play</title>
        <info>More</info>
        <skipplus>Skip</skipplus>
        <skipminus>Replay</skipminus>
        <display>Teletext</display>
        <record>RecTV</record>
        <volumeplus>VolUp</volumeplus>
        <volumeminus>VolDown</volumeminus>
        <mute>Mute</mute>
        <myvideo>Video</myvideo>
        <mymusic>Music</mymusic>
        <mypictures>Camera</mypictures>
        <mytv>LiveTV</mytv>
        <one>One</one>
        <two>Two</two>
        <three>Three</three>
        <four>Four</four>
        <five>Five</five>
        <six>Six</six>
        <seven>Seven</seven>
        <eight>Eight</eight>
        <nine>Nine</nine>
        <zero>Zero</zero>
    </remote>

</lircmap>

If someone can figure out the home button and power button I would be pleased, I will continue to work on it as well.

I changed the home and power code numbers playing around and they are still in these files above.

the home actual code is 66 and the power code is 74. I cannot get the shortcut buttons to work either I just checked those. but all transport and function buttons as well as the mouse works.

Dave
find quote
kaigoh Offline
Junior Member
Posts: 23
Joined: Jan 2009
Reputation: 0
Post: #25
Does anyone have the same issue as me in that the remote just suddenly stops working? And no matter what I do, I just can't get the thing working again. Has anyone got any suggestions?
find quote
eggzenbeanz Offline
Junior Member
Posts: 23
Joined: Sep 2005
Reputation: 0
Post: #26
hi guys,

am i being thick hereConfused i cant find the path 'n folders mentioned eg /usr/share/xbmc/system/Lircmap.xml im using xbmc live 8.10??

thanks
find quote
SpiffBB Offline
Member
Posts: 74
Joined: Sep 2008
Reputation: 0
Post: #27
kaigoh Wrote:Does anyone have the same issue as me in that the remote just suddenly stops working? And no matter what I do, I just can't get the thing working again. Has anyone got any suggestions?

Ehh, its a M$ remote - you have to restart it....... No, Im NOT joking!
Take out the batteries and wait a few minutes, then put back the batteries and the remote should work.
/O
find quote
aerofynn Offline
Junior Member
Posts: 1
Joined: Jan 2009
Reputation: 0
Post: #28
luca_ Wrote:The ps3 remote is bluetooth, right? so imo you need some kind of a bluetooth stick .. ?!

which make / model are you using that works fine with linux?

I finally got the PS3 remote to work with XBMC Live. Maybe this will help someone. I am using a Rocketfish MicroBT USB adapter on a Dell GX270 (using the onboard Intel graphics adapter even) with XBMC Live installed to the hard drive.

This is what I finally ended up doing to get it to work:
1.) ctrl-alt-F1 and logged in as xbmc
2.) sudo apt-get install subversion
3.) svn co https://xbmc.svn.sourceforge.net/svnroot...ntClients/
4.) sudo apt-get install bluez-utils
5.) cd EventClients/Clients/PS3\ BD\ Remote
6.) python ps3_remote.py localhost
7.) press and hold the start & enter buttons for the computer to find the remote as prompted by the script
8.) alt-F7 back to XBMC without logging out and you get the nice little message that it has found the remote

Works great. The only problem is I have to do steps 1, 5-8 everytime the box is booted.
find quote
dirtylion Offline
Member
Posts: 65
Joined: Jan 2009
Reputation: 0
Post: #29
someone can help me with Imon remote on xbmc live 8.10 ?
i can move the cursor with imon remote control via normal mce driver..
i already read the threads about imon configuration..
but it isn't working for me Sad
ist there any apt-get install imon ?
find quote
dannybullit Offline
Senior Member
Posts: 114
Joined: Dec 2008
Reputation: 0
Location: Sweden
Post: #30
Hi,

Have anyone tried the HFX Vista remote control (designed for MCE)?

The original MCE Remote isout of stock everywhere and this seems like a good alternative.

http://www.mcubed-store.com/catalog/prod...cts_id=292

Br, Daniel
find quote