[mythtv-users] Re: add skybox to my MythTV system

David myth at dgreaves.com
Thu Aug 11 12:23:54 UTC 2005


Ant Daniel wrote:

>I have a PVR 350 and can check the sky signal status by using ivtvctl
>-I allows me to tell if the sky box is on or off, without trying to
>constantly turn it on. (So if I do play with your prog I mght make
>some changes regarding that).
>  
>
As Neil said, interesting. -I isn't in the docs for ivtvctl.
It works though. I have a sky->SCART->VHS video->S-video->PVR350 and get
the following results

Skybox off:
teak:/everything/devel/ivtv/0.2.0/ivtv-0.2.0-rc3k/utils# ./ivtvctl -I
check SAA7115 input signal
ioctl: VIDEO_STATUS = Bad

SAA7115 reg[STATUS#1 - 0x1E] = 02
 Color Standard (D0-D1): PAL
 White peak loop (D2): Not activated
 Gain value for act.lum. (min) (D3): Not limited
 Gain value for act.lum. (max) (D4): Not limited
 WIPA-mode slow-time constant (D5): Not activated
 Horizontal frequency (D6): Locked
 Field length (D7): Non-standard

SAA7115 reg[STATUS#2 - 0x1F] = 01
 Ready for capture (D0): Yes
 Macrovision 7.01 (D1): No
 MV Colorstripe burst (D2): No
 MV Colorstripe burst type 3 (D3): No
 Input signal timebase (D4): Non-stable (VCR)
 Field frequency (D5): 50Hz
 H & V loops (D6): Locked
 Interlace (D7): Not detected

and on:
teak:/everything/devel/ivtv/0.2.0/ivtv-0.2.0-rc3k/utils# ./ivtvctl -I
check SAA7115 input signal
ioctl: VIDEO_STATUS = Sat/Dvd

SAA7115 reg[STATUS#1 - 0x1E] = 82
 Color Standard (D0-D1): PAL
 White peak loop (D2): Not activated
 Gain value for act.lum. (min) (D3): Not limited
 Gain value for act.lum. (max) (D4): Not limited
 WIPA-mode slow-time constant (D5): Not activated
 Horizontal frequency (D6): Locked
 Field length (D7): Standard

SAA7115 reg[STATUS#2 - 0x1F] = 91
 Ready for capture (D0): Yes
 Macrovision 7.01 (D1): No
 MV Colorstripe burst (D2): No
 MV Colorstripe burst type 3 (D3): No
 Input signal timebase (D4): Stable (broadcast/DVD)
 Field frequency (D5): 50Hz
 H & V loops (D6): Locked
 Interlace (D7): Detected


Cool. That's going in Nagios ;)

Now, can I read a flag that says: "myth is recording"?

David



More information about the mythtv-users mailing list