summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2007-06-05 20:12:40 +0000
committerariff <ariff@FreeBSD.org>2007-06-05 20:12:40 +0000
commit719ee4cc9c4797b4ea22a0d6ad4228f9f4e412ff (patch)
tree111b2b75c1e2db9a252c508d7ddf2b1bfb02b6d0 /sys
parent7dc94bf582c34bed1bb958dc5d89bf318be62a25 (diff)
downloadFreeBSD-src-719ee4cc9c4797b4ea22a0d6ad4228f9f4e412ff.zip
FreeBSD-src-719ee4cc9c4797b4ea22a0d6ad4228f9f4e412ff.tar.gz
Fix (enable) phone out for laptops with ALC655, specifically
for Amilo Pro V2055. PR: kern/113101 Submitted by: konrad@egipt-medytacje.pl MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pcm/ac97_patch.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/ac97_patch.c b/sys/dev/sound/pcm/ac97_patch.c
index 1db0a98..ae4c153 100644
--- a/sys/dev/sound/pcm/ac97_patch.c
+++ b/sys/dev/sound/pcm/ac97_patch.c
@@ -91,6 +91,15 @@ void alc655_patch(struct ac97_info* codec)
case 0x03511462: /* MSI L725 */
ac97_wrcd(codec, 0x7a, ac97_rdcd(codec, 0x7a) & 0xfffd);
break;
+ case 0x10ca1734:
+ /*
+ * Amilo Pro V2055 with ALC655 has phone out by default
+ * disabled (surround on), leaving us only with internal
+ * speakers. This should really go to mixer. We write the
+ * Data Flow Control reg.
+ */
+ ac97_wrcd(codec, 0x6a, ac97_rdcd(codec, 0x6a) | 0x0001);
+ break;
default:
break;
}
OpenPOWER on IntegriCloud