Kodibuntu / Kodi wakeup from Windows Media Center (MCE) RC6 Remote

Discussion in 'Guides and Tutorials' started by InsaneNutter, Jul 5, 2014.

  1. InsaneNutter

    InsaneNutter Resident Nutter Staff Member

    Joined:
    Jun 1, 2007
    Messages:
    12,262
    Likes Received:
    3,726
    Location:
    Yorkshire, England
    I have an XBMCbuntu / Kodi Buntu install on an Acer Aspire Revo R3600 nettop that by default would never wake up from sleep by pressing the power button on the Windows Media Center remote control. This is quite an easy fix to allow certain USB devices to wakeup XBMC / Kodi buntu, i will show you how to do this.

    First ssh is in your XBMCbuntu install, then type the following command:

    Now type the following to gain a list of all devices authorized to wakeup XBMCbuntu from sleep

    You should see something like this:

    We need USB0 and USB2 devices tobe able to wake the device up, if they are not enabled, type the following:

    Next we want a list of all the USB devices connected to the computer, so type:

    You should see something like this displayed:

    Here we can see the ID's of the USB IR receiver for the Windows Media Center remote, i have highlighted these in red. Please make a note of them:

    Bus 002 Device 004: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver

    You can create a new wakeup rule by doing the following:

    Here you want to paste the following:

    Please note where ID's 0471 and 0815 are, if your ID's were different you must change them:

    SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="0815" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

    Hopefully everything should now work now, simply re start your computer and the Windows Media Center Remote should be able to put XBMC / Kodi to sleep, and wake XBMC / Kodi / your computer up by simply pressing the power button on the remote control.
     
    Rick likes this.
  2. internetguy

    internetguy New Member

    Joined:
    Dec 20, 2014
    Messages:
    1
    Likes Received:
    0
    Thank you

    Thanks for the excellent post, this config change solved my issue with getting my HP remote and HP IR reciever (via USB port) going.

    John
     

Share This Page