[PATCH] [UBUNTU:sound/pci/ac97/] Enable audible sound through MSI S250 laptop speakers
crimsun at fungus.sh.nu
crimsun at fungus.sh.nu
Tue Oct 17 09:04:47 UTC 2006
From bed91140ac293848b197aedd7aee21e5b8ca0e0d Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Mon, 16 Oct 2006 16:25:37 -0400
Subject: [PATCH] [UBUNTU:sound/pci/ac97/] #42919: Enable audible sound through MSI S250 laptop speakers
UpstreamStatus: Added in upstream alsa-kernel hg changeset:
e7c80613b24f [http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=e7c80613b24f8db9f34dada3bb27d6d04480bbd6;style=raw]
References: Ubuntu: #42919
This patch enables audible sound on the MSI S250's speakers.
This commit is applicable to Dapper, Edgy, and Edgy+1 linux-source.
This commit closes Ubuntu: #42919.
Signed-off-by: Jerome Demange <jdemange at cict.fr>
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
sound/pci/ac97/ac97_patch.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 22f1820..23674b6 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -2213,7 +2213,8 @@ int patch_alc655(ac97_t * ac97)
if (ac97->subsystem_vendor == 0x1462 &&
(ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
ac97->subsystem_device == 0x0161 || /* LG K1 Express */
- ac97->subsystem_device == 0x0351)) /* MSI L725 laptop */
+ ac97->subsystem_device == 0x0351 || /* MSI L725 laptop */
+ ac97->subsystem_device == 0x0061)) /* MSI S250 laptop */
val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
else
val |= (1 << 1); /* Pin 47 is spdif input pin */
--
1.4.1
--
Daniel T. Chen crimsun at ubuntu.com
GPG key: 0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20061017/080d912a/attachment.sig>
More information about the kernel-team
mailing list