daffeh
Junior Member
Posts: 33
Joined: Dec 2010
Reputation: 0
|
For anyone searching for this.
This is what I did for windows 7, Xbmc 12.0 and a Logitech Harmony 900:
Mobo: A55 Pro3 - ASRock (check wake on usb in bios)
Receiver: IR605Q (rc6, shows up as genuine in device manager)
I can now start from cold boot and shutdown again.
The only thing that doesn't seem to work is sending Win+# & ALT+F4 (other softbuttons work)
I started by following the guide from the sticky
http://forum.xbmc.org/showthread.php?tid=54466
I added a Microsft MCE Keyboard and a Microsoft windows Media Center SE
Then i added my devices (TV, Receiver)
The I configured the activity buttons like in that thread (except i bound back to esc)
I configured the softbuttons and optimized the speeld to 1500/0/1000/500) and put the two troubleshooting speed values to 0
The I adjusted the power settings for my two MCE devices to 'off when not in use' and with one button for both which I configured to powertoggle
I also added this to
C:\users\<USERNAME>\AppData\Roaming\XBMC\userdata\keymaps\keyboard.xml
Code:
<keymap>
<FullscreenVideo>
<keyboard>
<u>RunScript(script.xbmc.subtitles)</u>
</keyboard>
</FullscreenVideo>
<global>
<keyboard>
<k>UpdateLibrary(video)</k>
<w>ToggleWatched</w>
<two>JumpSMS2</two>
<three>JumpSMS3</three>
<four>JumpSMS4</four>
<five>JumpSMS5</five>
<six>JumpSMS6</six>
<seven>JumpSMS7</seven>
<eight>JumpSMS8</eight>
<nine>JumpSMS9</nine>
</keyboard>
</global>
</keymap>
I bound U to red button and L & t to green and yellow (subtitle controls)
I bound Tab to blue button (for quick 'honey, what's the time actions  )
I also bound up arrow and down arrow (not up and down) to leftbracket and richtbracket because many people would use those buttons for + - 10 mins.
Now try out your activity. It should all boot up. If the pc does not boot up, push the help button and do a guided help. When you arrive at MCE keyboard, try to turn it on. It should now boot up. 1/10 I need to do this, no clue why.
Now I installed XBMCLauncher ( http://forum.xbmc.org/showthread.php?tid=136798) and set XBMC to my shell. Add a 5 second delay if your mappings are never there.
Ok, great you now have a fully working XBMC HTPC that looks awesome when booting up (no more people saying that it's a pity you pass via windows)
Now for the shutting down part.
Whenever I shut down (via power on harmony), everything would shut down except the PC.
I enabled debug and saw that the PC does in fact not try to shutdown as my remote sends the S key when shutting down which just opens the exit context menu.
One way is to open your keymap file and everywhere replace the action for <s> to XBMC.Powerdown but that is not what I wanted.
Go to Windows power options and change shutdown action to shutdown and sleep action to nothing (so you don't sleep and think you shut down). Some harmony remotes send a sleep.
Then I used this post ( http://forum.xbmc.org/showthread.php?tid...pid916467) as follows:
Now go to the registry and look for this key:
Code:
start > run > regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57da\
you need to change binary value ReportMappingTable from
Code:
0c,00,00,00,04,00,16,
to
Code:
0c,00,00,00,03,81,00,
You can try to edit it directly with regedit, but that is not really straightforward for the not IT savvy.
Here is a simple trick:
right-click the key (745a17a0-74d3-11d0-b6fe-00a0c90f57da) and export it to a reg file
Edit the reg file (with notepad++) and you will find something like this:
Code:
"ReportMappingTable"=hex:00,00,00,00,04,00,27,01,00,00,00,04,00,1e,02,00,00,00,\
04,00,1f,03,00,00,00,04,00,20,04,00,00,00,04,00,21,05,00,00,00,04,00,22,06,\
00,00,00,04,00,23,07,00,00,00,04,00,24,08,00,00,00,04,00,25,09,00,00,00,04,\
00,26,0a,00,00,00,04,00,29,0b,00,00,00,04,00,1d,0c,00,00,00,04,00,16,0d,00,\
00,00,04,05,28,0e,00,00,00,04,00,41,0f,00,00,00,04,01,07,10,00,00,00,04,00,\
43,11,00,00,00,04,00,42,12,00,00,00,04,00,4b,13,00,00,00,04,00,4e,14,00,00,\
00,04,03,09,15,00,00,00,04,03,05,16,00,00,00,04,03,13,17,00,00,00,04,00,14,\
18,00,00,00,04,01,13,19,00,00,00,04,03,16,1a,00,00,00,04,01,09,1b,00,00,00,\
04,01,05,1c,00,00,00,04,01,44,1d,00,00,00,04,03,25,1e,00,00,00,04,00,52,1f,\
00,00,00,04,00,51,20,00,00,00,04,00,50,21,00,00,00,04,00,4f,22,00,00,00,04,\
00,28,23,00,00,00,04,00,2a,24,00,00,00,04,00,10,25,00,00,00,04,00,17,26,00,\
00,00,04,00,06,27,00,00,00,04,00,2b,47,00,00,00,04,01,10,48,00,00,00,04,00,\
12,49,00,00,00,04,01,0c,50,00,00,00,04,01,04,4a,00,00,00,04,01,08,4e,00,00,\
00,04,01,22,5a,00,00,00,04,01,45,5b,00,00,00,04,00,2b,5c,00,00,00,04,00,0f,\
5d,00,00,00,04,01,1c,5e,00,00,00,04,00,1a,6e,00,00,00,01,cd,00,65,00,00,00,\
03,82,00,3b,00,00,00,01,04,02,32,00,00,00,04,00,2b,33,00,00,00,01,83,01,46,\
00,00,00,04,03,17
Search for the first 0c entry, leave the next three 00 values, change the next 04 to 03, then 00 to 81 and the 16 to 00.
Exit and shutdown your PC.
Start up your activity again and now shutdown should work
that's all folks
TL;DR: My guide for Wake from S5 + XBMC shell + shutdown via harmony 900 with AsRock wake from usb mobo and IR605Q receiver
|