<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Andy,</span></div><div><span><br></span></div><div><span>Thanks for the help! I get the same bad results when I do the "aplay" test you suggested.</span></div><div><span><br></span></div><div><span>The mainboard is only 6 months old so there's very little dust in it. I haven't been very happy with</span></div><div><span>the reliability of this mainboard but it's easier to swap out the tuner card than the mainboard, so</span></div><div><span> so I'm going to pursue that option. Plus, I kind of wanted to get a new HD-capable tuner card</span></div><div><span>anyway.</span></div><div><span><br></span></div><div><span>Thanks to all the posters for their suggestions!<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family:
arial,helvetica,sans-serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Arial"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Andy Walls <awalls@md.metrocast.net><br><b><span style="font-weight: bold;">To:</span></b> Jarod Wilson <jarod@wilsonet.com><br><b><span style="font-weight: bold;">Cc:</span></b> Greg Fruth <gf20613@yahoo.com>; Discussion about MythTV <mythtv-users@mythtv.org>; Gary Buhrmaster <gary.buhrmaster@gmail.com>; ivtv-users@ivtvdriver.org<br><b><span style="font-weight: bold;">Sent:</span></b> Friday, May 13, 2011 5:03 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mythtv-users] PVR-350 audio quits while recording (Fedora)<br></font><br>
On Thu, 2011-05-12 at 14:16 -0400, Jarod Wilson wrote:<br>> On May 12, 2011, at 12:49 AM, Greg Fruth wrote:<br>> <br>> > Thanks, Gary, the suggestion to use dd=/dev/video0 is brilliant! I had forgotten about low-level<br>> > troubleshooting, since the card had been working properly for 5+ years.<br>> > <br>> > You're absolutely right, the audio has the same problem when using dd=/dev/video0, so it's not a<br>> > MythTV problem. The dmesg errors look like:<br>> > <br>> > [ 1911.814182] ivtv0: Audio has died (Encoder OK) : ivtv_serialized_open<br>> > [ 1911.919083] ivtv0: Decoder has died : ivtv_serialized_open<br>> > [ 1911.919090] ivtv0: Detected in ivtv_serialized_open that firmware had failed - Reloading<br>> > [ 1912.686864] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)<br>> > [ 1912.711139] ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)<br>> > [
1913.001059] ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)<br>> > [ 1913.111809] ivtv0: Firmware restart okay<br>> > <br>> > These messages appear to be associated with the time I restart dd=/dev/video, not with the time that<br>> > the audio dies. There's doesn't appear to be a message printed when the audio dies. Googling these<br>> > errors <br>> <br>> I'd ask the ivtv driver maintainer, he may know for sure whether<br>> or not this is an indication the card is toast. Andy? :)<br><br>The CX23415 chip does have multiple processing units internal to it, one<br>of which is for processing and compressing audio. It is entirely<br>possible that this unit in the chip is failing while the other are still<br>OK.<br><br> $ cat /dev/video0 > /dev/null &<br> $ aplay -f dat < /dev/video24<br><br>Will let you hear the uncompressed PCM audio that the CX23415
is<br>receiving from the audio digitizer chip. (Assuming the card is still<br>set for 48 ksps.)<br><br>> (Something this low-level is really no longer mythtv-related, it<br>> v4l/dvb driver-related, and better discussed on the linux-media mailing<br>> list, but hey).<br><br>For ivtv and cx18 card specific issues, you'll find a focused group of<br>users on the ivtv-users list:<br><br> http://ivtvdriver.org/mailman/listinfo/ivtv-users<br><br>[Crud, I just noticed the main <a target="_blank" href="http://ivtvdriver.org">ivtvdriver.org</a> wiki site is down. :( ]<br><br>After reading this thread:<br><br>http://www.gossamer-threads.com/lists/mythtv/users/479775?page=last<br><br>I'll speculate you have one of these problems:<br><br>1. Dust in the PCI slots<br>2. A failing PCI card in the system (PVR-350 or some other card)<br>3. A failing motherboard PCI chipset<br>4. A bad disk image (firmware images, or kernel)<br><br>The
standard PCI bus is a _shared_ I/O bus, which uses reflected wave<br>switching for signal levels. A problem with one card/slot can cause a<br>problem for all other cards/slots.<br><br>Corrective actions you can take:<br><br>1. Remove all PCI cards, blow the dust out of *all* the slots, reinstall<br>all the cards, and retest.<br><br>2. Remove all the PCI cards other than the PVR-350, including any plug<br>in video graphics adapters, network adapters, etc. Bring the system up<br>to single user mode (so no X windows) and perform some test captures to<br>a few files:<br><br> $ ivtv-tune -t us-cable -c 5 (channel 5 is just an example)<br> $ cat /dev/video0 > foo1.mpg<br> ^C<br> $ cat /dev/video0 > foo2.mpg<br> ^C<br> $ aplay -f dat < /dev/video24<br> ^C<br><br>If you can check the files by moving them to
another machine via USB<br>drive, do so.<br><br>If the files are fine. Add back one other PCI card and test again.<br>Repeat.<br><br><br>3. Test the card in other system or motherboards.<br><br><br>4. Now that you've wasted 10 hours, and assuming you gross a piddling<br>$10/hour for time that you work, and assuming your leisure time is much<br>more valuable, you can give up after realizing that a new HVR-1600 can<br>be purchased for about $100. ;)<br><br>Fedora Core 4? That means your card is about 8 years old. A dyning<br>PVR-350 is likely. Probably time for a new card.<br><br><br>Regards,<br>Andy<br><br><br><br></div></div></blockquote></div></div></body></html>