[OLPC-devel] OLPC running on-line to ask for sound card advise

supat at supat.eu.org supat at supat.eu.org
Thu Jul 6 14:51:55 EDT 2006


Thank you so much.
I see the patch at 
ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-bk-2004-03-14.patch.gz

and see your messaage below:

=========

Signed-off-by: Jaya Kumar <jayakumar.alsa@???>
Signed-off-by: Daniel T Chen <crimsun@???>

---

  sound/pci/ac97/ac97_patch.c | 8 +++++++-
  1 files changed, 7 insertions(+), 1 deletions(-)

729119562b443f4f2dac4c25fa26beebdfe6faef
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 72f1a51..212fa20 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1365,6 +1365,12 @@ static void ad18xx_resume(ac97_t *ac97)

      snd_ac97_restore_iec958(ac97);
  }
+
+static void ad1888_resume(ac97_t *ac97)
+{
+    ad18xx_resume(ac97);
+    snd_ac97_write_cache(ac97, AC97_CODEC_CLASS_REV, 0x8080);
+}
  #endif

  int patch_ad1819(ac97_t * ac97)
@@ -1843,7 +1849,7 @@ static struct snd_ac97_build_ops patch_a
      .build_post_spdif = patch_ad198x_post_spdif,
      .build_specific = patch_ad1888_specific,
  #ifdef CONFIG_PM
-    .resume = ad18xx_resume,
+    .resume = ad1888_resume,
  #endif
      .update_jacks = ad1888_update_jacks,
  };

-- 
1.1.3


=====================

Patch above did not work automatically on kernel 2.6.17 but I patch it by 
hand and hope it will work.

Thank you.

supat


On Thu, 6 Jul 2006, Jaya Kumar wrote:

> On 7/7/06, supat at supat.eu.org <supat at supat.eu.org> wrote:
>> > Unfortunately mixer on sound card was not found :(
>> >
>> > (rexima: couldn't open mixer device.)
>> >
>> > I run the system using SLAX and modified kernel and modules myself.
>> >
>
> zxc at slax:~$ dmesg|grep -i failed
> <snip>
> mixer failed
> cs5535audio: probe of 0000:00:0f.3 failed with error -12
>
> The kernel you are running appears to not have the AC97 patches needed
> to account for AD1888. Those patches are in the ALSA tree and I hope
> in the Fedora kernel as well.
>
> Thanks,
> jaya
>



More information about the Devel mailing list