[linux-dvb] HVR-1600 - No audio

Andy Walls awalls at radix.net
Mon Aug 4 03:47:06 CEST 2008

On Sun, 2008-08-03 at 14:28 -0700, Brian Steele wrote:
> On Sun, Aug 3, 2008 at 12:20 PM, Andy Walls <awalls at radix.net> 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.
> Unfortunately it doesn't.  This is the output of v4l2-ctl --log-status
> with your update after make, make install, make unload, modprobe cx18,
> tuning a channel, and doing three test captures.

Well, let's collect some debug data about how the tuner is getting set
up and what happens on channel change.  (Because it's either tuner
commands not working, or cx18-av setup or register changes not working.)

Add lines like these to /etc/modprobe.conf

options tuner show_i2c=1 debug=2
options tuner-simple debug=1
options tda8290 debug=1
options tda9887 debug=2

   (and/or debug options for whatever other tuner modules your
    system loads for the cx18)

Then do

# modprobe -r cx18 tda9887 tda8290 tuner-simple tuner
# modprobe cx18 debug=83      (<---- warn, info, i2c, ioctl)

I'd be interested in all the messages when the cx18 module initializes
(not just the ones prefixed with "cx18") and the messages that occur
when you change channels.

Depending on what shows up in the debug for the tuner, I may ask for
more information about the state of particular cx23418 registers.
Please compile v4l2-dbg found under v4l-dvb/v4l2-apps/utils, if you have
a chance.

> > BTW, Did the cx18 driver ever work properly for tuner audio for you
> > before?
> >
> I bought the card on July 27 from a friend who has had it sitting in
> his closet for a year and a half.  This is the first time anybody has
> ever installed it in a system and tried to get it working.  I'm
> starting to wonder if maybe I have a defective card.  I suppose I
> could try installing it in a windows system and see if I can get
> audio.

I got your message about the card working in a Windows machine.  So we
know you don't have a bad card.


More information about the linux-dvb mailing list