[mythtv] PVR350 (card 0) PVR150 (card 1---- not working) HELP!
JOHN GRUBER
john.gruber at usa.net
Tue Sep 6 16:53:47 UTC 2005
I got nowhere on the myth-user list... can anyone here help?
Since posting to mythtv-users I have pulled the card, put in an WindowsXP box,
loaded Win software and the card does fine. So I'm sure it's not the hardware.
Please smart people... help a man out!
(crosspost follows)
I had a PVR350 running mythtv (TV out) and love it. I wanted to add a
second tunner so I bought a PVR150.
I see the card, but here is the output of ivtvctl (full -a below)..
notice /dev/video1 (PVR150 card tuner) ioctl: VIDEO_STATUS = Bad
Ahhh. Help me please... The PVR350 card on card0 is still working great.
root at mythtv:~# ivtvctl -d /dev/video0 -I
check SAA7115 input signal
ioctl: VIDEO_STATUS = Sat/Dvd
SAA7115 reg[STATUS#1 - 0x1E] = 81
Color Standard (D0-D1): NTSC
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] = b1
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): 60Hz
H & V loops (D6): Locked
Interlace (D7): Detected
root at mythtv:~# ivtvctl -d /dev/video1 -I
check SAA7115 input signal
ioctl: VIDEO_STATUS = Bad
SAA7115 reg[STATUS#1 - 0x1E] = 08
Color Standard (D0-D1): BW/No color
White peak loop (D2): Not activated
Gain value for act.lum. (min) (D3): 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] = 08
Ready for capture (D0): No
Macrovision 7.01 (D1): No
MV Colorstripe burst (D2): No
MV Colorstripe burst type 3 (D3): Yes
Input signal timebase (D4): Non-stable (VCR)
Field frequency (D5): 50Hz
H & V loops (D6): Locked
Interlace (D7): Not detected
root at mythtv:~#
Here is dmesg part for ivtv...
Linux video capture interface: v1.00
bttv: driver version 0.9.15 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
saa7115: starting probe for adapter SMBus I801 adapter at 0c00 (0x0)
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3j) loading
ivtv: Linux version: 2.6.11.9-chw-2 SMP preempt 586 gcc-3.3
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI interrupt 0000:02:0a.0[A] -> GSI 22 (level, low) -> IRQ 22
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x1a30 vendor: 0x8086
ivtv: i2c attach [client=unset,ok]
ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-1/1-0018/ir0 [ivtv i2c
driver #0]
ivtv: i2c attach [client=tveeprom,ok]
ivtv: i2c attach [client=(tuner unset),ok]
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G) no-thread mode
msp34xx: $Id$ compiled on: May 24 2005 00:43:28
ivtv: i2c attach [client=MSP3448W-A2,ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 8208060
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00ad2598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[0],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 9 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Setting Tuner 47
tuner 1-0061: type set to 47 (LG NTSC (TAPE series))
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 2363, itv = 0xe1683aa0
ivtv: ivtv_dec_thread: pid = 2364, itv = 0xe1683aa0
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set NTSC Video Mode
saa7127: Selecting NTSC video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: Autodetected WinTV PVR 150 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:02:0b.0[A] -> GSI 18 (level, low) -> IRQ 18
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x1a30 vendor: 0x8086
ivtv: i2c attach [client=tveeprom,ok]
ivtv: i2c attach [client=(tuner unset),ok]
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[1],ok]
tveeprom: Hauppauge: model = 26552, rev = C268, serial# = 8024736
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3410D (type = 5)
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x008d2598, Revision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
cx25840: Ignoring new-style parameters in presence of obsolete ones
wm8775: Ignoring new-style parameters in presence of obsolete ones
wm8775: Setting register ADCFMT (7) to 1, R11.0..1, old value 02
wm8775: Setting register ADCMS (8) to 1, R12.8..8, old value 00
wm8775: Setting register DCY (24) to 8, R18.4..7, old value 03
wm8775: Setting register NGAT (27) to 1, R19.0..0, old value 00
wm8775: Setting register LRBOTH (30) to 1, R21.8..8, old value 00
wm8775: Setting register AMX (33) to 15, R21.0..3, old value 01
wm8775: Updating register 0 (R23), config: 2e01 active: 2e00.
wm8775: Skipping register 1 (R7), config: 0e00 active: 0e00.
wm8775: Updating register 2 (R11), config: 1622 active: 1621.
wm8775: Updating register 3 (R12), config: 1802 active: 1902.
wm8775: Skipping register 4 (R13), config: 1a00 active: 1a00.
wm8775: Skipping register 5 (R14), config: 1ccf active: 1ccf.
wm8775: Skipping register 6 (R15), config: 1ecf active: 1ecf.
wm8775: Skipping register 7 (R16), config: 207b active: 207b.
wm8775: Skipping register 8 (R17), config: 2200 active: 2200.
wm8775: Updating register 9 (R18), config: 2432 active: 2482.
wm8775: Updating register 10 (R19), config: 2600 active: 2601.
wm8775: Skipping register 11 (R20), config: 2826 active: 2826.
wm8775: Updating register 12 (R21), config: 2a01 active: 2b0f.
ivtv: i2c attach [client=wm8775[0],ok]
ivtv: Encoder revision: 0x02040011
ivtv: Configuring WinTV PVR 150 card with 5 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 1
ivtv: Registered v4l2 device, streamtype 1 minor 33
ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 225
ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 25
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 4 minor 65
ivtv: Setting Tuner 47
tuner 2-0061: type set to 47 (LG NTSC (TAPE series))
ivtv: Switching standard to NTSC.
ivtv: Initialized WinTV PVR 150, card #1
ivtv: ==================== END INIT IVTV ====================
Here is ivtvctl -a
root at mythtv:~# ivtvctl -d /dev/video1 -a
ioctl: IVTV_IOC_G_CODEC
Codec parameters
aspect : 2
audio : 0x00e9
bframes : 3
bitrate_mode: 0
bitrate : 4500000
bitrate_peak: 6000000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 0
dnr_type : 0
framerate : 0
framespergop: 15
gop_closure : 1
pulldown : 0
stream_type : 0
ioctl: VIDIOC_G_FMT
Type : Video Capture
Width : 480
Height : 480
ioctl: VIDIOC_QUERYCAP
Driver name : ivtv
Card type : Vanilla iTVC15 card
Bus info : 1
Driver version: 512
Capabilities : 0x01070011
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 1
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : Composite 2
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 5
Name : Composite 3
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F3FFF ( PAL NTSC SECAM )
Status : 0
Input : 6
Name : Tuner 0
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x0000000000003000 ( NTSC )
Status : 0
Input : 7
Name : Tuner 1
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x0000000000003000 ( NTSC )
Status : 0
ioctl: VIDIOC_G_INPUT
Input = 7
ioctl: VIDIOC_ENUMOUTPUT
ioctl: VIDIOC_G_OUTPUT
ioctl: VIDIOC_G_OUTPUT failed
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line In
ioctl: VIDIOC_G_AUDIO
Input = 0: Tuner Audio In
ioctl: VIDIOC_G_FREQUENCY
Frequency = 980
ioctl: VIDIOC_ENUMSTD
index : 0
ID : 0x0000000000003000
Name : NTSC
Frame period: 1001/30000
Frame lines : 525
index : 1
ID : 0x00000000000000FF
Name : PAL
Frame period: 1/25
Frame lines : 625
index : 2
ID : 0x00000000007F0000
Name : SECAM
Frame period: 1/25
Frame lines : 625
ioctl: VIDIOC_G_STD
Standard = 0x00003000
ioctl: VIDIOC_QUERYCTRL
Brightness = -1071059048
Contrast = -1073744336
Saturation = 0
Hue = -884064724
Volume = 65535
Mute = 0
More information about the mythtv-dev
mailing list