<div dir="ltr">Hello,<div><br></div><div>I'm setting up a new MythTV box using a Hauppauge WinTV-HVR 2255 as the tuner.  I know support for the card is sketchy right now, but I did manage to get it all working (with the exception of the IR receiver, still no support for that).  The card appears in dmesg as follows:</div><div><br></div><div>[    1.881004] CORE saa7164[0]: subsystem: 0070:f111, board: Hauppauge WinTV-HVR2255 [card=11,autodetected]</div><div>[    1.881007] saa7164[0]/0: found at 0000:1f:00.0, rev: 129, irq: 19, latency: 0, mmio: 0xf0000000</div><div>[    2.040398] saa7164_downloadfirmware() no first image</div><div>[    2.040521] saa7164_downloadfirmware() Waiting for firmware upload (NXP7164-2010-04-01.1.fw)</div><div>[    2.065490] saa7164_downloadfirmware() firmware read 3283792 bytes.</div><div>[    2.065494] saa7164_downloadfirmware() firmware loaded.</div><div>[    2.065505] saa7164_downloadfirmware() SecBootLoader.FileSize = 3283792</div><div>[    2.065511] saa7164_downloadfirmware() FirmwareSize = 0x1fd6</div><div>[    2.065513] saa7164_downloadfirmware() BSLSize = 0x0</div><div>[    2.065514] saa7164_downloadfirmware() Reserved = 0x0</div><div>[    2.065516] saa7164_downloadfirmware() Version = 0x1d21</div><div>[    8.927313] saa7164_downloadimage() Image downloaded, booting...</div><div>[    9.031422] saa7164_downloadimage() Image booted successfully.</div><div>[   11.441843] saa7164_downloadimage() Image downloaded, booting...</div><div>[   13.003417] saa7164_downloadimage() Image booted successfully.</div><div>[   13.047220] saa7164[0]: Hauppauge eeprom: model=151061</div><div>[   17.809558] DVB: registering new adapter (saa7164)</div><div>[   17.809570] saa7164 0000:1f:00.0: DVB: registering adapter 0 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...</div><div>[   22.543150] DVB: registering new adapter (saa7164)</div><div>[   22.543161] saa7164 0000:1f:00.0: DVB: registering adapter 1 frontend 0 (LG Electronics LGDT3306A VSB/QAM Frontend)...</div><div>[   22.543964] saa7164[0]: registered device video0 [mpeg]</div><div>[   22.772524] saa7164[0]: registered device video1 [mpeg]</div><div>[   22.981854] saa7164[0]: registered device vbi0 [vbi]</div><div>[   22.981958] saa7164[0]: registered device vbi1 [vbi]</div><div><br></div><div>The two analog tuners are /dev/video0 and /dev/video1, and the two HD tuners can be accessed via /dev/dvb/adapter0/frontend0 and /dev/dvb/adapter1/frontend0.  I set up these tuners in MythTV and configured their inputs, and all seems fine.  In my tests, I was able to record HD channels without any issues.  However, I can't get it to record analog programs.  When I try, I get a recording error in the GUI, and these messages in the MythTV backend log:</div><div><br></div><div><div>TVRecEvent tv_rec.cpp:1568 (HandlePendingRecordings) - TVRec[1]: ASK_RECORDING 1 0 0 0</div><div>TVRecEvent tv_rec.cpp:1051 (HandleStateChange) - TVRec[1]: Changing from None to RecordingOnly</div><div>TVRecEvent recorders/v4lchannel.cpp:558 (SetInputAndFormat) - V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 1<br></div><div>TVRecEvent recorders/v4lchannel.cpp:598 (SetInputAndFormat) - V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC)</div><div>                        while setting format (v4l v2)</div><div>                        eno: Invalid argument (22)</div><div>TVRecEvent recorders/v4lchannel.cpp:558 (SetInputAndFormat) - V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2) input_switch: 0 mode_switch: 1</div><div>TVRecEvent recorders/v4lchannel.cpp:598 (SetInputAndFormat) - V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC)</div><div>                        while setting format (v4l v2)</div><div>                        eno: Invalid argument (22)</div><div>TVRecEvent recorders/v4lchannel.cpp:652 (SwitchToInput) - V4LChannel[1](/dev/video0): SetInputAndFormat() failed</div><div>TVRecEvent tv_rec.cpp:3793 (TuningFrequency) - TVRec[1]: Failed to set channel to 13. Reverting to kState_None</div><div>TVRecEvent tv_rec.cpp:1051 (HandleStateChange) - TVRec[1]: Changing from RecordingOnly to None</div></div><div><br></div><div>Weird thing is, I can tune and record from the analog tuner just fine using other methods.  For example:</div><div><br></div><div>$ ivtv-tune -d /dev/video0 -c 13 -t us-cable<br></div><div>$ cat /dev/video0 > test.mpg</div><div><br></div><div>That makes a recording just fine.  I'm totally stumped.  Any ideas?</div><div><br></div><div>Also, and perhaps unrelated, is the fact that the card has 4 tuners (2 analog and 2 digital) but MythTV always says it has 6.  I set up all 4 tuners in mythtv-setup, it only shows the 4 tuners, but when I try to exit mythtv-setup it tells me that the starting channel for tuners 5 and 6 are "Please select ...".  But those tuners aren't there!  "Tuner Status" in the MythTV frontend also shows 6 tuners.  I have deleted and re-added all of the tuners over and over again.  Any thoughts on that will be most welcomed, too.</div><div><br></div><div>    Thanks!</div><div>    Dave</div></div>