From: Takashi Iwai <tiwai@suse.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: [Fwd: Re: Linux 2.6.10-ac8] - Patch breaks audio report
Date: Thu, 13 Jan 2005 19:21:12 +0100 [thread overview]
Message-ID: <s5hfz15i413.wl@alsa2.suse.de> (raw)
In-Reply-To: <1105634190.4644.65.camel@localhost.localdomain>
At Thu, 13 Jan 2005 17:02:34 +0000,
Alan Cox wrote:
>
> On Iau, 2005-01-13 at 17:10, Takashi Iwai wrote:
> > He just needs to turn off "Headphone Jack Sense" mixer switch. That
> > resets the bit which was turned on by the patch.
> >
> > The bit was set since most of machines with this codec are laptops and
> > need this feature.
>
>
> Are you sure - I've been _deluged_ by complaints about audio breakage
> from this change ?
Hmm, I didn't know this hits so many people. At least, didn't get
complains on ALSA bugtracks.
The patch adds basically two controls to turn on/off bits 9 and 11 of
a JACK_SPDIF register on AD1981A/B. The only influenceable change is
that the bit 11 is turned on as default. Turning off via the control
must restore the same register state as previous version.
Maybe, it'd be safer not to touch this bit except for certain
machines? The additional patch is attached below.
Takashi
================================================================
Summary: [ALSA] Don't touch the HP sense bit as default
Disable the toggle of HP sense bit at the initialization since this
looks hitting many people.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
--- linux/sound/pci/ac97/ac97_patch.c 11 Jan 2005 15:28:11 -0000 1.69
+++ linux/sound/pci/ac97/ac97_patch.c 13 Jan 2005 18:17:12 -0000
@@ -1113,7 +1113,9 @@
ac97->build_ops = &patch_ad1981a_build_ops;
snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD198X_MSPLT, AC97_AD198X_MSPLT);
ac97->flags |= AC97_STEREO_MUTES;
+#if 0
snd_ac97_update_bits(ac97, AC97_AD_JACK_SPDIF, 1<<11, 1<<11); /* HP jack sense */
+#endif
return 0;
}
@@ -1144,7 +1146,9 @@
ac97->build_ops = &patch_ad1981b_build_ops;
snd_ac97_update_bits(ac97, AC97_AD_MISC, AC97_AD198X_MSPLT, AC97_AD198X_MSPLT);
ac97->flags |= AC97_STEREO_MUTES;
+#if 0
snd_ac97_update_bits(ac97, AC97_AD_JACK_SPDIF, 1<<11, 1<<11); /* HP jack sense */
+#endif
return 0;
}
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
next prev parent reply other threads:[~2005-01-13 18:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-10 18:28 [Fwd: Re: Linux 2.6.10-ac8] - Patch breaks audio report Alan Cox
2005-01-13 17:10 ` Takashi Iwai
2005-01-13 17:02 ` Alan Cox
2005-01-13 18:21 ` Takashi Iwai [this message]
2005-01-13 17:21 ` Alan Cox
2005-01-13 18:32 ` Takashi Iwai
2005-01-13 18:49 ` Takashi Iwai
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=s5hfz15i413.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=alsa-devel@alsa-project.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 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.