* [PATCH] Re: [Alsa-user] Hercules Gametheater XP (cs46xx)
[not found] ` <3E4F8839.9070701@dsl.pipex.com>
@ 2003-02-16 14:33 ` Benny Sjöstrand
2003-02-17 10:15 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Benny Sjöstrand @ 2003-02-16 14:33 UTC (permalink / raw)
To: Johan Groth; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
> Sorry, but latest CVS does not work. Sound is still very distorted.
> CVS from 2002-12-09 12:00 works well though, which is what I'm using
> now :) It is using version 1.37 alsa-kernel/pci/cs46xx/cs46xx_lib.cc.
Current CVS still seems to be broken. The hercules_init(...) function
will reset the EGPIO's to default state turning of the amplifier. This
patch changes the initialization order calling amplifier_ctrl(...) after
mixer_init.
/Benny
[-- Attachment #2: cs46xx.patch --]
[-- Type: text/plain, Size: 554 bytes --]
--- cs46xx_lib.c.orig 2003-02-16 15:28:21.000000000 +0100
+++ cs46xx_lib.c 2003-02-16 15:28:34.000000000 +0100
@@ -2516,9 +2516,6 @@
strcpy(id.name, "External Amplifier Power Down");
chip->eapd_switch = snd_ctl_find_id(chip->card, &id);
- /* turn on amplifier */
- chip->amplifier_ctrl(chip, 1);
-
#ifdef CONFIG_SND_CS46XX_NEW_DSP
/* do soundcard specific mixer setup */
if (chip->mixer_init) {
@@ -2526,6 +2523,9 @@
chip->mixer_init(chip);
}
#endif
+
+ /* turn on amplifier */
+ chip->amplifier_ctrl(chip, 1);
return 0;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Re: [Alsa-user] Hercules Gametheater XP (cs46xx)
2003-02-16 14:33 ` [PATCH] Re: [Alsa-user] Hercules Gametheater XP (cs46xx) Benny Sjöstrand
@ 2003-02-17 10:15 ` Takashi Iwai
2003-02-17 22:29 ` Christian Esken
0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2003-02-17 10:15 UTC (permalink / raw)
To: Benny Sjöstrand; +Cc: Johan Groth, alsa-devel
At Sun, 16 Feb 2003 15:33:38 +0100,
Benny Sjöstrand wrote:
>
> > Sorry, but latest CVS does not work. Sound is still very distorted.
> > CVS from 2002-12-09 12:00 works well though, which is what I'm using
> > now :) It is using version 1.37 alsa-kernel/pci/cs46xx/cs46xx_lib.cc.
>
> Current CVS still seems to be broken. The hercules_init(...) function
> will reset the EGPIO's to default state turning of the amplifier. This
> patch changes the initialization order calling amplifier_ctrl(...) after
> mixer_init.
thanks, applied to cvs.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Re: [Alsa-user] Hercules Gametheater XP (cs46xx)
2003-02-17 10:15 ` Takashi Iwai
@ 2003-02-17 22:29 ` Christian Esken
0 siblings, 0 replies; 3+ messages in thread
From: Christian Esken @ 2003-02-17 22:29 UTC (permalink / raw)
To: alsa-devel
Am Monday 17 February 2003 11:15 schrieb Takashi Iwai:
> At Sun, 16 Feb 2003 15:33:38 +0100,
>
> Benny Sjöstrand wrote:
> > > Sorry, but latest CVS does not work. Sound is still very distorted.
> > > CVS from 2002-12-09 12:00 works well though, which is what I'm using
> > > now :) It is using version 1.37 alsa-kernel/pci/cs46xx/cs46xx_lib.cc.
> >
> > Current CVS still seems to be broken. The hercules_init(...) function
> > will reset the EGPIO's to default state turning of the amplifier. This
> > patch changes the initialization order calling amplifier_ctrl(...) after
> > mixer_init.
>
> thanks, applied to cvs.
Confirmed - it works on my Hercules GT XP !!! Yippey. :-)))))
This ultimately fixes the "distortion problem" that has been there for
me (and others) all the time since after 0.9.0rc2.
A very very very big thanks from me too, Benny. You have made me
very happy today. This calls for a drink. :-)
Best regards,
Christian
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-17 22:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3E4E98B5.7030409@dsl.pipex.com>
[not found] ` <3E4EFA55.8090804@cucumelo.org>
[not found] ` <3E4F8839.9070701@dsl.pipex.com>
2003-02-16 14:33 ` [PATCH] Re: [Alsa-user] Hercules Gametheater XP (cs46xx) Benny Sjöstrand
2003-02-17 10:15 ` Takashi Iwai
2003-02-17 22:29 ` Christian Esken
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.