All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: nitinm76@yahoo.com
Cc: alsa-devel@alsa-project.org
Subject: Re: WM9712 Not Giving output
Date: Fri, 1 Aug 2008 20:23:38 +0200	[thread overview]
Message-ID: <200808012023.38353.marek.vasut@gmail.com> (raw)
In-Reply-To: <673245.97031.qm@web50106.mail.re2.yahoo.com>

Dne Friday 01 of August 2008 19:59:44 Nitin Mahajan napsal(a):
> HI!
>
> --- On Fri, 1/8/08, Marek Vasut <marek.vasut@gmail.com> wrote:
> > From: Marek Vasut <marek.vasut@gmail.com>
> > Subject: Re: [alsa-devel] WM9712 Not Giving output
> > To: alsa-devel@alsa-project.org, nitinm76@yahoo.com
> > Date: Friday, 1 August, 2008, 11:10 PM
> > Dne Friday 01 of August 2008 19:27:24 Nitin Mahajan
> >
> > napsal(a):
> > > HI!
> > >
> > > --- On Fri, 1/8/08, Mark Brown
> >
> > <broonie@opensource.wolfsonmicro.com> wrote:
> > > > From: Mark Brown
> >
> > <broonie@opensource.wolfsonmicro.com>
> >
> > > > Subject: Re: [alsa-devel] WM9712 Not Giving
> >
> > output
> >
> > > > To: "Nitin Mahajan"
> >
> > <nitinm76@yahoo.com>
> >
> > > > Cc: alsa-devel@alsa-project.org,
> >
> > "Manuel" <mano@roarinelk.homelinux.net>
> >
> > > > Date: Friday, 1 August, 2008, 9:32 PM
> > > > On Fri, Aug 01, 2008 at 08:31:03AM -0700, Nitin
> >
> > Mahajan
> >
> > > > wrote:
> > > > > I am using a WM9712 codec chip with the AC97
> > > >
> > > > controller on AMD AU1250.
> > > >
> > > > > Linux kernel version 2.6.24.2.
> > > > >
> > > > > On AC97 controller's side, I can see the
> >
> > DMA
> >
> > > > happening on the host
> > > >
> > > > > processor, interrupts also coming.
> > > >
> > > > This suggests a mixer configuration problem.
> > > >
> > > > > On the mixer front, I did unmute and set the
> >
> > vol to
> >
> > > > max for PCM and
> > > >
> > > > > Headphone. I did not find any Master control
> >
> > with this
> >
> > > > chip. Isn't
> > > >
> > > > > there any master control with this chip?
> > > >
> > > > No.
> > >
> > > If Master is not there, logically are the enough for
> >
> > playback?
> >
> > > amixer set 'PCM' 255 unmute
> > > amixer set 'Headphone' 255 unmute
> > >
> > > > > Can some one please throw more light on the
> >
> > Mixer
> >
> > > > part, specific to
> > > >
> > > > > this chip.
> > > > >
> > > > > What Mixer controls do I need to set with
> >
> > what values
> >
> > > > for playback and
> > > >
> > > > > capture respectively with this chip?
> > > >
> > > > Check the configuration of the Left HP Mixer and
> >
> > Right HP
> >
> > > > Mixer PCM
> > > > Playback switches.  These should be enabled in
> >
> > order to
> >
> > > > play back via
> > > > the headphone output.
> > >
> > > While writing the reply , the hardware is not with me.
> > > But I wil check these tommorow.
> > >
> > > > If you still can't get audio output with that
> >
> > please
> >
> > > > send a copy of your
> > > > mixer configuration - run the command
> > > >
> > > > 	alsactl store -f mixer-config
> > > >
> > > > to write a file 'mixer-config' with this
> > > > information in it.  Please
> > > > also check your kernel log from when the driver
> >
> > is loaded
> >
> > > > and when you
> > > > configure the mixer.
> > > >
> > > > There is documentation of the audio paths
> >
> > supported by the
> >
> > > > chip in the
> > >
> > > I saw the figure in  the datasheet, its quite
> >
> > explainatory, as to which
> >
> > > registers are involved in which path.
> > >
> > > > datasheet, available from:
> > > >
> > > > 	http://www.wolfsonmicro.com/products/WM9712/
> > > >
> > > >
> > > > and you may find the audio route mappings in the
> >
> > WM9712
> >
> > > > driver useful to
> > > > refer to - the 'audio_map' table in the
> >
> > driver
> >
> > > > which shows how the parts
> > > > of the device are connected.  The format is {
> >
> > destination,
> >
> > > > control,
> > > > source }.
> > >
> > > Thanks and regards
> > >
> > > -Nitin
> > >
> > > Send instant messages to your online friends
> >
> > http://uk.messenger.yahoo.com
> >
> > > _______________________________________________
> > > Alsa-devel mailing list
> > > Alsa-devel@alsa-project.org
> >
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> >
> > Hi,
> > try searching the mailing list for "[PATCH] wm9712
> > mono mixer". That may help
> > you.
>
> Interesting, do you mean that "Right HP Mixer" and "Left HP Mixer" should
> be "Right Mixer" and "Left Mixer" ?
>
> thanks and regards
>
> -Nitin

yea, and you should see alsa warning about it in kernel log as well.
>
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com

This message wasnt CCed to alsa-devel, re-adding.

       reply	other threads:[~2008-08-01 18:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <673245.97031.qm@web50106.mail.re2.yahoo.com>
2008-08-01 18:23 ` Marek Vasut [this message]
2008-08-01 18:26   ` WM9712 Not Giving output Nitin Mahajan
2008-08-01 18:37     ` Mark Brown
2008-08-02  9:46       ` Nitin Mahajan
2008-08-04 12:12         ` Mark Brown
2008-08-06  3:06           ` Nitin Mahajan
2008-08-06  9:26             ` Mark Brown
2008-08-06 10:04               ` Nitin Mahajan
2008-08-07 11:14                 ` Mark Brown
2008-08-01 15:31 Nitin Mahajan
2008-08-01 16:02 ` Mark Brown
2008-08-01 17:27   ` Nitin Mahajan
2008-08-01 17:40     ` Marek Vasut
2008-08-01 18:01     ` Mark Brown
2008-08-01 18:10       ` Nitin Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808012023.38353.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=nitinm76@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.