| Author |  | 
      
        | jpcurcio Senior Member
 
  
  
 Joined: April 01 2007
 Location: United States
 Online Status: Offline
 Posts: 119
 | 
          In a nutshell:  Is it possible to use the ph_ping command
           | Posted: February 18 2010 at 17:44 | IP Logged |   |  
           | 
 |  to wake a remote machine out of standby mode?
 
 The details:
 
 After a couple days of banging my head against the wall,
 I concluded that I cannot get "wake on USB" to work for
 my HTPC because the IR receiver isn't powered while in
 standby mode.  Therefore, I need another way to wake it.
 
 Since I have an IRLinc 2411R, I figured that I can run a
 PH macro that uses ph_ping to ping the HTPC; all I should
 have to do is set the HTPC to wake on LAN.
 
 Has anyone tried this?  Does this sound like it might
 work?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          Since this person is having the opposite problem I take it a ping would wake the remote machine.
           | Posted: February 18 2010 at 18:44 | IP Logged |   |  
           | 
 |  
 "I put the HTPC (win 7) to S3 sleep when it is idle, but of course the Network wakes it up right after it goes to sleep (withOUT any user accessing the shares on the HTPC, my guess is some services or other devices are pinging the HTPC for whatever reason). So I disable the NIC from waking the system up. But this means that when other network devices go to search, say, for music, from the server, it no longer wakes up.  How does one put an HTPC to sleep without it being woken up by some background task on other devices?"
 
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | jpcurcio Senior Member
 
  
  
 Joined: April 01 2007
 Location: United States
 Online Status: Offline
 Posts: 119
 | 
          
           | Posted: February 18 2010 at 19:02 | IP Logged |   |  
           | 
 |  
| grif091 wrote: 
 
    
    | 
      
       | Since this person is having the opposite problem I take it a ping would wake the remote
 machine.
 |  |  |  
 I'm not sure if it will or not; at this point I haven't
 tried it (I will if/when I get home tonight).
 
 If it doesn't work, perhaps I could use the ph_sendudp()
 command to send a packet with the magic wake-up string to
 the machine.
 
 I'm just curious if anyone has done this before, and if
 there were any pitfalls.
 
 Edited by jpcurcio - February 18 2010 at 19:13
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Jerrem Newbie
 
  
 
 Joined: December 23 2008
 Location: United States
 Online Status: Offline
 Posts: 16
 | 
          I am not sure if this will meet your needs but it works well for me.  I run DCC on the remote machine and then when an external trigger occurs that I would want to wake the machine up with, I use the ph_ssrequest command to send a " " space command simulating a keyboard key press that then wakes up the remote machine.  Hope this helps.
           | Posted: February 18 2010 at 20:05 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  |