[mythtv-users] Suspend to RAM
Josu Lazkano
josu.lazkano at gmail.com
Mon Oct 29 13:14:56 UTC 2012
2012/10/29 Thomas Boehm <mythtv-users at lists.boehmi.net>:
> Josu Lazkano wrote:
>> Hello all, I am trying to suspend to RAM from the remote, I read the
>> wiki page: http://www.mythtv.org/wiki/MCE_Remote#S3_.2F_Suspend_To_RAM
>>
>> I am using Debian Wheezy with 3.2 kernel. I try to enable the wakeup this way:
>>
>> # echo enabled > /sys/bus/usb/devices/4-1/power/wakeup
>>
>> Then I can check that it is enabled:
>>
>> $ cat /sys/bus/usb/devices/4-1/power/wakeup
>> enabled
>>
>> But if I reboot the machine, then it is "disabled", how could I fix it?
>
> Put this command in your /etc/rc.local file before the "exit 0" line.
> Then it will be executed on every boot.
>
> HTH
> Thomas
>
Thanks!
I add this line on the /etc/rc.local
echo enabled > /sys/bus/usb/devices/4-1/power/wakeup
Now, if I reboot I get this:
$ cat /sys/bus/usb/devices/4-1/power/wakeup
enabled
$ cat /proc/acpi/wakeup
Device S-state Status Sysfs node
SMB0 S4 *disabled pci:0000:00:03.2
USB0 S4 *enabled pci:0000:00:04.0
USB2 S4 *enabled pci:0000:00:04.1
US15 S4 *enabled pci:0000:00:06.0
US12 S4 *enabled pci:0000:00:06.1
NMAC S5 *disabled pci:0000:00:0a.0
PBB0 S4 *disabled pci:0000:00:09.0
HDAC S4 *disabled pci:0000:00:08.0
XVR0 S4 *disabled pci:0000:00:0c.0
XVR1 S4 *disabled
P0P5 S4 *disabled
P0P6 S4 *disabled pci:0000:00:15.0
P0P7 S4 *disabled pci:0000:00:16.0
P0P8 S4 *disabled pci:0000:00:17.0
P0P9 S4 *disabled pci:0000:00:18.0
PWRB S4 *enabled
Is this correct?
How could I check that it works?
Thanks for all your help.
Best regards.
--
Josu Lazkano
More information about the mythtv-users
mailing list