<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.&nbsp; 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 &lt;awalls@md.metrocast.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> Jarod Wilson &lt;jarod@wilsonet.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> Greg Fruth &lt;gf20613@yahoo.com&gt;; Discussion about MythTV &lt;mythtv-users@mythtv.org&gt;; Gary Buhrmaster &lt;gary.buhrmaster@gmail.com&gt;; 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>&gt; On May 12, 2011, at 12:49 AM, Greg Fruth wrote:<br>&gt; <br>&gt; &gt; Thanks, Gary, the suggestion to use dd=/dev/video0 is brilliant! I had forgotten about low-level<br>&gt; &gt; troubleshooting, since the card had been working properly for 5+ years.<br>&gt; &gt; <br>&gt; &gt; You're absolutely right, the audio has the same problem when using dd=/dev/video0, so it's not a<br>&gt; &gt; MythTV problem. The dmesg errors look like:<br>&gt; &gt; <br>&gt; &gt; [ 1911.814182] ivtv0: Audio has died (Encoder OK) : ivtv_serialized_open<br>&gt; &gt; [ 1911.919083] ivtv0: Decoder has died : ivtv_serialized_open<br>&gt; &gt; [ 1911.919090] ivtv0: Detected in ivtv_serialized_open that firmware had failed - Reloading<br>&gt; &gt; [ 1912.686864] ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)<br>&gt; &gt; [ 1912.711139] ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)<br>&gt; &gt; [
 1913.001059] ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)<br>&gt; &gt; [ 1913.111809] ivtv0: Firmware restart okay<br>&gt; &gt; <br>&gt; &gt; These messages appear to be associated with the time I restart dd=/dev/video, not with the time that<br>&gt; &gt; the audio dies. There's doesn't appear to be a message printed when the audio dies. Googling these<br>&gt; &gt; errors <br>&gt; <br>&gt; I'd ask the ivtv driver maintainer, he may know for sure whether<br>&gt; 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.&nbsp; It is entirely<br>possible that this unit in the chip is failing while the other are still<br>OK.<br><br>&nbsp;&nbsp;&nbsp; $ cat /dev/video0 &gt; /dev/null &amp;<br>&nbsp;&nbsp;&nbsp; $ aplay -f dat &lt; /dev/video24<br><br>Will let you hear the uncompressed PCM audio that the CX23415
 is<br>receiving from the audio digitizer chip.&nbsp; (Assuming the card is still<br>set for 48 ksps.)<br><br>&gt; (Something this low-level is really no longer mythtv-related, it<br>&gt; v4l/dvb driver-related, and better discussed on the linux-media mailing<br>&gt; 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>&nbsp;&nbsp;&nbsp; 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.&nbsp; 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.&nbsp; 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>&nbsp;&nbsp;&nbsp; $ ivtv-tune -t us-cable -c 5&nbsp; (channel 5 is just an example)<br>&nbsp;&nbsp;&nbsp; $ cat /dev/video0 &gt; foo1.mpg<br>&nbsp;&nbsp;&nbsp; ^C<br>&nbsp;&nbsp;&nbsp; $ cat /dev/video0 &gt; foo2.mpg<br>&nbsp;&nbsp;&nbsp; ^C<br>&nbsp;&nbsp;&nbsp; $ aplay -f dat &lt; /dev/video24<br>&nbsp;&nbsp;&nbsp; ^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.&nbsp; 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?&nbsp; That means your card is about 8 years old.&nbsp; A dyning<br>PVR-350 is likely.&nbsp; Probably time for a new card.<br><br><br>Regards,<br>Andy<br><br><br><br></div></div></blockquote></div></div></body></html>