* ALC658 SPDIF input patch
@ 2005-01-09 21:49 Stefan Macher
2005-01-10 12:02 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Macher @ 2005-01-09 21:49 UTC (permalink / raw)
To: alsa-devel
Hi,
I have made a patch to get SPDIF input working with the Realtek ALC658.
Realtek has changed the meaning of the Pin47 function selection bit (MX7A bit
1 ) between ALC655 and ALC658.
ALC655: 0 -> external amplifier power down; 1 -> SPDIF IN
ALC658: 0 -> SPDIF IN; 1 -> external amplifier power down
Can please anybody include this into CVS.
Thanks,
Stefan
-------------------------------------------------------------------------------------------------------------
--- alsa-driver-1.0.8rc2/alsa-kernel/pci/ac97/ac97_patch.c 2005-01-04
12:01:01.000000000 +0100
+++ alsa-driver-1.0.8rc2-alc658patch/alsa-kernel/pci/ac97/ac97_patch.c
2005-01-09 22:20:53.933529512 +0100
@@ -1605,7 +1605,10 @@
/* adjust default values */
val = snd_ac97_read(ac97, 0x7a); /* misc control */
- val |= (1 << 1); /* spdif input pin */
+ if(ac97->id == 0x414c4780) /* ALC658 */
+ val &= ~(1 << 1); /* Pin 47 is spdif input pin */
+ else /* ALC655 */
+ val |= (1 << 1); /* Pin 47 is spdif input pin */
val &= ~(1 << 12); /* vref enable */
snd_ac97_write_cache(ac97, 0x7a, val);
/* set default: spdif-in enabled,
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALC658 SPDIF input patch
2005-01-09 21:49 Stefan Macher
@ 2005-01-10 12:02 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-01-10 12:02 UTC (permalink / raw)
To: Stefan Macher; +Cc: alsa-devel
At Sun, 9 Jan 2005 22:49:44 +0100,
Stefan Macher wrote:
>
> Hi,
>
> I have made a patch to get SPDIF input working with the Realtek ALC658.
> Realtek has changed the meaning of the Pin47 function selection bit (MX7A bit
> 1 ) between ALC655 and ALC658.
>
> ALC655: 0 -> external amplifier power down; 1 -> SPDIF IN
> ALC658: 0 -> SPDIF IN; 1 -> external amplifier power down
>
>
> Can please anybody include this into CVS.
The patch looks fine.
Could you provide a signed-off-by line and a brief summary of your
patch to put as a changelog? The best would be like:
Summary: Fix blah
The patch fixes the problem of the driver xxx...
Signed-off-by: Foo Bar <foo@bar.com>
We need (prefer) to have this for each patch from contributors,
especially for the changes to alsa-kernel tree, which will appear
eventually in the Linux kernel tree.
thanks,
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALC658 SPDIF input patch
@ 2005-01-10 15:08 Stefan Macher
2005-01-11 13:18 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Macher @ 2005-01-10 15:08 UTC (permalink / raw)
To: TakashiIwai; +Cc: alsa-devel
>
> At Sun, 9 Jan 2005 22:49:44 +0100,
> Stefan Macher wrote:
> >
> > Hi,
> >
> > I have made a patch to get SPDIF input working with the Realtek ALC658.
> > Realtek has changed the meaning of the Pin47 function selection bit (MX7A bit
> > 1 ) between ALC655 and ALC658.
> >
> > ALC655: 0 -> external amplifier power down; 1 -> SPDIF IN
> > ALC658: 0 -> SPDIF IN; 1 -> external amplifier power down
> >
> >
> > Can please anybody include this into CVS.
>
> The patch looks fine.
>
> Could you provide a signed-off-by line and a brief summary of your
> patch to put as a changelog? The best would be like:
>
> Summary: Fix blah
>
> The patch fixes the problem of the driver xxx...
>
> Signed-off-by: Foo Bar <foo@bar.com>
>
>
> We need (prefer) to have this for each patch from contributors,
> especially for the changes to alsa-kernel tree, which will appear
> eventually in the Linux kernel tree.
>
>
> thanks,
>
> Takashi
>
Summary: Adapt SPDIF Input selection for Realtek ALC658
This fixes the SPDIF Input selection for ALC658 as Realtek has changed the meaning betweenALC655 and ALC658.
Signed-off-by: Stefan Macher <Stefan.Macher@web.de>
-------------------------------------------------------------------------------------------------------------
--- alsa-driver-1.0.8rc2/alsa-kernel/pci/ac97/ac97_patch.c 2005-01-04
12:01:01.000000000 +0100
+++ alsa-driver-1.0.8rc2-alc658patch/alsa-kernel/pci/ac97/ac97_patch.c
2005-01-09 22:20:53.933529512 +0100
@@ -1605,7 +1605,10 @@
/* adjust default values */
val = snd_ac97_read(ac97, 0x7a); /* misc control */
- val |= (1 << 1); /* spdif input pin */
+ if(ac97->id == 0x414c4780) /* ALC658 */
+ val &= ~(1 << 1); /* Pin 47 is spdif input pin */
+ else /* ALC655 */
+ val |= (1 << 1); /* Pin 47 is spdif input pin */
val &= ~(1 << 12); /* vref enable */
snd_ac97_write_cache(ac97, 0x7a, val);
/* set default: spdif-in enabled,
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ALC658 SPDIF input patch
2005-01-10 15:08 ALC658 SPDIF input patch Stefan Macher
@ 2005-01-11 13:18 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2005-01-11 13:18 UTC (permalink / raw)
To: Stefan Macher; +Cc: alsa-devel
At Mon, 10 Jan 2005 16:08:46 +0100,
Stefan Macher wrote:
>
> >
> > At Sun, 9 Jan 2005 22:49:44 +0100,
> > Stefan Macher wrote:
> > >
> > > Hi,
> > >
> > > I have made a patch to get SPDIF input working with the Realtek ALC658.
> > > Realtek has changed the meaning of the Pin47 function selection bit (MX7A bit
> > > 1 ) between ALC655 and ALC658.
> > >
> > > ALC655: 0 -> external amplifier power down; 1 -> SPDIF IN
> > > ALC658: 0 -> SPDIF IN; 1 -> external amplifier power down
> > >
> > >
> > > Can please anybody include this into CVS.
> >
> > The patch looks fine.
> >
> > Could you provide a signed-off-by line and a brief summary of your
> > patch to put as a changelog? The best would be like:
> >
> > Summary: Fix blah
> >
> > The patch fixes the problem of the driver xxx...
> >
> > Signed-off-by: Foo Bar <foo@bar.com>
> >
> >
> > We need (prefer) to have this for each patch from contributors,
> > especially for the changes to alsa-kernel tree, which will appear
> > eventually in the Linux kernel tree.
> >
> >
> > thanks,
> >
> > Takashi
> >
>
> Summary: Adapt SPDIF Input selection for Realtek ALC658
>
> This fixes the SPDIF Input selection for ALC658 as Realtek has changed the meaning betweenALC655 and ALC658.
>
> Signed-off-by: Stefan Macher <Stefan.Macher@web.de>
Thanks, I applied now your patch to CVS.
(BTW, your mailer breaks the patch by converting tabs with spaces.
Please use attachment at the next time).
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-11 13:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-10 15:08 ALC658 SPDIF input patch Stefan Macher
2005-01-11 13:18 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2005-01-09 21:49 Stefan Macher
2005-01-10 12:02 ` Takashi Iwai
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.