[mythtv-users] DVB scan problems

Preston Crow pc-mythtv05a at crowcastle.net
Tue Jul 19 16:53:48 EDT 2005


I have my HD-2000 card working with the DVB drivers in the 2.6.12.2
kernel (I'm picking up broadcast ATSC in the Boston area).  Now I just
need to get Myth working with it.  I'm running the latest subversion
sources.

When I try to do a scan in mythtv-setup, it creates a bunch of new
transports, but no channels.  If I try again on existing transports, it
tells me:

2005-07-19 11:26:36.189 DVB#0 DVB SI Table Parser Started
2005-07-19 11:26:36.191 DVB#0 Using DVB card 0, with frontend Oren OR51211 VSB Frontend.
2005-07-19 11:26:36.273 DVB#0 ERROR - Could not find capture card for transport 55
2005-07-19 11:26:36.288 DVB#0 ERROR - Could not find capture card for transport 56
2005-07-19 11:26:36.306 DVB#0 ERROR - Could not find capture card for transport 57

Any thoughts?

--PC

==================================================================================

For reference, here's how I got this far, using Gentoo Linux:

Here's what I've done to get MythTV working with my HD-2000 card using
the DVB drivers (along with my PVR-250 card):

Get the right kernel sources:

% emerge =vanilla-sources-2.6.12.2

Get other stuff that is required

% emerge media-tv/linuxtv-dvb-apps hotplug

Configure and compile kernel with built-in support for DVB.

% mkdir /lib/firmware

Download dvb-fe-or51211.fw into /lib/firmware (This is for HD-2000, different for others; Google to find it).

Boot new kernel.

Re-install modules:

% emerge nvidia-kernel ivtv lirc

Reboot or manually install modules

% mkdir ~/.azap

http://www.rsmas.miami.edu/personal/angel/mythtv/make_atsc_chanconf.cgi

Copy results into ~/.azap/channels.conf

For each entry, change the last five zeros to 28615
	example: WGBX:647028615:8VSB:0:0

% azap wgbx

Hit ctrl-C after you get a lock
	using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
	tuning to 647028615 Hz
	video pid 0x0061, audio pid 0x0064
	status 1f | signal dae0 | snr 0014 | ber ffffffda | unc ffffffda | FE_HAS_LOCK
	status 1f | signal d438 | snr 0018 | ber ffffffda | unc ffffffda | FE_HAS_LOCK
	status 1f | signal d78c | snr 0016 | ber ffffffda | unc ffffffda | FE_HAS_LOCK

% dvbscan -c
	using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
	service is running. Channel number: 44:2. Name: 'WGBH World'
	service is running. Channel number: 44:3. Name: 'WGBH Create'
	service is running. Channel number: 44:4. Name: 'WGBH Kids'
	service is running. Channel number: 44:1. Name: 'WGBX-DTV 44'
	dumping lists (4 services)
	WGBX-DTV 44              (0x0006) 00: PCR == V   V 0x0061 A 0x0064 (eng) 0x0065 (eng) 0x0064 (eng) 0x0065 (eng)
	WGBH Kids                (0x0005) 00: PCR == V   V 0x0051 A 0x0054 (eng) 0x0055 (eng) 0x0054 (eng) 0x0055 (eng)
	WGBH Create              (0x0004) 00: PCR == V   V 0x0041 A 0x0044 (eng) 0x0045 (eng) 0x0044 (eng) 0x0045 (eng)
	WGBH World               (0x0003) 00: PCR == V   V 0x0031 A 0x0034 (eng) 0x0035 (eng) 0x0034 (eng) 0x0035 (eng)
	Done.

Replace the :0:0 with the V and A values, after converting them to decimal.
Make a separate line for each subchannel:
	WGBX:647028615:8VSB:97:100
	WGBX-world:647028615:8VSB:49:52
	WGBX-create:647028615:8VSB:65:68
	WGBX-kids:647028615:8VSB:81:84

Using two consoles:

% azap -r wgdx-world  # Note the -r

% cat /dev/dvb/adapter0/dvr0 > ~/test.mpg

After 10 seconds, hit control-C to terminate the cat, then the azap processes.

% mplayer ~/test/mpg

You should see whatever was just showing on that channel.


ATSC HDTV is now working from the command line.

Now to get it to work in MythTV.

Edit /etc/make.conf to include:
	USE="lirc dvb ..."
	PORTDIR_OVERLAY="/usr/local/portage"
	LIRC_OPTS="--with-driver=hauppauge" # for PVR-x50 remote

% emerge mythtv-svn

% mythtv-setup

Define a capture card for the HD-2000 from the Capture Cards screen.

Card type: Digital Video Broadcast card (DVB)
DVB Card Number: 0
Card Name: Oren OR151211 VSB Frontend
Card Type: ATSC
DiSEqC Input Type: (DVB-S): Single LNB / Input
Default input: DVBInput

In the Advanced Configuration Recording Options, I set "Open DVB card
on demand" to allow playing with the command line tools while Myth is
running.

I already have a video source from when I was using the old
Video4Linux driver, and I connected the new card to the old lineup.

Remove any old junk in the dtv_multiplex table in mythconverg:
	delete from dtv_multiplex

Using the Channel Editor, do a full scan for the DVB card.  There are a
bunch of "Failed to tune" and "Timeout Scanning Channel" messages.




More information about the mythtv-users mailing list