Dharma 10 with logitech harmony one and slackware64 13.1
#1
Hey guys! While I am fine tuning my xbmc install and learning how to use it, I purchased a logitech harmony one remote and I am having a hard time to figure out how to make it work with my slackware htpc...

SO basically, here's what I have:

lircd.conf (taken from http://lircconfig.commandir.com/lircd.co...emote=1252)

Code:
begin remote
  name            mceusb
  bits            13
  flags           RC6
  eps             30
  aeps            100
  header          2610   788
  one             470   368
  zero            470   368
  gap             67300
  pre_data_bits   24
  pre_data        0x1BFF83

  begin codes
       KEY_1           0x1BFE
       KEY_0           0x1BFF
       KEY_2           0x1BFD
       KEY_3           0x1BFC
       KEY_4           0x1BFB
       KEY_5           0x1BFA
       KEY_6           0x1BF9
       KEY_7           0x1BF8
       KEY_8           0x1BF7
       KEY_9           0x1BF6
       KEY_CHANNELUP   0x1BED
       KEY_CHANNELDOWN 0x1BEC
       KEY_PAUSE       0x1BE7
       KEY_PLAY        0x1BE9
       KEY_STOP        0x1BE6
       KEY_RECORD      0x1BE8
       KEY_FORWARD     0x1BEB
       KEY_NEXT        0x1BE5
       KEY_UP          0x1BE1
       KEY_DOWN        0x1BE0
       KEY_LEFT        0x1BDF
       KEY_RIGHT       0x1BDE
       KEY_OK          0x1BDD
       KEY_MENU        0x1BDB
       KEY_REWIND      0x1BEA
       KEY_PREVIOUS    0x1BE4

  end codes

end remote

then lirc is started at system boot time. It spits no errors. I also tried to start it manually by first killing the process and restarting it by typing "lircd" as root.

I have a IR receiver that came with my Dell XPS laptop. See http://www.redplanettrading.com/ebay/rem...00USED.jpg for a picture of it. Can I use it?

Basically, I believe the first step will be to make sure the machione and lirc can interact with the remote controller. Then, I will look into binding XBMC and lirc together.

Am I right? If so, somebody can help me to get going? All that remote stuff is black magic to me, I never played around with that stuff before.

Thanks to all!!
Reply
#2
Go to terminal and type: irw

The press buttons on the Dell Remote (or whatever MCE remote you are using, not the Harmony)

If it responds to button presses then you know you are on the right track. Laugh If nothing happens then I suggest trying another remote config in the lirc menu.

Then open XBMC. Does XBMC respond to your remotes button presses? If so then great, you have one of the many Windows Media Center remotes that works out of the box with XBMC. If not then you are going to have to create a custom xml document. I'm not going to go into that here.No

If everything is working then you can use the Logitech software to force the Harmony remote to emulate the MCE instructions. When I set up mine I believe I used the generic windows media center commands in the Harmony software.
How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony Smart Control Remote| 52" Sharp Aquos LED TV | Denon AVR-X1000 |
| Freenas Server with 18TB ASRock Intel Avoton C2750 |
Reply
#3
Hey htpc_guy, thanks for replying! smart move to post on this thread so people can see the progress and steps...

I already tried to use irw with the dell remote that came with my XPS laptop but if I recall correctly, I had to play around with irw because I could not see any outputs... Again if I remember, I had to send the irw output to a temp file and then monitor the file (?) to see the output being issued when I pressed the remote keys. So basically, yes, the machine was responding to the remote keys, I just couldnt see straight output from irw in the terminal. Why, I dont know! Wink

Quote:If nothing happens then I suggest trying another remote config in the lirc menu.

Maybe this was my problem? The remote (Dell) that came with my laptop seems to be a weird model, I could not find a straight lirc config file to match it and had to use the config file from a very similar model number. AFAIK it is a philips RC3XXX I will check tonight when I get back home.

What exactly do you mean by "trying another remote config in the lirc menu"? How do you that?

If everything is working then you can use the Logitech software to force the Harmony remote to emulate the MCE instructions

Ok, I figured at some point I weill ghave to use the logitech application to finish programming my harmony remote, but the logitech sopftware does not run in linux. How do I do that? I pre-installed congruity and congruence but I noticed they dont support the hjarmony one yet. Plus, using these appz does not seem straightforward like launche the app -> configure -> save -> enjoy! but involve creating an account on the logitech website..... etc etc...
Reply
#4
OK good news... After a few weeks of fiddling around, I got the last lirc release to run on that brand new shiny kernel 2.6.37 Smile

Was not straight forward... Anyways, now irw output some stuff and it seems to match what my remote has (for example, pressing the mute button will issue 000000037fe354f2 00 vol_off Dell_XPS_Remote_MR425 => make sense!)

Now I am ready to setup the logitech remote. What puzzle me is the lack of support from logitech for linux... How did you get the remote setup under linux?? I have installed the logitech software under an old winXP machine... Pretty complicated to setup this remote. Can you post the steps by step procedure you used to get the remote to emulate mce remote so lirc can understand it?

If I understand corrctly, I only have a config problem. I added a device as media center PC and selected microsoft as the manufacturer. Then I typed mceusb as the device model (better alternative?). Then I added all standard activities for this kind of device. I basically selected "Next" for everything.

Now I press the activities on my remote and my usb IR receiver flashes. irw does not output anything, but with my dell mr425 it outputs everything that should be output...

I hope this will give you an idea of my current status...

Thanks!
Reply
#5
Hey htpc_guy, I did not hear back from you, I hope I havent scared you off with my problems! Wink

I am slightly in the same position, except with a better understanding of lirc and the harmony remote, but still cant get the thing running... For a $200+ remote, thats a shame.

Basically, to recap, the Dell remotes are all working fine. Lirc is (consequently) also working fine. TO recap, I have a lirc.conf with:

Code:
begin remote

name Harmony
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100

header 9036 4442
one 610 1620
zero 610 511
ptrail 610
repeat 9032 2187
pre_data_bits 16
pre_data 0x77E1
gap 107881
min_repeat 4
toggle_bit_mask 0x0

begin codes
Up 0xD069
Down 0xB069
Left 0x1069
Right 0xE069
Ok 0x2069
ChannelUp 0x5079
ChannelDown 0x3079
VolumeUp 0x5019
VolumeDown 0x3019
1 0x50E9
2 0x30E9
3 0x90E9
4 0x60E9
5 0x9019
6 0x6019
7 0x1099
8 0xE099
9 0x1059
0 0xE059
Clear 0x2059
Enter 0x4099
Red 0x10F9
Green 0xE0F9
Yellow 0x20F9
Blue 0x40F9
Mute 0xA019
Back 0xA019
Exit 0x50D9
Guide 0xA0B9
Menu 0x4069
Info 0xD099
Rec 0x30D9
Rew 0xD059
Fwd 0xB059
Pause 0xC019
Play 0xC0E9
Skip 0xB005
Replay 0xD005
Stop 0xA0E9
Prev 0xB099
Aspect 0x50B9
F1 0x90D9
F10 0x6079
F11 0xA079
F12 0xC079
F13 0x90B9
F14 0x60B9
F2 0x60D9
F3 0xA0D9
F4 0xC0D9
F5 0x1005
F6 0xE005
F7 0x2005
F8 0x4005
F9 0x9079
LargeDown 0xB0F9
LargeUp 0xD0F9
PwrToggle 0xC0B9
Queue 0x30B9
Sleep 0x4059
end codes
end remote

Lircd (v 0.9.0-pre1) auto starts at boot time using the USB receiver /dev/lirc0

These modules are automatically loaded:
Code:
Module                  Size  Used by
lirc_mceusb            12992  0
mceusb                  9957  0
ir_lirc_codec           3881  0
lirc_dev               10321  2 lirc_mceusb,ir_lirc_codec
ir_sony_decoder         2011  0
ir_jvc_decoder          2121  0
ir_rc6_decoder          2537  0
ir_rc5_decoder          2073  0
ir_nec_decoder          2297  0
ir_core                13618  8 mceusb,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder

And I have a Lircmap.xml file in $HOME/.xbmc/userdata/ with this content:

Code:
<lircmap>
<remote device="Harmony">
<Up>Up</Up>
<Down>Down</Down>
<Left>Left</Left>
<Right>Right</Right>
<Select>Ok</Select>
<Back>Prev</Back>
<ChannelPlus>ChannelUp</ChannelPlus>
<ChannelMinus>ChannelDown</ChannelMinus>
<VolumePlus>VolumeUp</VolumePlus>
<VolumeMinus>VolumeDown</VolumeMinus>
<Star>Clear</Star>
<Hash>Enter</Hash>
<Red>Red</Red>
<Green>Green</Green>
<Yellow>Yellow</Yellow>
<Blue>Blue</Blue>
<Mute>Mute</Mute>
<Back>Back</Back>
<obc1>Exit</obc1>
<Guide>Guide</Guide>
<Menu>Menu</Menu>
<Info>Info</Info>
<Record>Rec</Record>
<Reverse>Rew</Reverse>
<Forward>Fwd</Forward>
<Pause>Pause</Pause>
<Play>Play</Play>
<SkipMinus>Skip</SkipMinus>
<SkipPlus>Replay</SkipPlus>
<Stop>Stop</Stop>
<obc2>Aspect</obc2>
<MyMusic>F1</MyMusic>
<obc11>F10</obc11>
<obc12>F11</obc12>
<obc13>F12</obc13>
<obc14>F13</obc14>
<obc15>F14</obc15>
<MyVideo>F2</MyVideo>
<MyTV>F3</MyTV>
<obc6>F4</obc6>
<obc7>F5</obc7>
<obc16>F6</obc16>
<obc5>F7</obc5>
<obc9>F8</obc9>
<obc10>F9</obc10>
<LargeDown>LargeDown</LargeDown>
<LargeUp>LargeUp</LargeUp>
<PwrToggle>PwrToggle</PwrToggle>
<obc3>Queue</obc3>
<obc4>Sleep</obc4>
<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>0</Zero>
</remote>
</lircmap>

When I press the remote's keys, the USB receiver flashes but nothing happens. irw does not output anything.

Can anybody help?
Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Dharma 10 with logitech harmony one and slackware64 13.10