NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 883 884 885 886 887 … 1231 Next »
Hauppauge pvr350 tv-out and hibernate

 
  • 0 Vote(s) - 0 Average
Hauppauge pvr350 tv-out and hibernate
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#51
2004-12-14, 09:24 AM
Ok, thank's anyway. I'll have to test some more later.
I'm not always right
GB-PVR 1.2.9
Accent HT-400 Case, AMD Athlon 64 3800+ 1024MB, 1TB+300GB+180GB, WinXP Pro-SP2, NVidia 7600GT
Nova-T USB2, PVR-350 recording from Dilog 355 DVB-T box, USB-UIRT (receiving & transmitting)
Hebus
Offline

Junior Member

Posts: 40
Threads: 5
Joined: Jan 2004
#52
2005-06-11, 12:16 PM
Hey i need to use also the wakup trick, new drivers dint work.
my wake.cmd file is this

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
ECHO OFF
REM This batchfile is executed in the first seconds
REM after waking the machine from hibernation.

REM This will re-activate the tv-out after hibernation
REM Version 0.3, 20040907 by MaBo
REM You can contact me at the GBPVR forums

REM changes:
REM 0.3.1: minor fixes. Now the recording service and ir.exe are
REM restarted also when restarting the pvr350 failed.
REM 0.3: now all in one file: wake.cmd
REM check whether a version of wake.cmd is already running

REM first check whether another version is running
SET checkfile=D:\gbpvr\syslog\wakingtvout.txt

IF EXIST %checkfile% GOTO EXIT

echo waking started > %checkfile%

REM An entry to the logfile is generated.
REM define the path to your system logfile here:
set logfile=D:\gbpvr\syslog\syslog.txt
REM If you don't want a logfile, please remove all lines containing
REM %logfile% in the file below

echo Wake from hibernation >> %logfile%
date /t >> %logfile%
time /t >> %logfile%
pushd "D:\gbpvr\DevCon\devcon"
ECHO OFF

REM In order to restart the pvr350, it should not be in use.
REM Therefore, the remote control program has to be stopped
REM modify the path when you have not made a default install.
"C:\Program Files\WinTV\Ir.exe" /QUIT

REM Then the GB-PVR recordingservice has to be stopped.
REM This will stop any running recordings!!
REM This is assumed to be safe, as the computer has just
REM woken from hibernation/standby. So it was idle.
net stop "GB-PVR Recording Service"
REM echo Recording service stopped >> %logfile%
REM date /t >> %logfile%
REM time /t >> %logfile%

REM Then the program devcon is called to do the actual restarting
REM devcon.exe can be downloaded from microsoft.com
devcon.exe restart PCI\VEN_4444^&amp;DEV_0803
REM the entire identification of the PVR 350 was
REM in my case: PCI\VEN_4444&amp;DEV_0803&amp;SUBSYS_40000070&amp;REV_01\3&amp;61A AA01&amp;0&amp;70
REM However, the &amp;-signs posed problems.
REM By using only PCI\VEN_4444, any pvr250's are probably restarted as well.

IF ERRORLEVEL 3 GOTO SYNTAX
IF ERRORLEVEL 2 GOTO FAILURE
IF ERRORLEVEL 1 GOTO REBOOT
IF ERRORLEVEL 0 GOTO SUCCES

:SUCCES
echo pvr350 restarted succesfully >> %logfile%
date /t >> %logfile%
time /t >> %logfile%
GOTO END

:REBOOT
REM The pvr350 could not be restarted. Probably because it was in use
REM by some program. A reboot is needed.
echo The pvr350 could not be restarted. Reboot required >> %logfile%
date /t >> %logfile%
time /t >> %logfile%
REM You could add a command here to automatically reboot your machine.
GOTO END

:FAILURE
REM The pvr350 could not be restarted at all.
echo pvr350 could not be restarted succesfully >> %logfile%
date /t >> %logfile%
time /t >> %logfile%
GOTO END

:SYNTAX
REM Syntax error.
echo There is a syntax error in wake.cmd >> %logfile%
date /t >> %logfile%
time /t >> %logfile%
GOTO END

:END
REM The statements below are always performed. Even when
REM errors have occured.
REM Restart the recordingservice
net start "GB-PVR Recording Service"
REM echo Recording service started >> %logfile%
REM date /t >> %logfile%
REM time /t >> %logfile%

REM Restart remote control
START C:\Progra~1\WinTV\Ir.exe /QUIET
REM remove the checkfile to enable new restarts
start gbpvr.exe
del %checkfile%

popd
:EXIT
REM Commands below are performed, even when another wake.cmd is busy.
EXIT
[/QUOTE]

it works +- but but gbpvr.exe wont start ?
Hebus
Offline

Junior Member

Posts: 40
Threads: 5
Joined: Jan 2004
#53
2005-08-21, 02:18 PM
Still got this problem GBPVR wont wake-up.
Nobody knows the trick ?
HermanJ
Offline

Junior Member

Posts: 39
Threads: 12
Joined: Dec 2005
#54
2005-12-03, 06:51 PM
Hi, I've found a VSBscript that detects a resume from hibernate/suspend. I use it to close GBPVR (using "keystrokes" ALT-F4) and restart it. After that the PVR350 starts working again. There are some remarks from the original creater in the script, and I do not understand all of it, but it works. And there are a lot of *testing* statements remarkted-out.
Put it in your startup folder and have fun.

***********start of script: restartfromresume.vbs******************
'this line set up the event monitoring
Set colMonitoredEvents = GetObject("winmgmts:").ExecNotificationQuery("Select * from Win32_PowerManagementEvent")

'this gets us a shell so we can run the devcon executable
'your antivirus software may report a _malicious script error_ due to this line
Set WshShell = WScript.CreateObject("WScript.Shell")

'the script loops forever, so you will have to kill it using the task manager
'if you want to stop it, look for wscript.exe
Do
'wait for the next event
Set strLatestEvent = colMonitoredEvents.NextEvent
Select Case strLatestEvent.EventType
case 4
'put code here to be executed when you go into suspend or hibernate
'MsgBox "Entering suspend."
case 10
'this gives you a notification that you have gone from ac to battery or vice versa
'MsgBox "Power state Changed"
case 11
'this event varys from computer to computer in its meaning
'MsgBox "OEMEvent"
case 7
'this is run whenever the computer comes back from suspend/hibernate
'I put in a sleep here to make sure everything else was back up and running
'before I did anything, it is probably not needed
'this waits 5000ms (5 seconds) before doing anything
'WshShell.AppActivate("GB-PVR")
'WshShell.SendKeys "%{F4}"
WshShell.AppActivate("GB-PVR")
WshShell.SendKeys "%{F4}"
WScript.Sleep 2500
WshShell.Run "c:\progra~1\devnz\gbpvr\gbpvr.exe"
WshShell.AppActivate("GB-PVR")
'MsgBox "Resuming from suspend."
'WshShell.Run "C:\Progra~1\scriptit\scriptit.exe C:\Progra~1\scriptit\restartgbpvr.txt", 0
'MsgBox "Scriptit startet"
'WshShell.Run "C:\windows\notepad.exe", 0
case 18
'I dont know how this is different from the other resume, but they both always happened in my testing
'WScript.Sleep 5000
'MsgBox "Resume Automatic happened"
'this restarts the device, but didn't really help me
'WshShell.Run "C:\windows\devcon.exe restart USB\VID_045*", 0
End Select
Loop
********************end of script*********************
HermanJ
Offline

Junior Member

Posts: 39
Threads: 12
Joined: Dec 2005
#55
2005-12-04, 10:33 AM
Well,...

I thought the problem with the PVR350 was sort of solved. Then I stumbled accross an other problem: XP does not resume from hibernation or suspend if I don't touch the mouse or a key! That is, the screen stays blank and no process on the desktop (a batch file, and GB-VCR) starts running. "A bit" annoying if you're recording while not at home (or are sleeping). And even more annoying is that MS does not has a fix or a work around. So I'm stuck.
The MS problem is in there KB:
http://support.microsoft.com/default.asp...-us;815304

Maybe returning to W2000 will fix this. Zucht....
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#56
2005-12-04, 02:58 PM
HermanJ Wrote:Well,...

I thought the problem with the PVR350 was sort of solved. Then I stumbled accross an other problem: XP does not resume from hibernation or suspend if I don't touch the mouse or a key! That is, the screen stays blank and no process on the desktop (a batch file, and GB-VCR) starts running. "A bit" annoying if you're recording while not at home (or are sleeping). And even more annoying is that MS does not has a fix or a work around. So I'm stuck.
The MS problem is in there KB:
http://support.microsoft.com/default.asp...-us;815304

Maybe returning to W2000 will fix this. Zucht....

Your Problem hasn't much to do, with the fix. Do you think, GB-PVR wakes your Machine like WakeOnLan?

No, your problem seems to be a driver-conflict. But this isn't easy to solve, because it could be all. Graphicscard, Mainboard, Soundcard... all of your systemcomponentsdriver could hinder your PC to wake up from S3. Even a buggy BIOS-Version could doing something like this.
HermanJ
Offline

Junior Member

Posts: 39
Threads: 12
Joined: Dec 2005
#57
2005-12-04, 09:58 PM
You're right. It has something to do with my XP installation. Unfortunately it happens on all my pc's (3). But I installed w2000, and that works fine (still have to install all the gb-vcr software and drivers). But the clean OS works fine from hibernation/suspend
HermanJ
Offline

Junior Member

Posts: 39
Threads: 12
Joined: Dec 2005
#58
2005-12-05, 03:29 PM
Nop, found out my problem.
VBS scripts suspend execution when resuming from standby as long as the desktop is blank (batch files and *.exe's continues like the should do. A VBS bug in windows mayby). VBSscripts continues only when the pc receives some mouse/keyboard input (and the desktops gets visible again). So, I can't use this VBS script. I switched to the GBPVRWake.exe executable with the wake.cmd batch file. In this batch file I call a VBS script that kills (ALT-F4) the GBPVR.exe and restarts it (and starts a new GBPVRWake.exe). This works fine in mine case. Although the desktop of the pvr-pc remains blank. I use Damewareminiremote (sort of PCanywhere) to connect to it. To do some maintaince on the desktop I have to reboot the PVR-pc. Annoying!
Hebus
Offline

Junior Member

Posts: 40
Threads: 5
Joined: Jan 2004
#59
2006-01-21, 11:33 AM
I stil got this "#@§! problem.
When my pc is waking up Pvr350 gives me a colorbar, so it is working correctly...
but i want to see gbpvr .... :mad:
On my dekstop i see gbpvr running ?

When i stop gbpvr. manual . and restart it al works fine?
So i, only need to restart GBPVR.exe Somme bug in it ?

So i gonna use gbpvrwake.exe

Gbpvrwake is shutting down gbpvr. exe when my pc wake up. right?
So i use in wake.cmd START C:\Progra~1\devnz\gbpvr\GBPVR.exe .

But this works not always ??

Sometimes i got 2 X gbpvr.exe running , other time i only get the collorbars from the pvr350.
Sometimes when its recording i see colorbars, and black screen on my desktop ?

After 2 year this is still not fixed ?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#60
2006-01-21, 03:41 PM
Quote:After 2 year this is still not fixed ?
Sorry, but I have long since stop developing for or supporting the PVR350's tv out. Its unlikely you'll see this fixed in another 2 years either.

The bug is just present because GB-PVR doesnt re-initialize the PVR350 after the machine wakes. I never standby or hibernate my own machines, so it was never anything I tested.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6


Possibly Related Threads…
Thread Author Replies Views Last Post
  GBPVR support for Hauppauge WinTV-HVR-1900 or Hauppauge HD-PVR (PAL) lchiu7 23 18,458 2014-05-15, 12:59 AM
Last Post: lchiu7
  Hauppauge 2250 MCE remote Jeckler 22 20,775 2013-03-26, 04:26 PM
Last Post: DonBrutto
  Composite Source using Hauppauge PVR500 gives sound but no video DukeBrymin 1 3,053 2012-02-03, 02:41 AM
Last Post: slowtech
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,983 2011-12-17, 02:52 PM
Last Post: Sykor
  Will A Hauppauge Colossus work in 1.4.7? hondophred 5 3,775 2011-06-29, 09:12 PM
Last Post: sub
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,422 2011-06-27, 02:06 AM
Last Post: sub
  Hauppauge 1600 analog stopped working stoenjes 2 1,982 2010-11-16, 11:09 PM
Last Post: ryanmc
  Can I record two channels with a Hauppauge HVR-3000 DVB-T (FreeView UK)? philcooling 1 1,758 2010-11-02, 06:15 PM
Last Post: sub
  Internal Hauppauge WinTV MOD7700 ATSC -- what BDA do I use? h103 7 5,333 2010-10-08, 08:29 PM
Last Post: juanrod160
  Comcast DCI105COM1 DTA and Hauppauge IR Blaster not working DonP 6 7,287 2010-09-26, 03:46 AM
Last Post: pBS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode