[mythtv-users] Hard time with Hauppauge Nexus-S setup

Haidenthaler Klaus k.haidenthaler at softpoint.at
Wed Sep 17 11:13:47 EDT 2003


Hello list,

sorry for the late reply but after running apt-get update yesterday
something got really messed up 
(rpm -qa segfaulting, rm -rf OOPSed etc) so i decided to start from
scratch...


> Here's probably the easiest method right now.
> 
> Run through setup as though you have an analogue card.  Run 
> "Mythfilldatabase --manual" and let it grab your analogue 
> channel data (tell it channum's like 1, 2, 3, etc for 
> convenience unless you really do have an analogue card and 
> want to try that first)

hmm, for one thing i've to set the system-date to 2003-08-31 or earlier
to get any data at all from xmltv (tv_grab_de), anyone knows what's the
matter with www.szing.at/xmltv/?

However, let's replay my setup from the beginning:

Installed Redhat 9 (Shrike) / Workstation
Upgraded the Machine to a stock Kernel 2.4.22 (otherwise 'make insmod'
of /usr/src/linuxtv-dvb-1.0.0 would horribly die on me; for good measure
also removed /usr/include/linux and replaced it with a symlink to
/usr/src/linux-2.4.22/include/linux )

for testing purposes ran szap (TV connected to the output of the nexus)
and fooled around a bit ;-)
configured the included remote (via apps/av7110_loadkeys, checked with
evtest)
ran xawtv (works, changing channels with szap, but NO sound?)
dl'ed & built mplayer 1.0pre1-3.2.2 ('mplayer dvb://' isn't supported
with at-rpm's version 0.90) -> works with sound
rpm -ivh'ed all needed packages for mythbackend / mythtv (mythtv-* are
all of version 0.11)

ran mythtvsetup

=> General 
	-> TV-Format: 			PAL-M
	-> VBI-Format: 			None
	-> Channel-Frequency: 		europe-west
	-> Time-offset f. xmltv: 	auto
	-> Master-Backend-override:	ticked


=> Capture Card
	-> Video device:			/dev/video0
	-> VBI device:			/dev/vbi	(?)
	-> Audio device:			/dev/dsp
	-> Audio smaple rate limit:	none
	-> Default input:			DVB
	-> Card type:			Standard V4L or MJPEG Card (*see
below)

=> Video sources
	-> Source name:			xmltv1
	-> Listings grabber:		Germany/Austria

=> Input connections
	/dev/video0 -> xmltv1
 	  -> External change command:	empty
	  -> Preset tuner to channel:	empty
	  -> Starting channel:		3

> 
> Then go into the database and look at cardinputs, channels 
> and channels_dvb
> 
> Cardinputs (I think it is this table) needs to be tweaked so 
> that it says type DVB instead of V4L and set DVB-type field to be "S".
The table seems to be 'capturecard' since it's the only table with a
field called 'cardtype' and also has a field called 'DVB-Type';
-> changed as said above
(*) after changing these values, mythtvsetup shows "Card type: DVB" in
"Capture Card"

changed date to 2003-08-31 
ran mythfilldatabase --manual
added two channels (skipped the rest), so table 'channel' shows these
rows (blanks added for clarity)

"1";"1";"1";"1";"3sat";"3SAT";;"0";NULL;"3sat.szing.at";"0";"32768";"327
68";"32768";"32768"
"2";"2";"2";"1";"ard" ;"ARD" ;;"0";NULL;"ard.szing.at"
;"0";"32768";"32768";"32768";"32768"

> Then go into the channels_dvb table and setup matching 
> entries for every row in channels_dvb
> 
> To work out what the params are run a "scan" command to get a 
> .szap channels.conf file (or perhaps you have one already), 
> or use your vdr style channels.conf.  This gives you all the 
> info you need to setup channels.conf
here the fun begins ;-)

'channel_dvb' is initially empty, layout is:

chanid, listingid ,pids, freq, pol, symbol_rate, tone, diseqc,
inversion, bandwidth, hp_code_rate, lp_code_rate, modulation,
transmission_mode, guard_interval, hierarchy

the lines in ~/.szap/channels.conf for '3SAT' and 'ARD' would be:
---
3sat           :11954:h:0:27500:210:220:1:28007
ARD "Das Erste":11603:h:1:27500:172:173:1:606
---

the lines in vdr's channels.conf are:
---
3sat           :11954:h:S19.2E:27500:210:220:230:0:28007:0:0:0
ARD            :11837:h:S19.2E:27500:101:102:104:0:28106:0:0:0
---
d'uh. anyone to help me out here?
i'm perfectly willing to hack together a shellscript to do this
automatically once i've figured out what is what.


> Tip: Setup just one or two to start with!
i'm at a loss already with only one line *g* 

> Please feel free to come back with specific questions.  Check 
> the list for everything with DVB in the subject though.  
> There is a lot of stuff, especially about 4-5 months ago.

did so but i'm having a hard time to decide if the workarounds mentioned
there are still necessary (ex not in the source yet) or if it's already
been taken care of...


> Ed W
thx for your fast answer!

regards

Klaus Haidenthaler



More information about the mythtv-users mailing list