wake-up frontend via remote

  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:6991a1069953cd22c77ca674166e4bd4' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>After I got a $500 electric bill I\'m re-thinking my power manager settings on all my PCs. Suspend works great on my primary frontend; it only takes approx 20 seconds to wake up. It was easy enough to add a \"suspend\" option to the mythdora menu. I\'m having two issues w/ this setup. </p>\n<p>The first is how to wake up the box. I would love to press any button on the remote and have the PC wake up. My mobo supports USB wakeups from S3 so theoretically this should work. If I run something like #echo USB2 &gt;&gt; /proc/acpi/wakeup the IR receiver becomes enabled to wakeup the PC. However as soon as the PC is in S3 it instantly wakes back up! I\'m using the Streamzap receiver w/ an old Tivo peanut remote. Has anyone had luck doing this? Is it even possible w/ this receiver? </p>\n<p>Second issue: If I run #echo USB0 &gt;&gt; /proc/acpi/wakeup then my USB RF keyboard will successfully bring the PC out of S3! The downside is it seems to press \"return\" about 30 times. If I put it to sleep from a terminal, it comes back up looking like someone had held down the enter key for a while. The problem gets worse when the suspend selection is made from the myth menu. It seems to wakeup, sleep, wakeup, sleep, and finally wakeup. I guess it sort-of works but it\'s not ideal. </p>\n<p>My goal would be to have the power button on the remote setup in LIRC to suspend the PC. This will power off both the TV and the PC. Then hopefully any button would wakeup the PC, so the power button \"should\" turn on the TV and the PC. Has anyone come up w/ something slicker?</p>\n', created = 1369319566, expire = 1369405966, headers = '', serialized = 0 WHERE cid = '1:6991a1069953cd22c77ca674166e4bd4' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:2ed3a40a002384b2968313944b3ed6cd' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>\n<div class=\"quote-msg\">\n<div class=\"quote-author\"><em>guitarben</em> wrote:</div>\n<p>The first is how to wake up the box. I would love to press any button on the remote and have the PC wake up. My mobo supports USB wakeups from S3 so theoretically this should work. If I run something like #echo USB2 &gt;&gt; /proc/acpi/wakeup the IR receiver becomes enabled to wakeup the PC. However as soon as the PC is in S3 it instantly wakes back up! I\'m using the Streamzap receiver w/ an old Tivo peanut remote. Has anyone had luck doing this? Is it even possible w/ this receiver? </p></div>\n</p>\n<p>This may be of use to you:</p>\n<p><a href=\"http://www.mythtv.org/wiki/index.php/MCE_Remote#S3_.2F_Suspend_To_RAM\">http://www.mythtv.org/wiki/index.php/MCE_Remote#S3_.2F_Suspend_To_RAM</a></p>\n<p>Though frankly what works best for me is a two step process:</p>\n<p>1) Mythdora -&gt; shutdown<br />\n2) Flip the power strip switch halting all draw to the screen, PC &amp; Speakers</p>\n<p>I\'ve got the mythfe box set to turn on after power restore in BIOS and it only takes about 15 seconds to go from power switch flip to mythdora goodness.</p>\n', created = 1369319566, expire = 1369405966, headers = '', serialized = 0 WHERE cid = '1:2ed3a40a002384b2968313944b3ed6cd' in /var/www/mythdora/html/includes/cache.inc on line 109.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:5b1d7858408e05ffd40f4196b85f2877' in /var/www/mythdora/html/includes/cache.inc on line 26.
  • user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired query: UPDATE cache_filter SET data = '<p>That link is pretty much what I\'ve been trying to accomplish. It\'s just not working w/ my receiver &amp; mobo combination. I\'d be a little concerned about the WAF implications of needing to hit the power strip to watch TV. Anyone else gotten this to work?</p>\n', created = 1369319566, expire = 1369405966, headers = '', serialized = 0 WHERE cid = '1:5b1d7858408e05ffd40f4196b85f2877' in /var/www/mythdora/html/includes/cache.inc on line 109.

After I got a $500 electric bill I'm re-thinking my power manager settings on all my PCs. Suspend works great on my primary frontend; it only takes approx 20 seconds to wake up. It was easy enough to add a "suspend" option to the mythdora menu. I'm having two issues w/ this setup.

The first is how to wake up the box. I would love to press any button on the remote and have the PC wake up. My mobo supports USB wakeups from S3 so theoretically this should work. If I run something like #echo USB2 >> /proc/acpi/wakeup the IR receiver becomes enabled to wakeup the PC. However as soon as the PC is in S3 it instantly wakes back up! I'm using the Streamzap receiver w/ an old Tivo peanut remote. Has anyone had luck doing this? Is it even possible w/ this receiver?

Second issue: If I run #echo USB0 >> /proc/acpi/wakeup then my USB RF keyboard will successfully bring the PC out of S3! The downside is it seems to press "return" about 30 times. If I put it to sleep from a terminal, it comes back up looking like someone had held down the enter key for a while. The problem gets worse when the suspend selection is made from the myth menu. It seems to wakeup, sleep, wakeup, sleep, and finally wakeup. I guess it sort-of works but it's not ideal.

My goal would be to have the power button on the remote setup in LIRC to suspend the PC. This will power off both the TV and the PC. Then hopefully any button would wakeup the PC, so the power button "should" turn on the TV and the PC. Has anyone come up w/ something slicker?

guitarben wrote: The first

guitarben wrote:

The first is how to wake up the box. I would love to press any button on the remote and have the PC wake up. My mobo supports USB wakeups from S3 so theoretically this should work. If I run something like #echo USB2 >> /proc/acpi/wakeup the IR receiver becomes enabled to wakeup the PC. However as soon as the PC is in S3 it instantly wakes back up! I'm using the Streamzap receiver w/ an old Tivo peanut remote. Has anyone had luck doing this? Is it even possible w/ this receiver?

This may be of use to you:

http://www.mythtv.org/wiki/index.php/MCE_Remote#S3_.2F_Suspend_To_RAM

Though frankly what works best for me is a two step process:

1) Mythdora -> shutdown
2) Flip the power strip switch halting all draw to the screen, PC & Speakers

I've got the mythfe box set to turn on after power restore in BIOS and it only takes about 15 seconds to go from power switch flip to mythdora goodness.

That link is pretty much

That link is pretty much what I've been trying to accomplish. It's just not working w/ my receiver & mobo combination. I'd be a little concerned about the WAF implications of needing to hit the power strip to watch TV. Anyone else gotten this to work?