[linux-dvb] HVR-1600 - No audio

Andy Walls awalls at radix.net
Mon Aug 4 04:35:52 CEST 2008

On Mon, 2008-08-04 at 02:44 +0200, hermann pitton wrote:
> Hi Andy,
> Am Sonntag, den 03.08.2008, 15:20 -0400 schrieb Andy Walls:
> > On Sun, 2008-08-03 at 10:49 -0700, Brian Steele wrote:

> > So we'll go with the tried and true axiom of "the bug was caused by the
> > last thing I changed".
> > 
> > On Jul 23 & 25 I made some changes to the cx18-av-audio.c file to fix
> > the 32 kHz sample rate, lock the Video PLL and Audio PLL together, and
> > fine tune the video sample rate PLL values.
> > 
> > I've just put in a small change at 
> > 
> > http://linuxtv.org/hg/~awalls/v4l-dvb
> > 
> > to back out the part of the change that locked the video PLL & the audio
> > PLL together for both tuner and line in audio.
> > 
> > See if that change makes things work for you.
> > 
> > 
> > BTW, Did the cx18 driver ever work properly for tuner audio for you
> > before?
> > 
> > > > (Also note that the first analog capture after modprobe cx18 will not

> without looking up any of your code, kick my ass if needed,
> but this should be all still on some tuner 57 ?

I would never kick the ass of anyone whom is offering help or advice. :)

I have two HVR-1600's: one with radio and one without.  I can't check
the one without radio right now (that computer is down for other

For my HVR-1600 without radio, IIRC it has a TCL M2523_5N_E just like
Brian's HVR-1600.  I remember the driver initialization logging saying
that it would treat it like a TCL_2002 (or something like that).  I know
that it worked for me just a few days ago.

Looking at linux/include/media/tuner.h, the only TCL 2002 tuners are
type numbers 50 or 55.  Type 55 is for a PAL tuner, which an HVR-1600
should not have, AFAIK.

> All have been around I can think about, but it still has no tda988x
> config something in tuner-types.c, and you need it for sure, maybe you
> have it in the cards entry? All other will fail.

tveeprom.c has the answer.

$ cd v4l-dvb/linux/drivers/media/video
$ grep 2523 tveeprom.c
        { TUNER_TCL_2002N,              "TCL M2523_5N_E"},   <-------
        { TUNER_TCL_2002MB,             "TCL M2523_3DB_E"},
        { TUNER_ABSENT,                 "TCL M2523_3DI_E"},
        { TUNER_ABSENT,                 "TCL M2523_5NH_E"},
        { TUNER_ABSENT,                 "TCL M2523_3DBH_E"},
        { TUNER_ABSENT,                 "TCL M2523_3DIH_E"},

$ cd v4l-dvb/linux/include/media
$ egrep '(2002)|(2523)' tuner.h
#define TUNER_TCL_2002N                 50     <--------------
#define TUNER_TCL_2002MB                55      /* Hauppauge PVR-150 PAL */

I'm not quite sure I understand everything you were trying to say, but I
agree with your line of thinking.  It's most likely a tuner problem.

Does a TCL M2523_5N_E have a TDA988x?  I know the TDA9887 can
demodulate FM radio. Brian's HVR-1600 doesn't have FM radio according to
tveeeprom, so are you thinking a TDA988[56] is in the TCL M2523 5N E? 

"struct tuner_params tuner_tcl_2002n_params[]" in
doesn't have ".has_tda9887 = 1" set.

> Cheers,
> Hermann


If you have any other thoughts/idea, please let me know.


More information about the linux-dvb mailing list