[mythtv-users] replaceing a Hauppage 150 with a pvr 500
Stephen Kitchener
stephen at g6dzj.demon.co.uk
Fri Jan 6 21:46:43 UTC 2006
On Friday 06 Jan 2006 19:59, weeny wrote:
> Am Freitag 06 Januar 2006 18:26 schrieb Stephen Kitchener:
> > Hi,
> >
> > I must be doing something wrong that is really basic, but I have tried to
> > replace my Hauppauge 150 with a Hauppauge pvr 500 and all I get is noise
> > on the signal, ie no picture...
> >
> > When I put the 150 back all is well...(After I delete the setup for the
> > 500 and reset for the 150)
> >
> > When I replaced the TV card I re-ran the setup program for mythtv and
> > deleted the card details, I added the card twice, once each for each of
> > the tuners and selected video0 for the first and video1 for the second, I
> > then allocated "tuner" for each of the separate parts of the card.
> >
> > Did I missed anything, do I need to re-populate the database ?, I did it
> > anyway but there was no change...
> >
> > I suppose that I could have a dead card, but hopefully not..
> >
> >
> > Any help appreciated.
> >
> > Steve K
>
> Hi Steve,
Hi Weeny,
I did some more tests, it appears that I can record on the 2nd tuner and get
no signal at all on the first...
I did try as you suggested and the output is below..
ivtvctl -a gives
ioctl IVTV_IOC_G_CODEC ok
Codec parameters
aspect : 2
audio : 0x00e9
bframes : 3
bitrate_mode: 0
bitrate : 4500000
bitrate_peak: 6000000
dnr_mode : 0
dnr_spatial : 0
dnr_temporal: 8
dnr_type : 0
framerate : 1
framespergop: 12
gop_closure : 1
pulldown : 0
stream_type : 0
ioctl VIDIOC_G_FMT ok
Type : Video Capture
Width : 720
Height : 576
ioctl VIDIOC_QUERYCAP ok
Driver name : ivtv
Card type : WinTV PVR 500 (unit #1)
Bus info : 0000:02:08.0
Driver version: 1025
Capabilities : 0x01070051
ioctl: VIDIOC_ENUMINPUT
Input : 0
Name : Tuner
Type : 0x00000001
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000000000FF ( PAL )
Status : 0
Input : 1
Name : Composite 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 2
Name : Composite 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 3
Name : S-Video 0
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
Input : 4
Name : S-Video 1
Type : 0x00000002
Audioset: 0x00000003
Tuner : 0x00000000
Standard: 0x00000000007F7FFF ( PAL NTSC SECAM )
Status : 0
ioctl VIDIOC_G_INPUT ok
Video input = 0
ioctl: VIDIOC_ENUMOUTPUT
ioctl VIDIOC_G_OUTPUT failed: Invalid argument
ioctl: VIDIOC_ENUMAUDIO
Input : 0
Name : Tuner Audio In
Input : 1
Name : Audio Line 1
Input : 2
Name : Audio Line 2
Input : 3
Name : Audio Line 3
Input : 4
Name : Audio Line 4
ioctl VIDIOC_G_AUDIO ok
Audio input = 0: Tuner Audio In
ioctl VIDIOC_G_FREQUENCY ok
Frequency = 12148
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 ok
Video standard = 0x000000ff
ioctl: VIDIOC_QUERYCTRL
Brightness = 383
Contrast = 63
Saturation = 63
Hue = 0
Volume = 58880
Mute = 1
Dosn't this look like there is only one tuner being found.....but the messages
in dmesg seem to conflict with this, dmesg (Part of) is below...
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.4.1 (tagged release) loading
ivtv: Linux version: 2.6.12-12mdk 686 gcc-4.0
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 19 (level, low) -> IRQ 19
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Second (radio) tuner idx 101
tveeprom: ivtv version
tveeprom: Hauppauge: model = 23659, rev = D491, serial# = 8055378
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74,
v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
ivtv0: This is the first unit of a PVR500
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=60]
tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
cx25840 0-0044: ivtv driver
cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 0-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
wm8775 0-001b: ivtv driver
wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0)
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv0: Encoder revision: 0x02050032
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
ivtv0: Create encoder radio stream
tuner 0-0060: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
ivtv: ====================== NEXT CARD ======================
ivtv1: Autodetected WinTV PVR 150 card (cx23416 based)
ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 16 (level, low) -> IRQ 16
ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Second (radio) tuner idx 101
tveeprom: ivtv version
tveeprom: Hauppauge: model = 23659, rev = D491, serial# = 8055378
tveeprom: tuner = Philips FQ1216AME MK4 (idx = 91, type = 56)
tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74,
v4l2 = 0x00400e17)
tveeprom: audio processor = CX25843 (type = 25)
tveeprom: decoder processor = CX25843 (type = 1e)
ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 1-0044: ivtv driver
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
wm8775 1-001b: ivtv driver
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
tda9887 1-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #1)
ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv1: This is the second unit of a PVR500
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
ivtv1: Encoder revision: 0x02050032
ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv1: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
ivtv1: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
total)
tuner 1-0061: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4))
ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
ivtv: ==================== END INIT IVTV ====================
So now I am confused.
>
> maybe your tuner settings are not correct. I had a similar problem when my
> card was set to the wrong tuner type. You could try to first check the
> current settings for both devices using command line tool from ivtv
>
> ivtvctl --a # (get all the current settings ....)
>
> [...]
> ioctl: VIDIOC_ENUMINPUT
> Input : 0
> Name : Tuner
> Type : 0x00000001
> Audioset: 0x00000003
> Tuner : 0x00000000
> Standard: 0x00000000000000FF ( PAL )
> Status : 0
> [...]
>
> and try to set them manually with the ivctl -u option (e.g. 0xff for
> pal...) and after that try to t to tune the channels using something like
>
> ivtv-tune -feurope-west -cE7
>
> and check with
>
> cat /dev/video[0,1] > /tmp/out.mpg (...open file in xine or vlc)
I did try this, but all I got was noise on each /dev/video1 and /dev/video0..
Steve
>
> wether you receive some correct frequencies. For details about ivtv when i
> set up my card i used the information from
> http://ivtvdriver.org/index.php/Howto
>
> Regards,
>
> weeny
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
More information about the mythtv-users
mailing list