HVR-2250 Tuner stopped working

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
ubu_fester
Newcomer
Posts: 3
Joined: Mon Nov 30, 2015 9:39 pm
United States of America

HVR-2250 Tuner stopped working

Post by ubu_fester » Thu Apr 26, 2018 12:40 pm

I've had my dual tuner (HVR-2250) since 2009 when I first setup my mythtv box. Box runs 24/7, but few months ago the tuner just stopped working. I got the tuner to work again, but not sure if it was the rebooting or removing (then adding) the tuners from the backend that fixed it. Last week, the tuner stopped working again and while I seem to add it back to the BE, it still is not working. Here's my setup

Lubuntu 16.04
mythutil --version

Code: Select all

htpc@htpc:~$ mythutil --version
Please attach all output as a file in bug reports.
MythTV Version : v0.28.1-69-g5d9b8f1
MythTV Branch : fixes/0.28
Network Protocol : 88
Library API : 0.28.20161120-1
QT Version : 5.5.1
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
dmesg | grep saa7

Code: Select all

[    4.378644] saa7164 driver loaded
[    4.378793] CORE saa7164[0]: subsystem: 0070:8851, board: Hauppauge WinTV-HVR2250 [card=7,autodetected]
[    4.378795] saa7164[0]/0: found at 0000:02:00.0, rev: 129, irq: 17, latency: 0, mmio: 0xfc400000
[    4.583142] saa7164_downloadfirmware() no first image
[    4.583151] saa7164_downloadfirmware() Waiting for firmware upload (NXP7164-2010-03-10.1.fw)
[    4.705727] saa7164_downloadfirmware() firmware read 4019072 bytes.
[    4.705729] saa7164_downloadfirmware() firmware loaded.
[    4.705737] saa7164_downloadfirmware() SecBootLoader.FileSize = 4019072
[    4.705746] saa7164_downloadfirmware() FirmwareSize = 0x1fd6
[    4.705747] saa7164_downloadfirmware() BSLSize = 0x0
[    4.705747] saa7164_downloadfirmware() Reserved = 0x0
[    4.705748] saa7164_downloadfirmware() Version = 0x1661c00
[   11.322953] saa7164_downloadimage() Image downloaded, booting...
[   11.430946] saa7164_downloadimage() Image booted successfully.
[   14.442795] saa7164_downloadimage() Image downloaded, booting...
[   16.070848] saa7164_downloadimage() Image booted successfully.
[   16.119377] saa7164[0]: Hauppauge eeprom: model=88061
[   16.766482] dvbdev: DVB: registering new adapter (saa7164)
[   16.766486] saa7164 0000:02:00.0: DVB: registering adapter 1 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...
[   19.907835] dvbdev: DVB: registering new adapter (saa7164)
[   19.907839] saa7164 0000:02:00.0: DVB: registering adapter 2 frontend 0 (Samsung S5H1411 QAM/8VSB Frontend)...
[   19.943684] saa7164[0]: registered device video1 [mpeg]
[   20.172861] saa7164[0]: registered device video2 [mpeg]
[   20.384738] saa7164[0]: registered device vbi1 [vbi]
[   20.384856] saa7164[0]: registered device vbi2 [vbi]
dmesg | grep cx

Code: Select all

htpc@htpc:~$ dmesg | grep cx
[    4.490007] cx18:  Start initialization, version 1.5.1
[    4.490049] cx18-0: Initializing card 0
[    4.490051] cx18-0: Autodetected Hauppauge card
[    4.490217] cx18-0: Unreasonably low latency timer, setting to 64 (was 32)
[    4.490251] cx18-0: cx23418 revision 01010000 (B)
[    4.751286] cx18-0: Autodetected Hauppauge HVR-1600
[    4.751287] cx18-0: Simultaneous Digital and Analog TV capture supported
[    4.898573] cs5345 12-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[    4.910494] cx18-0: Registered device video0 for encoder MPEG (64 x 32.00 kB)
[    4.910495] dvbdev: DVB: registering new adapter (cx18)
[    4.971387] cx18 0000:03:05.0: DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...
[    4.971493] cx18-0: DVB Frontend registered
[    4.971494] cx18-0: Registered DVB adapter0 for TS (32 x 32.00 kB)
[    4.971530] cx18-0: Registered device video32 for encoder YUV (20 x 101.25 kB)
[    4.971563] cx18-0: Registered device vbi0 for encoder VBI (20 x 51984 bytes)
[    4.971642] cx18-0: Registered device video24 for encoder PCM audio (256 x 4.00 kB)
[    4.971674] cx18-0: Registered device radio0 for encoder radio
[    4.971675] cx18-0: Initialized card: Hauppauge HVR-1600
[    4.971702] cx18:  End initialization
[    4.974969] cx18-alsa: module loading...
[    5.132807] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[    5.304224] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
[    5.310558] cx18-0: FW version: 0.0.74.0 (Release 2007/03/12)
[    6.304449] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[    6.332109] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)
lspci -vv

Code: Select all

lspci -vv
02:00.0 Multimedia controller: Philips Semiconductors SAA7164 (rev 81)
    Subsystem: Hauppauge computer works Inc. WinTV HVR-2250
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 45
    Region 0: Memory at fc400000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at fc000000 (64-bit, non-prefetchable) [size=4M]
    Capabilities: <access denied>
    Kernel driver in use: saa7164
    Kernel modules: saa7164

03:05.0 Multimedia video controller: Conexant Systems, Inc. CX23418 Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast Audio Decoder
    Subsystem: Hauppauge computer works Inc. WinTV HVR-1600
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64 (500ns min, 50000ns max), Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 20
    Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
    Capabilities: <access denied>
    Kernel driver in use: cx18
    Kernel modules: cx18
Adapters

Code: Select all

htpc@htpc:/dev/dvb$ ls -l adapter0
total 0
crw-rw----+ 1 root video 212, 0 Apr 25 18:47 demux0
crw-rw----+ 1 root video 212, 1 Apr 25 18:47 dvr0
crw-rw----+ 1 root video 212, 2 Apr 25 18:47 frontend0
crw-rw----+ 1 root video 212, 3 Apr 25 18:47 net0
htpc@htpc:/dev/dvb$ ls -l adapter1
total 0
crw-rw----+ 1 root video 212, 5 Apr 25 18:47 demux0
crw-rw----+ 1 root video 212, 6 Apr 25 18:47 dvr0
crw-rw----+ 1 root video 212, 4 Apr 25 18:47 frontend0
crw-rw----+ 1 root video 212, 7 Apr 25 18:47 net0
htpc@htpc:/dev/dvb$ ls -l adapter2
total 0
crw-rw----+ 1 root video 212,  9 Apr 25 18:47 demux0
crw-rw----+ 1 root video 212, 10 Apr 25 18:47 dvr0
crw-rw----+ 1 root video 212,  8 Apr 25 18:47 frontend0
crw-rw----+ 1 root video 212, 11 Apr 25 18:47 net0
Normally, my status would show 6 encoders, 2 for each of my 3 tuners. But only the HVR-1600 is ready to record.
mythweb/status

Code: Select all

Encoder Status
Encoder 52 [ DVB : /dev/dvb/adapter0/frontend0 ] is local on htpc and is not recording.
Encoder 53 [ DVB : /dev/dvb/adapter0/frontend0 ] is local on htpc and is recording 'Designated Survivor' on WLS-HD. This recording is scheduled to end at 10:00 PM.

ubu_fester
Newcomer
Posts: 3
Joined: Mon Nov 30, 2015 9:39 pm
United States of America

Re: HVR-2250 Tuner stopped working

Post by ubu_fester » Thu Apr 26, 2018 2:04 pm

Here's the log:

Code: Select all

[size=50]
Apr 25 18:47:35 htpc mythbackend: mythbackend[1465]: I CoreContext mythtranslation.cpp:73 (load) Loading en_us translation for module mythfrontend
Apr 25 18:47:35 htpc mythbackend: mythbackend[1465]: N CoreContext main_helpers.cpp:597 (run_backend) MythBackend: Starting up as the master server.
Apr 25 18:47:35 htpc mythbackend: mythbackend[1465]: I LogForward loggingserver.cpp:295 (SyslogLogger) Added syslogging
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: W CoreContext recorders/dvbchannel.cpp:245 (Open) DVBChan[54](/dev/dvb/adapter1/frontend0): Opening DVB frontend device failed.#012#011#011#011eno: No such file or directory (2)
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext recorders/dvbchannel.cpp:250 (Open) DVBChan[54](/dev/dvb/adapter1/frontend0): Failed to open DVB frontend device due to fatal error or too many attempts.
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext recorders/channelbase.cpp:871 (CreateChannel) ChannelBase: CreateChannel() Error: Failed to open device /dev/dvb/adapter1/frontend0
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext main_helpers.cpp:202 (setupTVs) Problem with capture cards. Card 54 failed init
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: W CoreContext recorders/dvbchannel.cpp:245 (Open) DVBChan[55](/dev/dvb/adapter1/frontend0): Opening DVB frontend device failed.#012#011#011#011eno: No such file or directory (2)
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext recorders/dvbchannel.cpp:250 (Open) DVBChan[55](/dev/dvb/adapter1/frontend0): Failed to open DVB frontend device due to fatal error or too many attempts.
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext recorders/channelbase.cpp:871 (CreateChannel) ChannelBase: CreateChannel() Error: Failed to open device /dev/dvb/adapter1/frontend0
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext main_helpers.cpp:202 (setupTVs) Problem with capture cards. Card 55 failed init
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: W CoreContext recorders/dvbchannel.cpp:245 (Open) DVBChan[56](/dev/dvb/adapter2/frontend0): Opening DVB frontend device failed.#012#011#011#011eno: No such file or directory (2)
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext recorders/dvbchannel.cpp:250 (Open) DVBChan[56](/dev/dvb/adapter2/frontend0): Failed to open DVB frontend device due to fatal error or too many attempts.
Apr 25 18:47:36 htpc mythbackend: mythbackend[1465]: E CoreContext recorders/channelbase.cpp:871 (CreateChannel) ChannelBase: CreateChannel() Error: Failed to open device /dev/dvb/adapter2/frontend0

[/size]
Attachments
backend log 042518_ubu_fester.txt
(35 KiB) Downloaded 4 times

ubu_fester
Newcomer
Posts: 3
Joined: Mon Nov 30, 2015 9:39 pm
United States of America

Re: HVR-2250 Tuner stopped working

Post by ubu_fester » Sun Apr 29, 2018 3:39 pm

OK, I have another clue to my issue. Last night I ran the Lubuntu system updater, which updated all software on the htpc including the latest 0.28.2 update (I was on 0.28.1). After this update my mythweb page showed ALL THREE tuners -- which was great. However, the system updater wanted my to reboot the system to finish all the updates. Once I rebooted, my tuners went back down to 1. Now I'm back to my original issue.

A number of months ago, I rebuilt the PC from 14.04 to 16.04 LTS. Could this be related to some of the changes that 16.04 introduced? Something about the backend starting before the firmware for the 2250's are completed? I saw some posts regarding this (or similar to this) -- but I don't know what I would need to do to fix this.

Thanks in advance!

ubu_fester

Post Reply