[mythtv-users] Can't record analog from Hauppauge 2255

David Parker parker.david.a at gmail.com
Fri Jan 29 14:31:18 UTC 2016


I should have mentioned that this is on Debian Linux 8 (Jessie), 64-bit,
running a customized kernel due to the patch required to make the card
work.  I live in the US, and I have Time Warner Cable with a mix of analog
cable and QAM-256 digital channels.

Sorry for the omissions.

    - Dave

On Fri, Jan 29, 2016 at 9:26 AM, David Parker <parker.david.a at gmail.com>
wrote:

> Hello,
>
> 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:
>
> [    1.881004] CORE saa7164[0]: subsystem: 0070:f111, board: Hauppauge
> WinTV-HVR2255 [card=11,autodetected]
> [    1.881007] saa7164[0]/0: found at 0000:1f:00.0, rev: 129, irq: 19,
> latency: 0, mmio: 0xf0000000
> [    2.040398] saa7164_downloadfirmware() no first image
> [    2.040521] saa7164_downloadfirmware() Waiting for firmware upload
> (NXP7164-2010-04-01.1.fw)
> [    2.065490] saa7164_downloadfirmware() firmware read 3283792 bytes.
> [    2.065494] saa7164_downloadfirmware() firmware loaded.
> [    2.065505] saa7164_downloadfirmware() SecBootLoader.FileSize = 3283792
> [    2.065511] saa7164_downloadfirmware() FirmwareSize = 0x1fd6
> [    2.065513] saa7164_downloadfirmware() BSLSize = 0x0
> [    2.065514] saa7164_downloadfirmware() Reserved = 0x0
> [    2.065516] saa7164_downloadfirmware() Version = 0x1d21
> [    8.927313] saa7164_downloadimage() Image downloaded, booting...
> [    9.031422] saa7164_downloadimage() Image booted successfully.
> [   11.441843] saa7164_downloadimage() Image downloaded, booting...
> [   13.003417] saa7164_downloadimage() Image booted successfully.
> [   13.047220] saa7164[0]: Hauppauge eeprom: model=151061
> [   17.809558] DVB: registering new adapter (saa7164)
> [   17.809570] saa7164 0000:1f:00.0: DVB: registering adapter 0 frontend 0
> (LG Electronics LGDT3306A VSB/QAM Frontend)...
> [   22.543150] DVB: registering new adapter (saa7164)
> [   22.543161] saa7164 0000:1f:00.0: DVB: registering adapter 1 frontend 0
> (LG Electronics LGDT3306A VSB/QAM Frontend)...
> [   22.543964] saa7164[0]: registered device video0 [mpeg]
> [   22.772524] saa7164[0]: registered device video1 [mpeg]
> [   22.981854] saa7164[0]: registered device vbi0 [vbi]
> [   22.981958] saa7164[0]: registered device vbi1 [vbi]
>
> 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:
>
> TVRecEvent tv_rec.cpp:1568 (HandlePendingRecordings) - TVRec[1]:
> ASK_RECORDING 1 0 0 0
> TVRecEvent tv_rec.cpp:1051 (HandleStateChange) - TVRec[1]: Changing from
> None to RecordingOnly
> TVRecEvent recorders/v4lchannel.cpp:558 (SetInputAndFormat) -
> V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2)
> input_switch: 0 mode_switch: 1
> TVRecEvent recorders/v4lchannel.cpp:598 (SetInputAndFormat) -
> V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC)
>                         while setting format (v4l v2)
>                         eno: Invalid argument (22)
> TVRecEvent recorders/v4lchannel.cpp:558 (SetInputAndFormat) -
> V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC) (v4l v2)
> input_switch: 0 mode_switch: 1
> TVRecEvent recorders/v4lchannel.cpp:598 (SetInputAndFormat) -
> V4LChannel[1](/dev/video0): SetInputAndFormat(1, NTSC)
>                         while setting format (v4l v2)
>                         eno: Invalid argument (22)
> TVRecEvent recorders/v4lchannel.cpp:652 (SwitchToInput) -
> V4LChannel[1](/dev/video0): SetInputAndFormat() failed
> TVRecEvent tv_rec.cpp:3793 (TuningFrequency) - TVRec[1]: Failed to set
> channel to 13. Reverting to kState_None
> TVRecEvent tv_rec.cpp:1051 (HandleStateChange) - TVRec[1]: Changing from
> RecordingOnly to None
>
> Weird thing is, I can tune and record from the analog tuner just fine
> using other methods.  For example:
>
> $ ivtv-tune -d /dev/video0 -c 13 -t us-cable
> $ cat /dev/video0 > test.mpg
>
> That makes a recording just fine.  I'm totally stumped.  Any ideas?
>
> 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.
>
>     Thanks!
>     Dave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160129/3f2303e3/attachment.html>


More information about the mythtv-users mailing list