On Tue, Nov 01, 2005 at 03:39:55PM +0100, Christian Iversen wrote:
> On Sunday 30 October 2005 22:41, Christian Iversen wrote:
> 
> Can anybody help me here?

well, drawing upon my 8 hours or so of experience with this card... :-)


> > (any idea why the PVR is on 0000:02, when _everything_ else is on 0000:00
> > ?)

i'd guess the card has it's own PCI-PCI bridge onboard?  'lspci -t' should
draw the two decoders on their own subtree if so.



> > dmesg gives:
> >
> > ----------
> >
> > ivtv:  ==================== START INIT IVTV ====================
> > ivtv:  version 0.4.0 (tagged release) loading
> > ivtv:  Linux version: 2.6.13-zephyr preempt K7 REGPARM 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.
> > ivtv0: Autodetected WinTV PVR 150 card (iTVC16 based)
> > ACPI: PCI Interrupt 0000:02:08.0[A] -> GSI 18 (level, low) -> IRQ 21
> > tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
> > TEA5767 detected.
> > ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=60]
> > tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
> > type set to 62 (Philips TEA5767HN FM Radio)
> > tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
> > ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> > cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> > cx25840 1-0044: loaded /lib/modules/HcwMakoA.ROM firmware (14264 bytes)
> > ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
> > wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
> > ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
> > tda9885/6/7: (ivtv) chip found @ 0x86
> > ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
> > tveeprom: Second (radio) tuner idx 101
> > tveeprom: ivtv version
> > tveeprom: Hauppauge: model = 23659, rev = D491, serial# = 8093206
> > 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,

mine come up NTSC, since i'm in NA.



> > 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: Detected a TEA5767 radio tuner. Enabling radio support.
> > cdrom: open failed.

i don't recall seeing cdrom output in my dmesg, but i'm away from my machine
and working from memory here...


> > ivtv0: loading /lib/modules/ivtv-fw-enc.bin
> > ivtv0 warning: Encoder mailbox not found
> > ivtv0 warning: Decoder mailbox not found
> > ivtv0: Error locating firmware.
> > ivtv0: Error -12 on initialization
> > ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:02:08.0 failed with error

it's interesting that the HcwMakoA loaded, but not the encoder.... are the
file permissions/ownership the same on each file?

try throwing a copy of fw-enc into /lib/firmware as well... maybe it's
getting confused about the hardcoded vs. fwloader paths?




> > -12 ivtv0: Autodetected WinTV PVR 150 card (iTVC16 based)

everything below this is prefixed with ivtv0, probably because of the
failed fw-enc load.  on mine, the enc firmware loads, and everything
below is prefixed with ivtv1.



> > ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 19 (level, low) -> IRQ 17
> > tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
> > ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> > cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> > cdrom: open failed.
> > cx25840 1-0044: loaded /lib/modules/HcwMakoA.ROM firmware (14264 bytes)
> > ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
> > wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
> > ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
> > tda9885/6/7: (ivtv) chip found @ 0x86
> > ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
> > tveeprom: Second (radio) tuner idx 101
> > tveeprom: ivtv version
> > tveeprom: Hauppauge: model = 23659, rev = D491, serial# = 8093206
> > 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 second unit of a PVR500
> > ivtv0: Correcting tveeprom data: no radio present on second unit
> > ivtv0: loading /lib/modules/ivtv-fw-enc.bin

and yet here, the fw loads!  not at all sure why this one would work, but the
first time it fails!


> > 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)
> > tuner: type set to 56 (Philips PAL/SECAM multi (FQ1216AME MK4)) by ivtv i2c
> > driver #0
> > ivtv0: Initialized WinTV PVR 500 (unit #2), card #0
> > ivtv:  ====================  END INIT IVTV  ====================
> >
> > ----------
> >
> > these lines worry me:
> >
> > ivtv0 warning: Encoder mailbox not found
> > ivtv0 warning: Decoder mailbox not found
> > ivtv0: Error locating firmware.
> > ivtv0: Error -12 on initialization
> > ivtv-iTVC15_16_mpg2_encoder_card: probe of 0000:02:08.0 failed with error
> > -12
> >
> > it seems that something fails, yet I can still watch television on at least
> > one head. 

the fwloaded on the second unit, so yes you should get one head active.



> But maybe this error message is not the real problem?

the only thing i can see wrong is that the fw fails to load on the first head.
since the fm radio is only hooked up on the first unit, you probably don't
have any luck using ivtv-radio either then?





> > 1) Is there any important difference between the regular version and the
> > MCE version? - i.e, are they both supported?

mine's an MCE.



> > 2) Shouldn't the two heads on the PVR500 register as video0 and video1? I
> > currently only get video0 (+ 24/32)

yes, they should.  your first unit fails to load the fw, so the second unit
assumes the video0 identity.  on my system, my DVB-S card takes video0 and
the two units get video1 and video2.

so what does ivtv-detect say about all this?




> > 3) Is it possible to use one or both heads as plain YUV grabbers? Is that
> > what video24/32 is for? I can't get it to work. Here's how it fails:
> >
> > ioctl(6, VIDIOC_REQBUFS or VT_DISALLOCATE, 0xbfb841d0) = -1 EINVAL (Invalid
> > argument)
> >
> > (I get now that video24 has RAW audio. But what's video32 for then?)

according to ivtv-detect, once of them is a YUV grabber and the other one
puts out PCM audio data.

i have not been able to use the YUV output with myth yet, because the v4l2
capabilities for the card do not appear to include V4L2_CAP_STREAMING, which
is apparently important to have.  haven't played with the PCM output yet.





> >
> > 4) How come the card seems to "stop" or go into some kind of idle mode when
> > not used for a while? For instance, if I haven't watched anything on it in
> > a days time or so, I can do this:
> >
> > $ ivtv-tune -f831.25
> > /dev/video0: 831.250 MHz
> >
> > No signal it seems. Indeed, mplayer /dev/video0 gives 100% black frames,
> > without sound. If I do
> >
> > # modprobe -r ivtv && modprobe ivtv
> > $ ivtv-tune -f831.25
> > /dev/video0: 831.250 MHz  (Signal Detected)
> >
> > It reports that there IS a signal on the very same frequency, and mplayer
> > gives a pretty good picture with sound and perfect sync.
> >
> > Isn't that some kind of error?

i'd guess it's a power saving mode of some kind.  tuners suck up quite a bit
of juice, at least for DVB-S.  i know on my DVB-S card, the instant you stop
the tuning program, it shuts down the front end completely.  you have to
keep dvb-tune running which you watch.  maybe this is something similar?





> > 5) What are the possibilities for using transcode to further compress the
> > stream, perhaps into mpeg4? I'm having trouble finding an input plugin that
> > can grok the video and audio delivered by the PVR500 card.

not sure, i'm wondering about that myself.  i was hoping to get the YUV capture
working, because MPEG2->MPEG4 is probably going to look pretty crappy.




> > 6) Is it correct that the DNR filter either does nothing much if
> > dnr_temporal is low, or creates weird artefacts if dnr_temporal is high?
> > Shouldn't it do some sort of smoothing?

no idea :-)



> >
> > Thanks for reading the whole mail :-)
> 
> -- 
> Regards,
> Christian Iversen
> 
> _______________________________________________
> ivtv-devel mailing list
> ivtv-devel@ivtvdriver.org
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to