[mythtv-users] Wake up frontend with remote

Andrew Leech coronasensei at gmail.com
Mon Sep 1 06:02:35 UTC 2014


On 29/08/2014 10:44 PM, Josu Lazkano wrote:
> 2014-08-29 14:30 GMT+02:00 Hika van den Hoven <hikavdh at gmail.com>:
>> Some boards need a jumper being set to enable power on the usb bus
>> during poweroff. This similar to wol.
>> Also I have seen these settings being put under power saving settings
>> in the bios.
> Thanks for the reply.
>
> I check the board documentation but there is nothing about USB wake
> up: http://download.gigabyte.ru/manual/mb_manual_ga-h61m-ds2_v3.0_e.pdf
>
> There is a keyboard/mouse wakeup option, but nothing about the USB
> devices wakeup.
>
> Someone could help with this? Maybe my board doesn't support this
> feature, but I want to be sure before buy a new board.
>
> Best regards.
>
I recently went through this myself with a zotac mobo, which similarly 
didn't have any mention in manual or bios about usb wake.

Most of my "cat /proc/acpi/wakeup" was enabled however, this could 
certainly be a problem for you.
Did you try the cat line as root? either "sudo -s" first or do
  echo USB2 | sudo tee /proc/acpi/wakeup
and see if that enables it. Do it for all the USB* devices if it does work.

I also fiddled with the power settings under /sys/*  and used the two 
scripts here to ensure that the correct tree of devices is enabled 
permanently though udev
http://bernaerts.dyndns.org/linux/74-ubuntu/220-ubuntu-resume-usb-hid

I've also added a couple of kernel parameters related to this, although 
I'm not sure if this actually made a difference or not.

usbcore.autosuspend=-1 acpi_enforce_resources=lax

If you're on ubuntu or similar this will tell you how to add these 
parameters:
http://wiki.xbmc.org/index.php?title=Archive:HOW-TO:Enable_Wake-On-Device_for_Ubuntu#Troubleshooting_auto-resume

After all this usb resume works for me, but only on usb3 ports which are 
using an onboard eton chipset, the usb2 ports on the onboard intel 
chipset still don't work.
I've heard of other mobo's that sleep power is only enabled on one/some 
of the onboard ports, so it's worth trying on all.

Go through the ports, however make sure the keyboard/remote is plugged 
in before going to sleep and has all the /sys settings right (the 
scripts once properly installed can make sure of that), plugging them in 
once already asleep wont work.

Good luck,
Andrew


More information about the mythtv-users mailing list