<html><div class="gmail_extra"><div class="gmail_quote">Thanks Greg and Dan for the good feedback.<br /> <blockquote><p>Looks like you might have mythtv set to use the wrong video input on the 1212 possibly?</p></blockquote></div></div><blockquote><div class="gmail_extra"> </div><div class="gmail_extra"><span style="font-family:monospace,monospace">MariaDB [mythconverg]> select videodevice,cardtype,inputname,displayname from capturecard where cardtype='HDPVR';<br />+-------------+----------+-----------+-------------+<br />| videodevice | cardtype | inputname | displayname |<br />+-------------+----------+-----------+-------------+<br />| /dev/video0 | HDPVR    | <b><span style="background-color:rgb(243,243,243)">Component</span></b> | HDPVR_0     |</span></div><div class="gmail_extra"><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">| /dev/video1 | HDPVR    | <b><span style="background-color:rgb(243,243,243)">Component</span></b> | HDPVR_1     |</span></span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">+-------------+----------+-----------+-------------+</span></div><div class="gmail_extra"> </div><div class="gmail_extra">Also,</div><div class="gmail_extra"> </div><div class="gmail_extra"><span style="font-family:monospace,monospace">for i in /sys/module/hdpvr/parameters/* ; do </span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">echo -ne "### $i\n$(cat ${i})\n" ; done</span></div></blockquote><div class="gmail_extra"> </div><blockquote><div class="gmail_extra"><span style="font-family:arial,helvetica,sans-serif">Barring either of those being wrong, I have actually had USB2 timing issues from using a USB cable greater than 10' - believe it or not!</span></div><p><br />Also, make sure you have configured the correct audio input in mythtv-setup. I have found that if I do not, recordings fail (which makes no logical sense, but...)<br /><br />And I have this line sitting in my /etc/rc.d/rc.local file:<br /><br />  /usr/bin/v4l2-ctl --device /dev/video0 --set-ctrl=audio_encoding=4<br /><br />which sets the audio encoding mode to something other than the default (though it's been so long I don't recall what the value means.)</p></blockquote><br />Inputs are rear component (through a HDFURY-2) and toslink SPDIF, direct from my STB.  I didn't have much time this morning, but am pretty sure that my inputs are set correctly. The system device is configured directly from modules-load.d/hdpvr.conf, where both inputs are set directly.  After doing this, the module loads at bootup and the device is ready and accessible at /dev/video0 . Before writing the conf file, I had to power-toggle the hdpvr to load the module.<br /><br />Having done this, I don't need to manipulate anything using v4l2-ctl.<br />Output from<em> </em><span style="font-family: inherit; font-size: inherit;"><em>v4l2-ctl -d /dev/video0 --all</em> was in my original mail and confirms the iinputs.</span><br /><br />I had a quick look at the database this morning, which seems to confirm the systemwide settings:<br /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;"> select videodevice,cardtype,inputname,displayname from capturecard where cardtype='HDPVR';</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><em><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">+-------------+----------+-----------+--------------------+</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">| videodevice | cardtype | inputname | displayname        |</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">+-------------+----------+-----------+--------------------+</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">| /dev/video0 | HDPVR    | Component | Altibox-via-HD_PVR |<br />From Dan's mail, tyhat just leaves me with the </span></em><br /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">While the sys/modula/paramaters are:<br />  for i in /sys/module/hdpvr/parameters/* ; do</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">> echo -ne "### $i\n$(cat ${i})\n" ; done</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">### /sys/module/hdpvr/parameters/boost_audio</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">N</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">### /sys/module/hdpvr/parameters/default_audio_input</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">2</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">### /sys/module/hdpvr/parameters/default_video_input</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">0</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">### /sys/module/hdpvr/parameters/hdpvr_debug</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><span style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;">0</span><br style="color: rgb(38, 43, 51); font-family: sans-serif; font-size: 10.6667px;" /><br />From Dan's mail, that just leaves the audio encoding as a possible problem and I will take a look at that this evening.<br /><br />What about buffering. Is it possible that there is an issue writing to some temporary space?<br /><br />Can anything else be gleaned from the logging line:<br /><em><span style="color: rgb(38, 43, 51); font-family: "Lucida Grande", "Bitstream VeraSans", Tahoma, sans-serif; font-size: 10.6667px;">" DeviceReadBuffer recorders/DeviceReadBuffer.cpp:545 (Poll) DevRdB(/dev/video0): Poll giving up after 2500ms"</span></em><br />or could I turn on more verbosity to try to identify where there is a problem?<br /><br />This does seem to be MythTV related as catting the device works as it should.<br /><br />BR.<br /><br />--Marius--<br /> </html>