public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arthur Crosby Smith <arthursmith@lucent.com>
To: linux-kernel@vger.kernel.org
Subject: Lost Master control on MSI 645?
Date: Fri, 20 Feb 2004 08:43:18 -0600	[thread overview]
Message-ID: <40361D06.5050703@lucent.com> (raw)

I found that I lost the Master control on my mixer (alsamixer) with 2.6.3. I see
that an ac97_quirk (linux/sound/pci/intel8x0.c) had been added for an "MSI P4 ATX
645 Ultra" motherboard. I have an MSI 645E Max-U (MS-6547) (v2.1) Motherboard and
it seems to trigger this. The quirk tries to move the headphone output control to
the master control. Unfortunately, my motherboard doesn't have a headphone control
so this just removes my Master control. This patch checks to see if the headphone
control exists before removing the master control. With this patch, my Master
control shows up again...
  Art


--- orig/sound/pci/ac97/ac97_codec.c    2004-02-19 13:32:28.000000000 -0600
+++ linux/sound/pci/ac97/ac97_codec.c   2004-02-19 13:19:25.000000000 -0600
@@ -2112,6 +2112,7 @@ static int swap_headphone(ac97_t *ac97,
 {
        /* FIXME: error checks.. */
        if (remove_master) {
+               if (ctl_find(ac97,"Headphone Playback Switch") == NULL) return 0;
                snd_ac97_remove_ctl(ac97, "Master Playback Switch");
                snd_ac97_remove_ctl(ac97, "Master Playback Volume");
        } else {


                 reply	other threads:[~2004-02-20 14:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40361D06.5050703@lucent.com \
    --to=arthursmith@lucent.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox