All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mads Kiilerich <mads@kiilerich.com>
To: alsa-devel@alsa-project.org
Subject: Support for ALC662 on FUJITSU SIEMENS AMILO Li3710
Date: Sun, 26 Jul 2009 00:54:24 +0200	[thread overview]
Message-ID: <4A6B8D20.6070601@kiilerich.com> (raw)

On a friends FUJITSU SIEMENS AMILO Li3710 10601011427 sound didn't work 
with kernel-PAE-2.6.29.6-213.fc11.i686

Out of the box we get no sound and
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: setting latency timer to 64
hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:3507: autoconfig: line_outs=1 
(0x14/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3511: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3515: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3516: mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3524: inputs: mic=0x18, fmic=0x19, 
line=0x1a, fline=0x0, cd=0x0, aux=0x0

But with /etc/modprobe.d/local.conf (from 
http://ubuntuforums.org/archive/index.php/t-940689.html)
options snd-hda-intel model=3stack-dig
options snd-hda-intel single_cmd=1
options snd-hda-intel enable_msi=1

we get sound and
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
HDA Intel 0000:00:1b.0: irq 32 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
ALSA sound/pci/hda/hda_codec.c:2698: hda_codec: model '3stack-dig' is 
selected


I would like to have this fixed so Linux sound works on my friends 
machine without manual configuration.

After having read some documentation I assume that single_cmd and 
enable_msi perhaps shouldn't be needed. I will test that next time I get 
access to that machine.

HAL reports the sound card as 
/org/freedesktop/Hal/devices/pci_8086_293e, so should this patch be 
sufficient?

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e1563f4..0385353 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -16699,6 +16699,8 @@ static struct snd_pci_quirk alc662_cfg_tbl[] = {
                                         ALC662_3ST_6ch_DIG),
         SND_PCI_QUIRK_MASK(0x1854, 0xf000, 0x2000, "ASUS H13-200x",
                            ALC663_ASUS_H13),
+       SND_PCI_QUIRK(0x8086, 0x293e, "FUJITSU SIEMENS AMILO Li3710",
+                      ALC662_3ST_2ch_DIG),
         {}
  };

Untested and hard to test because I don't have direct access to the machine.

This issue was also reported on 
https://bugzilla.redhat.com/show_bug.cgi?id=487889

Please CC me.

/Mads

             reply	other threads:[~2009-07-25 22:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-25 22:54 Mads Kiilerich [this message]
2009-07-26  8:50 ` Support for ALC662 on FUJITSU SIEMENS AMILO Li3710 Takashi Iwai
2009-07-26 17:39   ` Mads Kiilerich
2009-07-27  6:14     ` Takashi Iwai
2009-07-27 10:04       ` Mads Kiilerich
2009-07-27 10:10         ` Takashi Iwai
2009-08-19 22:45           ` Mads Kiilerich
2009-08-20  6:28             ` 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=4A6B8D20.6070601@kiilerich.com \
    --to=mads@kiilerich.com \
    --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.