Project

General

Profile

Hauppauge HVR-1300 (Conexant CX22702) Hybrid Analog/DVB-T - adding Freeview muxes manually fails

Added by Epony Mous almost 12 years ago

Hi all,

First off - well done guys for creating a really nice TV server. I'm especially liking the clean web frontend!

As a past MythTV/Mythweb user I'm used to awful interfaces so this is a refreshing change :).

I've got two cards in my system:

Conexant CX24116/CX24118 (Hauppauge Nova-S2 DVB-S2) tuned with all the Freesat channels - great! :D

Conexant CX22702 DVB-T (Hauppauge HVR-1300):

Hardware
Device path:
/dev/dvb/adapter0
Device name:
Conexant CX22702 DVB-T
Host connection:
PCI
Frequency range:
177000 kHz - 858000 kHz, in steps of 166 kHz
Status
Currently tuned to:
522,000 kHz 
Services:
0
Muxes:
1
Muxes awaiting initial scan:
1

No matter how many times I've tried adding the muxes manually for the second card, I get no channels and the signal quality goes from 100% gradually down to 0%.

I am using http://www.ukfree.tv/txdetail.php?a=TL204494 to get my mux information as well as Prof Yaffle's guide located at: https://www.lonelycoder.com/redmine/boards/4/topics/5726

I know this card is supported by v4l and it did previously work with MythTV so I'm wondering if I'm missing something?

I'm using TvHeadend 3.2 from the Gentoo ebuild.

Please bear with me as I'm new to TvHeadend but am really liking what I see so far :)

Thanks in advance.


Replies (10)

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Prof Yaffle almost 12 years ago

At the risk of winning myself a badge for being "The Mux Guy" ... :)

What have you got in /home/hts/.hts/tvheadend/dvbmuxes, anything? There should be a directory named in the format:

_dev_dvb_adapter<n>_<adapter_name_without_spaces>

So I'd expect you to have something named ...adapter0_Conexant_CX22702_DVB-T or maybe adapter1.

In that directory, you should find one file per mux as you create them, each suffixed with the appropriate frequency. If they're not there, you can maybe try creating them by hand and then restarting tvheadend. You can also check the directory permissions to make sure that the user as which you're running tvh has the correct permissions to create these files, which is what should happen as you save the mux information (unlikely if your DVB-S2 card is working okay, but worth a check anyway).

Have a look at this post, see if it's any use: https://www.lonelycoder.com/redmine/boards/5/topics/7141

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

Thanks for your reply :)

When I add a 522Mhz MUX using the web interface I get the following file created:

/etc/tvheadend/dvbmuxes/_dev_dvb_adapter0_Conexant_CX22702_DVB_T/_dev_dvb_adapter0_Conexant_CX22702_DVB_T522000000
{
  "quality": 100,
  "enabled": 1, 
  "status": "Faint signal",
  "transportstreamid": 65535,
  "frequency": 522000000,
  "initialscan": 0, 
  "bandwidth": "8MHz",
  "constellation": "AUTO",
  "transmission_mode": "AUTO",
  "guard_interval": "AUTO",
  "hierarchy": "AUTO",
  "fec_hi": "AUTO",
  "fec_lo": "AUTO" 
}

Gentoo appears not to use /home/hts but instead keeps all the configuration in /etc/tvheadend.

The permissions are set like this: tvheadend:video

Still no channels for me :(

There are similar files for my Freesat card which is working fine.

Thanks.

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Prof Yaffle almost 12 years ago

Hmmm... <scratches head, strokes beard>...

  • What kernel are you on? There seemed to be some issues with specific kernels, particularly [[pre-3.0]]
  • Did you genuinely just stop Myth and start tvheadend, or did anything else change? Are you on the same RF cable, for example?
  • Have you looked at seeing whether VLC or mplayer works, so you can eliminate whether it is actually TVH?
  • Might you have to boost the signal? Attenuate it?

Random thoughts, I know, but I'm just really suspicious of that "Faint signal"...

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

Thanks for the suggestions Prof Yaffle.

So I'm on: 3.5.7-gentoo - fairly recent.

Yeah I litrerally shutdown MythTV and started up TVHeadend. The cable and hardware all remain unchanged and if I start MythTV now I can access DVB-T channels just fine.

I've not tested mplayer or VLC since the channels work in MythTV.

I might try seeing what the tuning data is in mythtv and entering that exactly into TVHeadend - see what happens. I did a full scan with MythTV rather than entering muxes (I think).

I'll report back. :)

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

So after checking the MythTV database I used the same values in there (no change from before) to add the 498MHz MUX:

/etc/tvheadend/dvbmuxes/_dev_dvb_adapter0_Conexant_CX22702_DVB_T/_dev_dvb_adapter0_Conexant_CX22702_DVB_T498000000
{
  "quality": 0, 
  "enabled": 1, 
  "status": "Bad signal",
  "transportstreamid": 65535,
  "frequency": 498000000,
  "initialscan": 0, 
  "bandwidth": "8MHz",
  "constellation": "AUTO",
  "transmission_mode": "AUTO",
  "guard_interval": "1/32",
  "hierarchy": "NONE",
  "fec_hi": "AUTO",
  "fec_lo": "AUTO" 
}

I'm afraid it's still not finding any channels. I've checked dmesg and /var/log/messages but can't see anything obvious.

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

Oh how weird - it just started working when I did:

cat /dev/video0

in a terminal!

I can't see how that would have made a difference though :S

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Prof Yaffle almost 12 years ago

Odd. I can only assume that something was locking that file (is Myth starting a daemon at startup that could be grabbing the adapter first? Could that process not be exiting cleanly?). Not obvious why cat-ing that file would kick it into life, though.

Glad you have it working, all the same!

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

Yeah I'm thinking something like that - very odd though. Hmmm, I did explicitly set the guard interval to 1/32 maybe that had something to do with it?

Thanks again for your help!! :)

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

Aww, I spoke too soon. I've lost my channels again :(. Basically I tried to view them and it was just blank.
I tried to re-add the mux with every combinaion of settings and I just get no channels.

The channels are coming through fine with MythTV as a reference and my DVB-S card is also fine.

Here's the output of the log in debug mode:

Jan 20 23:38:59 [DEBUG]:dvb: "/dev/dvb/adapter0" tuning to "522,000 kHz" (Autoscan)
Jan 20 23:39:04 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Bad signal
Jan 20 23:39:05 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Constant FEC
Jan 20 23:39:06 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Faint signal
Jan 20 23:39:08 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Bad signal
Jan 20 23:39:09 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Constant FEC
Jan 20 23:39:10 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Faint signal
Jan 20 23:39:14 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Bad signal
Jan 20 23:39:15 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Bursty FEC
Jan 20 23:39:16 [DEBUG]:dvb: "522,000 kHz" on adapter "Conexant CX22702 DVB-T", status changed to Faint signal

All six muxes are like this and don't find any services.

I can't figure out why it was working before.

I've also checked dmesg again for any issues but didn't find anything obvious. The catting of /dev/video0 didn't do anything either so I think that was unrelated.

Thanks.

RE: Conexant CX22702 DVB-T - adding Freeview muxes manually - Added by Epony Mous almost 12 years ago

Hmm, I think I'll raise this as a bug as I've managed to tune successfully using dvbscan and the exact same settings above. I'm now thinking this may be due to the fact that this is a hybrid card with both an analog and digital tuner on it.

Issue 1560

    (1-10/10)