2010-03-30, 05:15 PM
I wanted some opinions on running this script to make my system more reliable. As I mentioned in these posts I have a (non GBPVR) issue with my setup somewhere that causes it to occasionally not record programs:
http://forums.gbpvr.com//showthread.php?...&highlight=
http://forums.gbpvr.com//showthread.php?...&highlight=
In an effort to make the system more reliable I am going to try having the computer run this script at every resume from S3:
The script is not entirely original it is from a link in this post from Graham:
http://forums.gbpvr.com//showthread.php?...post367440
I modified it to suit my 2 tuners and will put in the actual HW IDs later.
http://forums.gbpvr.com//showthread.php?...&highlight=
http://forums.gbpvr.com//showthread.php?...&highlight=
In an effort to make the system more reliable I am going to try having the computer run this script at every resume from S3:
Code:
@echo off
Date /t >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
Time /t >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
devcon status PCI\??#1
if errorlevel 1 goto RestartTuner1
goto TestTuner2
:RestartTuner1
echo Restarting Tuner 1 >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
devcon restart PCI\??#1
@ping 127.0.0.1 -n 10 -w 1000> nul
devcon status PCI\??#1
if errorlevel 1 goto Restart
goto TestTuner2
:TestTuner2
devcon status PCI\??#2
if errorlevel 1 goto RestartTuner2
echo Tuners Working >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
goto End
:RestartTuner2
echo Restarting Tuner 2 >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
devcon restart PCI\??#2
@ping 127.0.0.1 -n 10 -w 1000> nul
devcon status PCI\??#2
if errorlevel 1 goto Restart
echo Tuners Working >>"C:\Program Files\Devnz\GBPVR\logs\devicelog.log"
goto End
:Restart
shutdown /r /c
goto End
:End
end
The script is not entirely original it is from a link in this post from Graham:
http://forums.gbpvr.com//showthread.php?...post367440
I modified it to suit my 2 tuners and will put in the actual HW IDs later.
Gateway GM5664 with Vista Premium SP1 Transferred to Antec Fusion HTPC case
AMD Phenom 9600 Quad Core 2.3GHZ, 3GB PC5300 667MHZ Memory
3 Tuners: Avermedia Duet PCIe, HVR-1250 PCIe
LG GGC-H20N Blu-ray / HDDVD ROM Drive, Visiontek HD 3650 512 MB Graphics (Cat 9.6)
Sound Blaster X-Fi XtremeGamer, Gyration Media Center Remote Control
HDD: 30GB OCZ Vertex SSD - OS, 1TB (2x500GB) - Recordings
GBPVR: 1.4.7, Plugins - SuperSimpleArchiver, GBPVRCLi/LCD Smartie for VFD, Music Plugin
AMD Phenom 9600 Quad Core 2.3GHZ, 3GB PC5300 667MHZ Memory
3 Tuners: Avermedia Duet PCIe, HVR-1250 PCIe
LG GGC-H20N Blu-ray / HDDVD ROM Drive, Visiontek HD 3650 512 MB Graphics (Cat 9.6)
Sound Blaster X-Fi XtremeGamer, Gyration Media Center Remote Control
HDD: 30GB OCZ Vertex SSD - OS, 1TB (2x500GB) - Recordings
GBPVR: 1.4.7, Plugins - SuperSimpleArchiver, GBPVRCLi/LCD Smartie for VFD, Music Plugin