Last December, I was able to resolve the hibernation (s4) and stand-by (s3) issues my GB-PVR HTPC/server had. Currently, my server wakes up every day to update the EPG and/or record TV and then puts itself back into stand-by mode after done. I can also turn the HTPC on with my MS MCE remote when I want to watch TV in the living room.
I was living a dream . But the dream became a nightmare when my GBPVR client-addicted teenage daughters realized they could not watch live TV or their recordings from their PCs if the server went into stand-by mode.
I was not willing to let go the stand-by mode. So I did a little research (thanks God for Google ). To make a long story short, I replaced the GB-PVR shortcuts on their clients' Desktops with a shortcut to a custom batch file that does the following:
The batch file relies on the Depicus' "WolCmd.exe" utility to send WoL magic packets. "WolCmd.exe" is a clean freeware command-line utility and can be downloaded from here.
The attached HTTP.txt is the batch file that the clients should call instead of GB-PVR. (Rename it to HTTP.bat after downloading it) You must edit the file (with notepad) and add the IP and MAC numbers of your server. The MAC number can be obtained by running Windows' command prompt (Windows-R keys, type in "cmd", then press enter) and entering "ipconfig /all". The MAC number is listed as "Physical Address". Don't include the dashes (-) in the batch file.
If your GB-PVR is not installed in the folder "C:\Program Files\devnz\gbpvr", then you must also update that path in the HTPC.bat batch file.
Once you get HTPC.bat and WolCmd.exe, store them in the same folder. I stored mine in "C:\Program Files\WoL". You could put the files in different folders; just remember to change the batch file accordingly.
Then, create a Desktop shortcut to the HTPC.bat file. Optionally, you could assign the GB-PVR icon (red TV set) to the HTPC shortcut.
Note that for WoL to work, you must make sure that WoL is allowed in your server's BIOS and the server's Ethernet adapter driver is configured to accept magic packets. I decided not to discuss how to do this because I know it has been discussed ad nauseam in this forum.
Enjoy it.
I was living a dream . But the dream became a nightmare when my GBPVR client-addicted teenage daughters realized they could not watch live TV or their recordings from their PCs if the server went into stand-by mode.
I was not willing to let go the stand-by mode. So I did a little research (thanks God for Google ). To make a long story short, I replaced the GB-PVR shortcuts on their clients' Desktops with a shortcut to a custom batch file that does the following:
- It checks if the server is awake.
- If the server is awake, it starts the GB-PVR application right away.
- If the server is sleeping, it sends a Wake-on-LAN (WoL) magic packet to the server to wake it up.
- It gives the server 5 seconds to wake up. (The server wakes up in less than 3 seconds).
- Starts the GB-PVR application.
The batch file relies on the Depicus' "WolCmd.exe" utility to send WoL magic packets. "WolCmd.exe" is a clean freeware command-line utility and can be downloaded from here.
The attached HTTP.txt is the batch file that the clients should call instead of GB-PVR. (Rename it to HTTP.bat after downloading it) You must edit the file (with notepad) and add the IP and MAC numbers of your server. The MAC number can be obtained by running Windows' command prompt (Windows-R keys, type in "cmd", then press enter) and entering "ipconfig /all". The MAC number is listed as "Physical Address". Don't include the dashes (-) in the batch file.
If your GB-PVR is not installed in the folder "C:\Program Files\devnz\gbpvr", then you must also update that path in the HTPC.bat batch file.
Once you get HTPC.bat and WolCmd.exe, store them in the same folder. I stored mine in "C:\Program Files\WoL". You could put the files in different folders; just remember to change the batch file accordingly.
Then, create a Desktop shortcut to the HTPC.bat file. Optionally, you could assign the GB-PVR icon (red TV set) to the HTPC shortcut.
Note that for WoL to work, you must make sure that WoL is allowed in your server's BIOS and the server's Ethernet adapter driver is configured to accept magic packets. I decided not to discuss how to do this because I know it has been discussed ad nauseam in this forum.
Enjoy it.
[SIZE="1"](Mitsubishi WD-65732 HDTV) (AMD Athlon 64 3200+ & 768MB DDR) (nVidia GeForce 6150) (250GB 7200RPM HD) (2 x Hauppauge PVR-150MCE) (XGene Imperial RF Keyboard) (MS MCE Remote+IR transceiver and Logitech Harmony 676 RC) (GB-PVR v1.1.5 (PVRX2) running on Windows XP Pro SP2) (5 GB-PVR Clients via FastEthernet/100Mbit LAN)
[/SIZE]
[/SIZE]