[LINUX] HOW-TO get X10 OR22V RF (Radio Frequency) Remote Control to work with LIRC
#31
lajbans Wrote:So how to solve that, tad anoying it doesnt repspond on all pressings Tongue

I don´t know whats wrong wih your system. But if you set up a new clean system and follow exactly to my 1st post all things will work.
Reply
#32
Awsome HOWTO about X10 OR22V! Really appreciate your time and effort regarding this guide! I wonder if it's possible to get a copy of your keymap.xml file aswell?

./rob
Reply
#33
I´m on a business trip again. Maybe someone who already received my Keymap.xml file can send it to you!? Write a PM to the people in this threat.

funny
Reply
#34
funnybox2006 Wrote:I´m on a business trip again. Maybe someone who already received my Keymap.xml file can send it to you!? Write a PM to the people in this threat.

funny

Thanks for your quick reply Big Grin I will check with the other people in here.

./rob
Reply
#35
Hi, Is it possible for someone you to send me the Keymap.xml, i would be very happy to get my hands on that one ? Big Grin

./rob
Reply
#36
Followed the guide, blacklistning lirc_atiusb & ati_remote makes no buttons work at all. removed them from blacklist and all buttons works except "OK".

I did this on a fresh ubuntu 9.04 install.
Anyone have any idea?

./rob
Reply
#37
@ funnybox2006 : tried to contact you via pm, but cant send pm at the moment, can u please send me your keymap.xml file for or22v ?
my email adress is [email protected]
thank you
Reply
#38
Hi Guys,

thanks for all the How-tos, but I still cant get my RF remote (Medion X10) working.
IRW gives me response to all buttons (except for up and down; maybe someone could also help me on this). but XBMC does not do anything.

Can anyone tell me what I have done wrong?

My lircd.conf (copied from the internet, without all the number keys):

Code:
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.7.1pre2(any) on Tue Aug 22 20:53:57 2006
#
# contributed by Patrick-Thomas Chmielewski (www.ptch.de)
#
# brand: Medion X10                       medionx10.conf
# model no. of remote control: P/N 40009936
# devices being controlled by this remote: P/N 40009937
#

begin remote

  name           medionx10
  bits           40
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          227969
  min_repeat      2
  toggle_bit      0


      begin codes
          ok                       0x14F31E0000
      ok                       0x14739E0000
          power                    0x14D7020000
          power                    0x14D7020000
          tv                       0x1481AC0000
          tv                       0x14012C0000
          video                    0x1482AD0000
          video                    0x14022D0000
          cd                       0x1459840000
          cd                       0x14D9040000
          txt                      0x146B960000
          txt                      0x14EB160000
          audio                    0x145B860000
          audio                    0x14DB060000
          radio                    0x1483AE0000
          radio                    0x14032E0000
          book                     0x1486B10000
          book                     0x1406310000
          photo                    0x145A850000
          photo                    0x14DA050000
          info                     0x1484AF0000
          info                     0x14042F0000
          menu                     0x146E990000
          menu                     0x14EE190000
          up                       0x14CDF80000
          up                       0x144D780000
          down                     0x14C5F00000
          down                     0x1445700000
          left                     0x14729D0000
          left                     0x14F21D0000
          right                    0x14749F0000
          right                    0x14F41F0000
          return                   0x1475A00000
          return                   0x14F5200000
          vol+                     0x145E890000
          vol+                     0x14DE090000
          vol-                     0x145D880000
          vol-                     0x14DD080000
          mute                     0x1455800000
          mute                     0x14D5000000
          ch+                      0x14608B0000
          ch+                      0x14E00B0000
          ch-                      0x14618C0000
          ch-                      0x14E10C0000
          last                     0x14719C0000
          last                     0x14F11C0000
          red                      0x1487B20000
          red                      0x1407320000
          green                    0x1488B30000
          green                    0x1408330000
          yellow                   0x1409340000
          yellow                   0x1489B40000
          blue                     0x140A350000
          blue                     0x148AB50000
          stop                     0x147DA80000
          stop                     0x14FD280000
          pause                    0x14FE290000
          pause                    0x147EA90000
          play                     0x14FA250000
          play                     0x147AA50000
          back                     0x14F6210000
          back                     0x1476A10000
          time                     0x146D980000
          time                     0x14ED180000
          next                     0x14F8230000
          next                     0x1478A30000
          rew                      0x14F9240000
          rew                      0x1479A40000
          rec                      0x147CA70000
          rec                      0x14FC270000
          ff                       0x14FB260000
          ff                       0x147BA60000

      end codes

end remote

irw returns all buttons (exceot for up and down):

Code:
bombenschorsch@ion:~$ irw
00000014749f0000 00 right medionx10
00000014749f0000 01 right medionx10
00000014749f0000 02 right medionx10
00000014749f0000 03 right medionx10
00000014729d0000 00 left medionx10
00000014729d0000 01 left medionx10
00000014729d0000 02 left medionx10

My lircmap.xml (top part)(in /usr/share/xbmc/system)
Code:

<lircmap>

<remote device="medionx10">
<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>ok</select>
<pageplus>ChanUp</pageplus>
<pageminus>ChanDown</pageminus>
<back>Back</back>
<menu>PreviousMenu</menu>
<title>Play</title>
<info>More</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>Teletext</display>
<start>Home</start>
<record>Record</record>
<volumeplus>VolUp</volumeplus>
<volumeminus>VolDown</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>Videos</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>TV</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>
<mytv>Red</mytv>
<mymusic>Green</mymusic>
<mypictures>Yellow</mypictures>
<myvideo>Blue</myvideo>
</remote>

and my Keymap.xml (the top part)(also in /usr/share/xbmc/system):
Code:

<keymap>

<global>

<universalremote>
<left>left</left>
<right>right</right>
<up>up</up>
<down>down</down>
<select>ok</select>
</universalremote>

<remote>
<three>VolumeUp</three>
<six>VolumeDown</six>
<nine>Mute</nine>
<play>Play</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>Select</select>
<pageplus>PageUp</pageplus>
<pageminus>PageDown</pageminus>
<back>ParentDir</back>
<menu>PreviousMenu</menu>
<title>ContextMenu</title>
<info>Info</info>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<display>FullScreen</display>
<start>PreviousMenu</start>
<record>Screenshot</record>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<power>XBMC.ShutDown()</power>
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
<mytv>XBMC.ActivateWindow(Home)</mytv>
</remote>
Reply
#39
Inspired by http://www.xbmc.org/forum/showthread.php?t=41688
I reworked funnybox2006's tutorial a bit.

Doing it tihs way the remote will work as a normal MCE Remote which ist supported by XBMC out of the box. There are no changes in Lircmyp.xml or Keymap.xml necessary.

Just follow the funnybox2006's tutorial up to editing the lircd.conf.

replace the given one with

Code:
# Please make this file available to others
# by sending it to <[email protected]>
#
# this config file was automatically generated
# using lirc-0.8.4a(atilibusb) on Tue Sep  8 23:54:34 2009
#
# contributed by funnybox2006, modified by nebu
#
# brand:  X10
# model no. of remote control: OR22V with RF USB Dongle
# devices being controlled by this remote:
# note: use atilibusb driver for this remote and set device in hardware.conf to /dev$

begin remote

  name        mceusb
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   8
  pre_data       0x14
  post_data_bits  16
  post_data      0x0
  gap          139982
  min_repeat      2
  toggle_bit_mask 0x80800000

     begin codes
       Power                    0xD702
       Red                      0x87B2
       Yellow                0x0934
       Green                0x88B3
       Teletext             0x6B96
       Blue                    0x0A35
       Back                 0xF520
       More              0x84AF
       Up                   0xEF1A
       Left                     0x729D
       OK                   0xF31E
       Right                0xF41F
       Down                 0x77A2
       KEY_TIMESHIFTING     0x6D98
       Guide                0x0631
       DVD                  0xD904
       LiveTV               0x719C
       VolUp                0xDE09
       Home                 0x709B
       ChanUp               0xE00B
       VolDown              0x5D88
       ChanUp               0x618C
       Mute                 0xD500
       Replay               0x76A1
       Skip                 0xF823
       Rewind               0x79A4
       Play                 0xFA25
       Forward              0x7BA6
       Record               0xFC27
       Stop                 0x7DA8
       Pause                0xFE29
       One                  0x628D
       Two                  0xE30E
       Three                0x648F
       Four                 0xE510
       Five                 0x6691
       Six                  0xE712
       Seven                    0x6893
       Eight                0xE914
       Nine                 0x6A95
       Star                 0x8CB7
       Zero                 0xEC17
       Hash                 0x0D38
       Clear                0x85B0
       Enter                0x0B36
      end codes


end remote

There are two keys on the Remote I don't know how to use. Any hints are welcome. ;-)

This solution is not better, I just find it easier.
Reply
#40
I can't get this to work..

IRW is ok, I get text on all buttons in terminal window. but in XBMC there is no reaction.

/dev has no lirc0
in lsmod there is no atilibusb

what am I doing wrong?
Reply
#41
Reply
#42
Can someone please send the keymap.xml to me?
Reply
#43
I would like this keymap aswell, please send it.
Reply
#44
Reply
#45
i need the keymap.xml too can someone help please?
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] HOW-TO get X10 OR22V RF (Radio Frequency) Remote Control to work with LIRC0