All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ron Cococcia <ron.cococcia@request.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: intel8x0 dual codec issue
Date: Thu, 24 Feb 2005 17:10:53 -0500	[thread overview]
Message-ID: <421E50ED.2000906@request.com> (raw)
In-Reply-To: <s5hoeerz9dv.wl@alsa2.suse.de>

Takashi Iwai wrote:

<snip>

> Given that overriding codecs with NCR becomes popular, it might be
> nice to have a module option to specify the codecs as bitmask.
> The below is a quick hack.

I finally got a chance to try out the patch.  It oopsed, but it was one
small change to make it work.  In intel8x0.c, in snd_intel8x0_hw_params,
near the bottom it tries to "Force SPDIF setting", but on codec[0],
instead of codec[chip->first_codec].  I made that small change and it
hasn't crashed yet.

One noticeable difference is in the mixer control.  All controls in the
mixer (alsamixer) are "Master 1", "PCM 1" (which is OK, I was seeing
this before, and it would also have "Master" for the primary codec).
The difference is that, besides having a "PCM 1" control, there is also
a "PCM" control.  amixer scontrols shows:

Simple mixer control 'Master',1
Simple mixer control 'Master Mono',1
Simple mixer control 'Headphone',1
Simple mixer control '3D Control - Center',1
Simple mixer control '3D Control - Depth',1
Simple mixer control '3D Control - Switch',1
Simple mixer control 'PCM',0
Simple mixer control 'PCM',1
Simple mixer control 'Line',1
Simple mixer control 'CD',1
Simple mixer control 'Mic Boost (+20dB)',1
Simple mixer control 'Mic Select',1
Simple mixer control 'Mic',1
Simple mixer control 'Video',1
Simple mixer control 'Phone',1
Simple mixer control 'IEC958',1
Simple mixer control 'PC Speaker',1
Simple mixer control 'Aux',1
Simple mixer control 'Mono Output Select',1
Simple mixer control 'Capture',1
Simple mixer control 'Mix',1
Simple mixer control 'Mix Mono',1
Simple mixer control 'External Amplifier',1

The "PCM" control limits are 0-255, where the "PCM 1" limits are 0-31
(normal).  Adjusting both affects the output levels.

Unfortunately, I am not versed well enough to figure out what is 
happening with this.  Any hint as to where I might look 
(pci/ac97/ac97_codec.c or similar)?

Thanks,
Ron



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

      parent reply	other threads:[~2005-02-24 22:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-08  4:43 intel8x0 dual codec issue Ron Cococcia
2005-02-10 17:27 ` Takashi Iwai
2005-02-10 19:16   ` Ron Cococcia
2005-02-11 10:19     ` Takashi Iwai
2005-02-11 16:30       ` Ron Cococcia
2005-02-14 15:05         ` Takashi Iwai
2005-02-24 22:10       ` Ron Cococcia [this message]

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=421E50ED.2000906@request.com \
    --to=ron.cococcia@request.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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.