[mythtv-users] Suspend to RAM

Joey Morris rjmorris at nc.rr.com
Mon Oct 29 17:54:58 UTC 2012


Josu Lazkano <josu.lazkano at gmail.com> wrote on Mon, Oct 29, 2012 at 03:45:08PM +0100:
> 2012/10/29 Joey Morris <rjmorris at nc.rr.com>:
> > Thomas Boehm <mythtv-users at lists.boehmi.net> wrote on Mon, Oct 29, 2012 at 01:12:10PM +0000:
> >> 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.
> >
> > This may work, but the device could change on each reboot (just like
> > the OPs LIRC receiver, when I also suggested creating a udev rule:
> > http://www.gossamer-threads.com/lists/mythtv/users/504888#504888).
> 
> Thanks again, xD.
> 
> Sorry for my newby question, but I don't understand why I must add a
> udev rule if the device is always connected in the same USB port (4-1
> in my case).

If it's always assigned to device 4-1, then you could get by without a
udev rule.


More information about the mythtv-users mailing list