[PATCH] [UBUNTU:sound/pci/ac97/] Fix inaudible sound for LG K1 Express
crimsun at fungus.sh.nu
crimsun at fungus.sh.nu
Thu Aug 17 06:14:34 UTC 2006
From f809066008f1c68d2d83f010ba0bb141d7b351a3 Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Thu, 17 Aug 2006 00:43:29 -0400
Subject: [PATCH] [UBUNTU:sound/pci/ac97/] Fix inaudible sound for LG K1 Express
UpstreamStatus: Added in upstream alsa-kernel hg changeset:
3afd242c5c58 [http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=3afd242c5c581478432b044e193e400553d8b6fc;style=raw]
Enable sound output on the LG K1 Express.
Suitable for application to both Dapper and Edgy linux-source.
Signed-off-by: Magnus Sandin <magnus at sandin.cx>
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 75cd5cd..fc55584 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -2211,7 +2211,8 @@ int patch_alc655(ac97_t * ac97)
val &= ~(1 << 1); /* Pin 47 is spdif input pin */
else { /* ALC655 */
if (ac97->subsystem_vendor == 0x1462 &&
- ac97->subsystem_device == 0x0131) /* MSI S270 laptop */
+ (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
+ ac97->subsystem_device == 0x0161)) /* LG K1 Express */
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/20060816/1d740179/attachment.sig>
More information about the kernel-team
mailing list