* Re: ALSA / emu10k1 / SPDIF / surround?
[not found] ` <1125177706.22285.144.camel@hostmaster.org>
@ 2005-08-27 21:39 ` Lee Revell
2005-08-27 21:49 ` [Alsa-devel] " Lee Revell
2005-08-27 22:27 ` Thomas Zehetbauer
0 siblings, 2 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-27 21:39 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: alsa-devel, ALSA user list
[restored alsa-user and alsa-devel to cc: as this is a driver bug]
On Sat, 2005-08-27 at 23:21 +0200, Thomas Zehetbauer wrote:
> 02:08.0 Class 0401: 1102:0002 (rev 0a)
> Subsystem: 1102:8065
> Flags: bus master, medium devsel, latency 64, IRQ 27
> I/O ports at b800 [size=32]
> Capabilities: [dc] Power Management version 1
Yup, just as I suspected, this card isn't in the driver's device table.
What's the exact name of your card? IOW, what does it say on the box
(SBLive! Value, Player, 5.1 ... ?)
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-27 21:39 ` ALSA / emu10k1 / SPDIF / surround? Lee Revell
@ 2005-08-27 21:49 ` Lee Revell
2005-08-27 22:27 ` Thomas Zehetbauer
1 sibling, 0 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-27 21:49 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: alsa-devel, ALSA user list
On Sat, 2005-08-27 at 17:39 -0400, Lee Revell wrote:
> [restored alsa-user and alsa-devel to cc: as this is a driver bug]
>
> On Sat, 2005-08-27 at 23:21 +0200, Thomas Zehetbauer wrote:
> > 02:08.0 Class 0401: 1102:0002 (rev 0a)
> > Subsystem: 1102:8065
> > Flags: bus master, medium devsel, latency 64, IRQ 27
> > I/O ports at b800 [size=32]
> > Capabilities: [dc] Power Management version 1
>
> Yup, just as I suspected, this card isn't in the driver's device table.
>
> What's the exact name of your card? IOW, what does it say on the box
> (SBLive! Value, Player, 5.1 ... ?)
Also, what's the model number (something like SB0350 or CT4870)? You
might have to get this info from the Windows driver, I think it can be
extracted from the .inf files.
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-27 21:39 ` ALSA / emu10k1 / SPDIF / surround? Lee Revell
2005-08-27 21:49 ` [Alsa-devel] " Lee Revell
@ 2005-08-27 22:27 ` Thomas Zehetbauer
2005-08-27 23:00 ` [Alsa-user] " Lee Revell
1 sibling, 1 reply; 31+ messages in thread
From: Thomas Zehetbauer @ 2005-08-27 22:27 UTC (permalink / raw)
To: Lee Revell; +Cc: alsa-devel, ALSA user list
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Sat, 2005-08-27 at 17:39 -0400, Lee Revell wrote:
> What's the exact name of your card? IOW, what does it say on the box
> (SBLive! Value, Player, 5.1 ... ?)
AFAIR I bought the card as a "SoundBlaster Live! 5.1" and that is also
printed on the card. Model number is SB0220. There are a EMU10K1-JFF and
a Sigmatel STC9708T on the card.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
Why do you call your dog 1234?
My admin told me not to name my password after my dog.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-27 22:27 ` Thomas Zehetbauer
@ 2005-08-27 23:00 ` Lee Revell
2005-08-28 2:18 ` Thomas Zehetbauer
0 siblings, 1 reply; 31+ messages in thread
From: Lee Revell @ 2005-08-27 23:00 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: alsa-devel, ALSA user list
On Sun, 2005-08-28 at 00:27 +0200, Thomas Zehetbauer wrote:
> AFAIR I bought the card as a "SoundBlaster Live! 5.1" and that is also
> printed on the card. Model number is SB0220. There are a EMU10K1-JFF
> and a Sigmatel STC9708T on the card.
Try this patch.
If you still get both a PCM and a Wave control, and distortion at high
levels, try removing the "ac97_chip = 1" line.
Lee
Index: alsa-kernel/pci/emu10k1/emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.66
diff -u -r1.66 emu10k1_main.c
--- alsa-kernel/pci/emu10k1/emu10k1_main.c 26 Aug 2005 16:26:40 -0000 1.66
+++ alsa-kernel/pci/emu10k1/emu10k1_main.c 27 Aug 2005 22:58:59 -0000
@@ -741,6 +741,13 @@
.emu10k1_chip = 1,
.ac97_chip = 1,
.sblive51 = 1} ,
+ /* Tested by Thomas Zehetbauer 27th Aug 2005 */
+ {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80651102,
+ .driver = "EMU10K1", .name = "SB Live 5.1 [SB0220]",
+ .id = "Live",
+ .emu10k1_chip = 1,
+ .ac97_chip = 1,
+ .sblive51 = 1} ,
{.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102,
.driver = "EMU10K1", .name = "SB Live 5.1",
.id = "Live",
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-27 23:00 ` [Alsa-user] " Lee Revell
@ 2005-08-28 2:18 ` Thomas Zehetbauer
2005-08-28 2:25 ` Lee Revell
2005-08-28 2:28 ` Lee Revell
0 siblings, 2 replies; 31+ messages in thread
From: Thomas Zehetbauer @ 2005-08-28 2:18 UTC (permalink / raw)
To: Lee Revell; +Cc: alsa-devel, ALSA user list
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
On Sat, 2005-08-27 at 19:00 -0400, Lee Revell wrote:
> Try this patch.
Please send patches attached, not inline, I had to manually apply. Used
alsa-driver-1.0.9b as basis.
> If you still get both a PCM and a Wave control, and distortion at high
> levels, try removing the "ac97_chip = 1" line.
I still got the PCM control and distortions with the "ac97_chip=1" line.
Without it I lost many controls including "Master" and could not hear
any sound at all.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
Governments, if they endure, always tend increasingly toward aristocratic
forms. No government in history has been known to evade this pattern. And as
the aristocracy develops, government tends more and more to act exclusively
in the interests of the ruling class -- whether that class be hereditary
royalty, oligarchs of financial empires, or entrenched bureaucracy.
Bene Gesserit Training Manual
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-28 2:18 ` Thomas Zehetbauer
@ 2005-08-28 2:25 ` Lee Revell
2005-08-28 2:28 ` Lee Revell
1 sibling, 0 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-28 2:25 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: alsa-devel, ALSA user list
On Sun, 2005-08-28 at 04:18 +0200, Thomas Zehetbauer wrote:
> On Sat, 2005-08-27 at 19:00 -0400, Lee Revell wrote:
> > Try this patch.
>
> Please send patches attached, not inline, I had to manually apply. Used
> alsa-driver-1.0.9b as basis.
Sorry, no. Inline should work, that's the whole point of patches.
Did my mailer mangle the patch?
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-28 2:18 ` Thomas Zehetbauer
2005-08-28 2:25 ` Lee Revell
@ 2005-08-28 2:28 ` Lee Revell
2005-08-29 9:16 ` [Alsa-devel] " Takashi Iwai
1 sibling, 1 reply; 31+ messages in thread
From: Lee Revell @ 2005-08-28 2:28 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: alsa-devel, ALSA user list
On Sun, 2005-08-28 at 04:18 +0200, Thomas Zehetbauer wrote:
> > If you still get both a PCM and a Wave control, and distortion at high
> > levels, try removing the "ac97_chip = 1" line.
>
> I still got the PCM control and distortions with the "ac97_chip=1" line.
> Without it I lost many controls including "Master" and could not hear
> any sound at all.
You are supposed to have only a PCM control - there should be no Wave
control.
Sorry, I don't know what's wrong. It's definitely some kind of driver
bug. Please file a bug report:
https://bugtrack.alsa-project.org/alsa-bug/main_page.php
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-28 2:28 ` Lee Revell
@ 2005-08-29 9:16 ` Takashi Iwai
2005-08-29 14:31 ` Re: [Alsa-user] " Lee Revell
0 siblings, 1 reply; 31+ messages in thread
From: Takashi Iwai @ 2005-08-29 9:16 UTC (permalink / raw)
To: Lee Revell; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
At Sat, 27 Aug 2005 22:28:51 -0400,
Lee Revell wrote:
>
> On Sun, 2005-08-28 at 04:18 +0200, Thomas Zehetbauer wrote:
> > > If you still get both a PCM and a Wave control, and distortion at high
> > > levels, try removing the "ac97_chip = 1" line.
> >
> > I still got the PCM control and distortions with the "ac97_chip=1" line.
> > Without it I lost many controls including "Master" and could not hear
> > any sound at all.
>
> You are supposed to have only a PCM control - there should be no Wave
> control.
I guess ac97_chip is always necessary for sb live. Otherwise the
front output won't be initialized correctly.
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 9:16 ` [Alsa-devel] " Takashi Iwai
@ 2005-08-29 14:31 ` Lee Revell
2005-08-29 15:38 ` [Alsa-devel] " Takashi Iwai
2005-08-29 19:04 ` [Alsa-devel] " Thomas Zehetbauer
0 siblings, 2 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-29 14:31 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
On Mon, 2005-08-29 at 11:16 +0200, Takashi Iwai wrote:
> At Sat, 27 Aug 2005 22:28:51 -0400,
> Lee Revell wrote:
> >
> > On Sun, 2005-08-28 at 04:18 +0200, Thomas Zehetbauer wrote:
> > > > If you still get both a PCM and a Wave control, and distortion at high
> > > > levels, try removing the "ac97_chip = 1" line.
> > >
> > > I still got the PCM control and distortions with the "ac97_chip=1" line.
> > > Without it I lost many controls including "Master" and could not hear
> > > any sound at all.
> >
> > You are supposed to have only a PCM control - there should be no Wave
> > control.
>
> I guess ac97_chip is always necessary for sb live. Otherwise the
> front output won't be initialized correctly.
But even if we set it to 1, the user gets a "PCM" control and a "Wave"
control.
As I understand the emu10k1 driver, after initializing the AC97, it's
supposed to rename the "Wave" control to "PCM". Why is this user
getting both?
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-29 14:31 ` Re: [Alsa-user] " Lee Revell
@ 2005-08-29 15:38 ` Takashi Iwai
2005-08-29 15:44 ` Re: [Alsa-user] " Lee Revell
2005-08-29 19:04 ` [Alsa-devel] " Thomas Zehetbauer
1 sibling, 1 reply; 31+ messages in thread
From: Takashi Iwai @ 2005-08-29 15:38 UTC (permalink / raw)
To: Lee Revell; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
At Mon, 29 Aug 2005 10:31:47 -0400,
Lee Revell wrote:
>
> On Mon, 2005-08-29 at 11:16 +0200, Takashi Iwai wrote:
> > At Sat, 27 Aug 2005 22:28:51 -0400,
> > Lee Revell wrote:
> > >
> > > On Sun, 2005-08-28 at 04:18 +0200, Thomas Zehetbauer wrote:
> > > > > If you still get both a PCM and a Wave control, and distortion at high
> > > > > levels, try removing the "ac97_chip = 1" line.
> > > >
> > > > I still got the PCM control and distortions with the "ac97_chip=1" line.
> > > > Without it I lost many controls including "Master" and could not hear
> > > > any sound at all.
> > >
> > > You are supposed to have only a PCM control - there should be no Wave
> > > control.
> >
> > I guess ac97_chip is always necessary for sb live. Otherwise the
> > front output won't be initialized correctly.
>
> But even if we set it to 1, the user gets a "PCM" control and a "Wave"
> control.
But ac97 chip is never initialized if ac97_chip == 0.
> As I understand the emu10k1 driver, after initializing the AC97, it's
> supposed to rename the "Wave" control to "PCM". Why is this user
> getting both?
it's for audigy but not for sb live.
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 15:38 ` [Alsa-devel] " Takashi Iwai
@ 2005-08-29 15:44 ` Lee Revell
2005-08-29 15:52 ` Takashi Iwai
0 siblings, 1 reply; 31+ messages in thread
From: Lee Revell @ 2005-08-29 15:44 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
On Mon, 2005-08-29 at 17:38 +0200, Takashi Iwai wrote:
> But ac97 chip is never initialized if ac97_chip == 0.
Right, but the user tried my patch to set ac97_chip to 1 for that model,
and is still getting a "Wave" and a "PCM" control. Is this the expected
behavior?
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 15:44 ` Re: [Alsa-user] " Lee Revell
@ 2005-08-29 15:52 ` Takashi Iwai
2005-08-29 15:53 ` [Alsa-devel] " Lee Revell
0 siblings, 1 reply; 31+ messages in thread
From: Takashi Iwai @ 2005-08-29 15:52 UTC (permalink / raw)
To: Lee Revell; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
At Mon, 29 Aug 2005 11:44:50 -0400,
Lee Revell wrote:
>
> On Mon, 2005-08-29 at 17:38 +0200, Takashi Iwai wrote:
> > But ac97 chip is never initialized if ac97_chip == 0.
>
> Right, but the user tried my patch to set ac97_chip to 1 for that model,
> and is still getting a "Wave" and a "PCM" control. Is this the expected
> behavior?
Yes. As mentioned in the last mail, "Wave" -> "PCM" is done only on
audigy, not on sb live.
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-29 15:52 ` Takashi Iwai
@ 2005-08-29 15:53 ` Lee Revell
2005-08-29 15:59 ` Takashi Iwai
0 siblings, 1 reply; 31+ messages in thread
From: Lee Revell @ 2005-08-29 15:53 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
On Mon, 2005-08-29 at 17:52 +0200, Takashi Iwai wrote:
> At Mon, 29 Aug 2005 11:44:50 -0400,
> Lee Revell wrote:
> >
> > On Mon, 2005-08-29 at 17:38 +0200, Takashi Iwai wrote:
> > > But ac97 chip is never initialized if ac97_chip == 0.
> >
> > Right, but the user tried my patch to set ac97_chip to 1 for that model,
> > and is still getting a "Wave" and a "PCM" control. Is this the expected
> > behavior?
>
> Yes. As mentioned in the last mail, "Wave" -> "PCM" is done only on
> audigy, not on sb live.
So then what is the ddifference between the Wave and PCM controls?
Don't they do the same thing?
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-29 15:53 ` [Alsa-devel] " Lee Revell
@ 2005-08-29 15:59 ` Takashi Iwai
2005-08-29 16:26 ` Re: [Alsa-user] " Lee Revell
0 siblings, 1 reply; 31+ messages in thread
From: Takashi Iwai @ 2005-08-29 15:59 UTC (permalink / raw)
To: Lee Revell; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
At Mon, 29 Aug 2005 11:53:47 -0400,
Lee Revell wrote:
>
> On Mon, 2005-08-29 at 17:52 +0200, Takashi Iwai wrote:
> > At Mon, 29 Aug 2005 11:44:50 -0400,
> > Lee Revell wrote:
> > >
> > > On Mon, 2005-08-29 at 17:38 +0200, Takashi Iwai wrote:
> > > > But ac97 chip is never initialized if ac97_chip == 0.
> > >
> > > Right, but the user tried my patch to set ac97_chip to 1 for that model,
> > > and is still getting a "Wave" and a "PCM" control. Is this the expected
> > > behavior?
> >
> > Yes. As mentioned in the last mail, "Wave" -> "PCM" is done only on
> > audigy, not on sb live.
>
> So then what is the ddifference between the Wave and PCM controls?
> Don't they do the same thing?
Wave = emu10k1 DSP digital volume
PCM = ac97 PCM analog volume
IIRC, Wave is renamed to PCM on audigy because audigy doesn't use ac97
PCM control.
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 15:59 ` Takashi Iwai
@ 2005-08-29 16:26 ` Lee Revell
2005-08-29 16:32 ` Lee Revell
` (2 more replies)
0 siblings, 3 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-29 16:26 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
On Mon, 2005-08-29 at 17:59 +0200, Takashi Iwai wrote:
> At Mon, 29 Aug 2005 11:53:47 -0400,
> Lee Revell wrote:
> >
> > On Mon, 2005-08-29 at 17:52 +0200, Takashi Iwai wrote:
> > > At Mon, 29 Aug 2005 11:44:50 -0400,
> > > Lee Revell wrote:
> > > >
> > > > On Mon, 2005-08-29 at 17:38 +0200, Takashi Iwai wrote:
> > > > > But ac97 chip is never initialized if ac97_chip == 0.
> > > >
> > > > Right, but the user tried my patch to set ac97_chip to 1 for that model,
> > > > and is still getting a "Wave" and a "PCM" control. Is this the expected
> > > > behavior?
> > >
> > > Yes. As mentioned in the last mail, "Wave" -> "PCM" is done only on
> > > audigy, not on sb live.
> >
> > So then what is the ddifference between the Wave and PCM controls?
> > Don't they do the same thing?
>
> Wave = emu10k1 DSP digital volume
> PCM = ac97 PCM analog volume
>
> IIRC, Wave is renamed to PCM on audigy because audigy doesn't use ac97
> PCM control.
OK, thanks for clarifying. So maybe the distortion problem here is just
an app that's sending a clipped signal.
Please apply my patch from earlier in the thread, here it is again for
convenience.
Summary: Add identification for Live 5.1 [SB0220]
Signed-Off-By: Lee Revell <rlrevell@joe-job.com>
Index: alsa-kernel/pci/emu10k1/emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.66
diff -u -r1.66 emu10k1_main.c
--- alsa-kernel/pci/emu10k1/emu10k1_main.c 26 Aug 2005 16:26:40
-0000 1.66
+++ alsa-kernel/pci/emu10k1/emu10k1_main.c 27 Aug 2005 22:58:59
-0000
@@ -741,6 +741,13 @@
.emu10k1_chip = 1,
.ac97_chip = 1,
.sblive51 = 1} ,
+ /* Tested by Thomas Zehetbauer 27th Aug 2005 */
+ {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80651102,
+ .driver = "EMU10K1", .name = "SB Live 5.1 [SB0220]",
+ .id = "Live",
+ .emu10k1_chip = 1,
+ .ac97_chip = 1,
+ .sblive51 = 1} ,
{.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102,
.driver = "EMU10K1", .name = "SB Live 5.1",
.id = "Live",
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 16:26 ` Re: [Alsa-user] " Lee Revell
@ 2005-08-29 16:32 ` Lee Revell
2005-08-29 16:46 ` Takashi Iwai
2005-08-30 9:53 ` Clemens Ladisch
2 siblings, 0 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-29 16:32 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
On Mon, 2005-08-29 at 12:26 -0400, Lee Revell wrote:
> On Mon, 2005-08-29 at 17:59 +0200, Takashi Iwai wrote:
Sorry, the patch was word wrapped.
Index: alsa-kernel/pci/emu10k1/emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.66
diff -u -r1.66 emu10k1_main.c
--- alsa-kernel/pci/emu10k1/emu10k1_main.c 26 Aug 2005 16:26:40 -0000 1.66
+++ alsa-kernel/pci/emu10k1/emu10k1_main.c 29 Aug 2005 16:31:37 -0000
@@ -741,6 +741,13 @@
.emu10k1_chip = 1,
.ac97_chip = 1,
.sblive51 = 1} ,
+ /* Tested by Thomas Zehetbauer 27th Aug 2005 */
+ {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80651102,
+ .driver = "EMU10K1", .name = "SB Live 5.1 [SB0220]",
+ .id = "Live",
+ .emu10k1_chip = 1,
+ .ac97_chip = 1,
+ .sblive51 = 1} ,
{.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102,
.driver = "EMU10K1", .name = "SB Live 5.1",
.id = "Live",
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 16:26 ` Re: [Alsa-user] " Lee Revell
2005-08-29 16:32 ` Lee Revell
@ 2005-08-29 16:46 ` Takashi Iwai
2005-08-30 9:53 ` Clemens Ladisch
2 siblings, 0 replies; 31+ messages in thread
From: Takashi Iwai @ 2005-08-29 16:46 UTC (permalink / raw)
To: Lee Revell; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
At Mon, 29 Aug 2005 12:26:07 -0400,
Lee Revell wrote:
>
> On Mon, 2005-08-29 at 17:59 +0200, Takashi Iwai wrote:
> > At Mon, 29 Aug 2005 11:53:47 -0400,
> > Lee Revell wrote:
> > >
> > > On Mon, 2005-08-29 at 17:52 +0200, Takashi Iwai wrote:
> > > > At Mon, 29 Aug 2005 11:44:50 -0400,
> > > > Lee Revell wrote:
> > > > >
> > > > > On Mon, 2005-08-29 at 17:38 +0200, Takashi Iwai wrote:
> > > > > > But ac97 chip is never initialized if ac97_chip == 0.
> > > > >
> > > > > Right, but the user tried my patch to set ac97_chip to 1 for that model,
> > > > > and is still getting a "Wave" and a "PCM" control. Is this the expected
> > > > > behavior?
> > > >
> > > > Yes. As mentioned in the last mail, "Wave" -> "PCM" is done only on
> > > > audigy, not on sb live.
> > >
> > > So then what is the ddifference between the Wave and PCM controls?
> > > Don't they do the same thing?
> >
> > Wave = emu10k1 DSP digital volume
> > PCM = ac97 PCM analog volume
> >
> > IIRC, Wave is renamed to PCM on audigy because audigy doesn't use ac97
> > PCM control.
>
> OK, thanks for clarifying. So maybe the distortion problem here is just
> an app that's sending a clipped signal.
>
> Please apply my patch from earlier in the thread, here it is again for
> convenience.
>
> Summary: Add identification for Live 5.1 [SB0220]
>
> Signed-Off-By: Lee Revell <rlrevell@joe-job.com>
Done. Thanks.
(BTW, the patch was broken due to tab/space replacement...)
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-29 14:31 ` Re: [Alsa-user] " Lee Revell
2005-08-29 15:38 ` [Alsa-devel] " Takashi Iwai
@ 2005-08-29 19:04 ` Thomas Zehetbauer
2005-08-29 19:55 ` Lee Revell
1 sibling, 1 reply; 31+ messages in thread
From: Thomas Zehetbauer @ 2005-08-29 19:04 UTC (permalink / raw)
To: Lee Revell; +Cc: Takashi Iwai, alsa-devel, ALSA user list
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
On Mon, 2005-08-29 at 10:31 -0400, Lee Revell wrote:
> As I understand the emu10k1 driver, after initializing the AC97, it's
> supposed to rename the "Wave" control to "PCM". Why is this user
> getting both?
No, they are definitely different controls. From what I have seen "Wave"
appears to be handled by the EMU10K1 and attenuates the PCM data stream
for both digital (SPDIF) and analog output. "PCM" appears to control the
DAC of the Sigmatel STAC9708T AC97 codec.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
"Memory is like gasoline. You use it up when you are running. Of course you
get it all back when you reboot..."
Microsoft Helpdesk
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-29 19:04 ` [Alsa-devel] " Thomas Zehetbauer
@ 2005-08-29 19:55 ` Lee Revell
2005-08-29 23:05 ` Re: [Alsa-user] " Thomas Zehetbauer
0 siblings, 1 reply; 31+ messages in thread
From: Lee Revell @ 2005-08-29 19:55 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: Takashi Iwai, alsa-devel, ALSA user list
On Mon, 2005-08-29 at 21:04 +0200, Thomas Zehetbauer wrote:
> On Mon, 2005-08-29 at 10:31 -0400, Lee Revell wrote:
> > As I understand the emu10k1 driver, after initializing the AC97, it's
> > supposed to rename the "Wave" control to "PCM". Why is this user
> > getting both?
>
> No, they are definitely different controls. From what I have seen "Wave"
> appears to be handled by the EMU10K1 and attenuates the PCM data stream
> for both digital (SPDIF) and analog output. "PCM" appears to control the
> DAC of the Sigmatel STAC9708T AC97 codec.
OK, thanks. As Takashi-san pointed out I was confused by the difference
between the Audigy and Live! mixers.
I still think these are poor choices for mixer control names. The kX
driver solves this problem nicely by separating the AC97 mixer controls
from the ones implemented with EMU10K1 DSP microcode. I guess to have
this option on Linux, we'd need some way for driver to report which
controls are part of the AC97 codec.
Lee
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 19:55 ` Lee Revell
@ 2005-08-29 23:05 ` Thomas Zehetbauer
2005-08-29 23:08 ` Lee Revell
0 siblings, 1 reply; 31+ messages in thread
From: Thomas Zehetbauer @ 2005-08-29 23:05 UTC (permalink / raw)
To: Lee Revell; +Cc: Takashi Iwai, alsa-devel, ALSA user list
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
On Mon, 2005-08-29 at 15:55 -0400, Lee Revell wrote:
> I still think these are poor choices for mixer control names. The kX
> driver solves this problem nicely by separating the AC97 mixer controls
> from the ones implemented with EMU10K1 DSP microcode. I guess to have
> this option on Linux, we'd need some way for driver to report which
> controls are part of the AC97 codec.
It's not the name, it's the almost total lack of documentation that
makes mixer controls so confusing. I am going to make up a page from
what I have learned, but I feel that I am still scratching on the
surface. For example I still wonder what these controls do:
- 3D Control - Switch
- 3D Control Sigmatel - Depth
- 3D Control Sigmatel - Rear Depth
- Sigmatel 4-Speaker Stereo Playback Switch
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
Nearly all men can stand adversity, but if you want to test a man's
character, give him power.
Abraham Lincoln
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 23:05 ` Re: [Alsa-user] " Thomas Zehetbauer
@ 2005-08-29 23:08 ` Lee Revell
2005-08-30 9:08 ` [Alsa-devel] " Takashi Iwai
2005-08-31 0:04 ` Re: [Alsa-user] " Thomas Zehetbauer
0 siblings, 2 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-29 23:08 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: Takashi Iwai, alsa-devel, ALSA user list
On Tue, 2005-08-30 at 01:05 +0200, Thomas Zehetbauer wrote:
> On Mon, 2005-08-29 at 15:55 -0400, Lee Revell wrote:
> > I still think these are poor choices for mixer control names. The kX
> > driver solves this problem nicely by separating the AC97 mixer controls
> > from the ones implemented with EMU10K1 DSP microcode. I guess to have
> > this option on Linux, we'd need some way for driver to report which
> > controls are part of the AC97 codec.
>
> It's not the name, it's the almost total lack of documentation that
> makes mixer controls so confusing. I am going to make up a page from
> what I have learned, but I feel that I am still scratching on the
> surface. For example I still wonder what these controls do:
> - 3D Control - Switch
> - 3D Control Sigmatel - Depth
> - 3D Control Sigmatel - Rear Depth
> - Sigmatel 4-Speaker Stereo Playback Switch
I think those are generic AC97 features. FWIW they are just as cryptic
on Windows ("3D Enhancement" or something).
I guess you already looked at Documentation/SB-Live-mixer.txt?
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-29 23:08 ` Lee Revell
@ 2005-08-30 9:08 ` Takashi Iwai
[not found] ` <4314295D.1020003@slackercentral.com>
2005-08-31 0:01 ` [Alsa-devel] " Thomas Zehetbauer
2005-08-31 0:04 ` Re: [Alsa-user] " Thomas Zehetbauer
1 sibling, 2 replies; 31+ messages in thread
From: Takashi Iwai @ 2005-08-30 9:08 UTC (permalink / raw)
To: Lee Revell; +Cc: Thomas Zehetbauer, alsa-devel, ALSA user list
At Mon, 29 Aug 2005 19:08:55 -0400,
Lee Revell wrote:
>
> On Tue, 2005-08-30 at 01:05 +0200, Thomas Zehetbauer wrote:
> > On Mon, 2005-08-29 at 15:55 -0400, Lee Revell wrote:
> > > I still think these are poor choices for mixer control names. The kX
> > > driver solves this problem nicely by separating the AC97 mixer controls
> > > from the ones implemented with EMU10K1 DSP microcode. I guess to have
> > > this option on Linux, we'd need some way for driver to report which
> > > controls are part of the AC97 codec.
> >
> > It's not the name, it's the almost total lack of documentation that
> > makes mixer controls so confusing. I am going to make up a page from
> > what I have learned, but I feel that I am still scratching on the
> > surface. For example I still wonder what these controls do:
> > - 3D Control - Switch
> > - 3D Control Sigmatel - Depth
> > - 3D Control Sigmatel - Rear Depth
> > - Sigmatel 4-Speaker Stereo Playback Switch
>
> I think those are generic AC97 features.
Yes.
> FWIW they are just as cryptic
> on Windows ("3D Enhancement" or something).
I guess they do nothing on sb live.
Could you check whether they influence on sounds? If not, we can
remove them.
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
[not found] ` <4314295D.1020003@slackercentral.com>
@ 2005-08-30 9:45 ` Takashi Iwai
0 siblings, 0 replies; 31+ messages in thread
From: Takashi Iwai @ 2005-08-30 9:45 UTC (permalink / raw)
To: Gain Paolo Mureddu; +Cc: alsa-devel, alsa-user
At Tue, 30 Aug 2005 04:39:41 -0500,
Gain Paolo Mureddu wrote:
>
> Takashi Iwai wrote:
>
> >>I think those are generic AC97 features.
> >>
> >>
> >
> >Yes.
> >
> >
> >
> >> FWIW they are just as cryptic
> >>on Windows ("3D Enhancement" or something).
> >>
> >>
> >
> >I guess they do nothing on sb live.
> >
> >Could you check whether they influence on sounds? If not, we can
> >remove them.
> >
> >
> >Takashi
> >
> >
> I only have a couple AC97 3DControl bars in alsamixer. One that toggles
> and one that actually modifies the sound (it does get modified, though
> it "sounds" like it only does it to the front speakers). Increments and
> decrements in this control occur by 33% increments/decrements, if this
> is of any use.
OK, then these controls indeed have influences. We can keep them,
then,
(They are ac97 controls, so they really changes only the front
output.)
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 16:26 ` Re: [Alsa-user] " Lee Revell
2005-08-29 16:32 ` Lee Revell
2005-08-29 16:46 ` Takashi Iwai
@ 2005-08-30 9:53 ` Clemens Ladisch
2005-08-30 17:59 ` [Alsa-devel] " Lee Revell
2 siblings, 1 reply; 31+ messages in thread
From: Clemens Ladisch @ 2005-08-30 9:53 UTC (permalink / raw)
To: Lee Revell; +Cc: Takashi Iwai, Thomas Zehetbauer, alsa-devel, ALSA user list
Lee Revell wrote:
> So maybe the distortion problem here is just an app that's sending
> a clipped signal.
It's a known problem with several cards that use the STAC9708 codec.
It seems the chip doesn't get initialized/configured correctly;
several registers aren't documented.
Regards,
Clemens
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-30 9:53 ` Clemens Ladisch
@ 2005-08-30 17:59 ` Lee Revell
2005-08-31 7:54 ` Clemens Ladisch
0 siblings, 1 reply; 31+ messages in thread
From: Lee Revell @ 2005-08-30 17:59 UTC (permalink / raw)
To: Clemens Ladisch
Cc: Takashi Iwai, Thomas Zehetbauer, alsa-devel, ALSA user list
On Tue, 2005-08-30 at 11:53 +0200, Clemens Ladisch wrote:
> Lee Revell wrote:
> > So maybe the distortion problem here is just an app that's sending
> > a clipped signal.
>
> It's a known problem with several cards that use the STAC9708 codec.
> It seems the chip doesn't get initialized/configured correctly;
> several registers aren't documented.
>
Should be trivial to RE using the kX driver (the kxctrl utility lets you
read and write AC97 registers).
Thomas, are you willing to install Windows to track this bug down? :-P
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-30 9:08 ` [Alsa-devel] " Takashi Iwai
[not found] ` <4314295D.1020003@slackercentral.com>
@ 2005-08-31 0:01 ` Thomas Zehetbauer
1 sibling, 0 replies; 31+ messages in thread
From: Thomas Zehetbauer @ 2005-08-31 0:01 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Lee Revell, alsa-devel, ALSA user list
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
On Tue, 2005-08-30 at 11:08 +0200, Takashi Iwai wrote:
> Could you check whether they influence on sounds? If not, we can
> remove them.
"3D Control (Switch|Front|Rear)" and "Sigmatel Surround" definitely do
influence sound appearance.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
All governments suffer a recurring problem: Power attracts pathological
personalities. It is not that power corrupts but that it is magnetic to the
corruptible. Such people have a tendency to become drunk on violence, a
condition to which they are quickly addicted.
Missionaria Protectiva
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-29 23:08 ` Lee Revell
2005-08-30 9:08 ` [Alsa-devel] " Takashi Iwai
@ 2005-08-31 0:04 ` Thomas Zehetbauer
2005-08-31 0:23 ` [Alsa-devel] " Lee Revell
2005-08-31 0:26 ` Lee Revell
1 sibling, 2 replies; 31+ messages in thread
From: Thomas Zehetbauer @ 2005-08-31 0:04 UTC (permalink / raw)
To: Lee Revell; +Cc: Takashi Iwai, alsa-devel, ALSA user list
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
On Mon, 2005-08-29 at 19:08 -0400, Lee Revell wrote:
> I guess you already looked at Documentation/SB-Live-mixer.txt?
Sure I have, but I don't think this documentation is correct:
"Wave (Surround|Center|LFE) Playback Volume" apparently do some kind of
stereo upmixing. I guess that is why I have seen these controls going to
zero when using 6 channel output.
Tom
--
T h o m a s Z e h e t b a u e r ( TZ251 )
PGP encrypted mail preferred - KeyID 96FFCB89
finger thomasz@hostmaster.org for key
To vote in an election does not mean to have a choice!
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-31 0:04 ` Re: [Alsa-user] " Thomas Zehetbauer
@ 2005-08-31 0:23 ` Lee Revell
2005-08-31 0:26 ` Lee Revell
1 sibling, 0 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-31 0:23 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: Takashi Iwai, alsa-devel, ALSA user list
On Wed, 2005-08-31 at 02:04 +0200, Thomas Zehetbauer wrote:
> On Mon, 2005-08-29 at 19:08 -0400, Lee Revell wrote:
> > I guess you already looked at Documentation/SB-Live-mixer.txt?
>
> Sure I have, but I don't think this documentation is correct:
>
> "Wave (Surround|Center|LFE) Playback Volume" apparently do some kind of
> stereo upmixing. I guess that is why I have seen these controls going to
> zero when using 6 channel output.
Right. If you play a stereo PCM these control the level that goes to
the other 4 channels. So when using 6 channel output they go to zero.
Rather than posting your own docs on the web, how about submitting a
patch to correct the documentation?
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-31 0:04 ` Re: [Alsa-user] " Thomas Zehetbauer
2005-08-31 0:23 ` [Alsa-devel] " Lee Revell
@ 2005-08-31 0:26 ` Lee Revell
1 sibling, 0 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-31 0:26 UTC (permalink / raw)
To: Thomas Zehetbauer; +Cc: Takashi Iwai, alsa-devel, ALSA user list
On Wed, 2005-08-31 at 02:04 +0200, Thomas Zehetbauer wrote:
> On Mon, 2005-08-29 at 19:08 -0400, Lee Revell wrote:
> > I guess you already looked at Documentation/SB-Live-mixer.txt?
>
> Sure I have, but I don't think this documentation is correct:
>
> "Wave (Surround|Center|LFE) Playback Volume" apparently do some kind of
> stereo upmixing. I guess that is why I have seen these controls going to
> zero when using 6 channel output.
Actually the docs are correct:
name='Wave Playback Volume',index=0
This control is used to attenuate samples for left and right PCM FX-bus
accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
name='Wave Surround Playback Volume',index=0
This control is used to attenuate samples for left and right PCM FX-bus
accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
The result samples are forwarded to the rear I2S DACs. These DACs operates
separately (they are not inside the AC97 codec).
name='Wave Center Playback Volume',index=0
This control is used to attenuate samples for left and right PCM FX-bus
accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
The result is mixed to mono signal (single channel) and forwarded to
the ??rear?? right DAC PCM slot of the AC97 codec.
name='Wave LFE Playback Volume',index=0
This control is used to attenuate samples for left and right PCM FX-bus
accumulators. ALSA uses accumulators 0 and 1 for left and right PCM.
The result is mixed to mono signal (single channel) and forwarded to
the ??rear?? left DAC PCM slot of the AC97 codec.
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Alsa-devel] Re: ALSA / emu10k1 / SPDIF / surround?
2005-08-30 17:59 ` [Alsa-devel] " Lee Revell
@ 2005-08-31 7:54 ` Clemens Ladisch
2005-08-31 16:58 ` Re: [Alsa-user] " Lee Revell
0 siblings, 1 reply; 31+ messages in thread
From: Clemens Ladisch @ 2005-08-31 7:54 UTC (permalink / raw)
To: Lee Revell; +Cc: Takashi Iwai, Thomas Zehetbauer, alsa-devel, ALSA user list
Lee Revell wrote:
> On Tue, 2005-08-30 at 11:53 +0200, Clemens Ladisch wrote:
> > Lee Revell wrote:
> > > So maybe the distortion problem here is just an app that's sending
> > > a clipped signal.
> >
> > It's a known problem with several cards that use the STAC9708 codec.
> > It seems the chip doesn't get initialized/configured correctly;
> > several registers aren't documented.
>
> Should be trivial to RE using the kX driver (the kxctrl utility lets you
> read and write AC97 registers).
I already read the AC97 registers of my ymfpci card in Windows, but
didn't find anything useful.
Regards,
Clemens
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: Re: [Alsa-user] ALSA / emu10k1 / SPDIF / surround?
2005-08-31 7:54 ` Clemens Ladisch
@ 2005-08-31 16:58 ` Lee Revell
0 siblings, 0 replies; 31+ messages in thread
From: Lee Revell @ 2005-08-31 16:58 UTC (permalink / raw)
To: Clemens Ladisch
Cc: Takashi Iwai, Thomas Zehetbauer, alsa-devel, ALSA user list
On Wed, 2005-08-31 at 09:54 +0200, Clemens Ladisch wrote:
> Lee Revell wrote:
> > On Tue, 2005-08-30 at 11:53 +0200, Clemens Ladisch wrote:
> > > Lee Revell wrote:
> > > > So maybe the distortion problem here is just an app that's sending
> > > > a clipped signal.
> > >
> > > It's a known problem with several cards that use the STAC9708 codec.
> > > It seems the chip doesn't get initialized/configured correctly;
> > > several registers aren't documented.
> >
> > Should be trivial to RE using the kX driver (the kxctrl utility lets you
> > read and write AC97 registers).
>
> I already read the AC97 registers of my ymfpci card in Windows, but
> didn't find anything useful.
OK, then I guess someone just needs to fire up SoftICE and set some IO
breakpoints to log all read/write to the AC97 codec.
Lee
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2005-08-31 16:58 UTC | newest]
Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1124755115.5763.3.camel@hostmaster.org>
[not found] ` <1125166820.22285.68.camel@hostmaster.org>
[not found] ` <1125168446.25011.68.camel@mindpipe>
[not found] ` <1125173150.22285.103.camel@hostmaster.org>
[not found] ` <1125174445.25011.76.camel@mindpipe>
[not found] ` <1125177706.22285.144.camel@hostmaster.org>
2005-08-27 21:39 ` ALSA / emu10k1 / SPDIF / surround? Lee Revell
2005-08-27 21:49 ` [Alsa-devel] " Lee Revell
2005-08-27 22:27 ` Thomas Zehetbauer
2005-08-27 23:00 ` [Alsa-user] " Lee Revell
2005-08-28 2:18 ` Thomas Zehetbauer
2005-08-28 2:25 ` Lee Revell
2005-08-28 2:28 ` Lee Revell
2005-08-29 9:16 ` [Alsa-devel] " Takashi Iwai
2005-08-29 14:31 ` Re: [Alsa-user] " Lee Revell
2005-08-29 15:38 ` [Alsa-devel] " Takashi Iwai
2005-08-29 15:44 ` Re: [Alsa-user] " Lee Revell
2005-08-29 15:52 ` Takashi Iwai
2005-08-29 15:53 ` [Alsa-devel] " Lee Revell
2005-08-29 15:59 ` Takashi Iwai
2005-08-29 16:26 ` Re: [Alsa-user] " Lee Revell
2005-08-29 16:32 ` Lee Revell
2005-08-29 16:46 ` Takashi Iwai
2005-08-30 9:53 ` Clemens Ladisch
2005-08-30 17:59 ` [Alsa-devel] " Lee Revell
2005-08-31 7:54 ` Clemens Ladisch
2005-08-31 16:58 ` Re: [Alsa-user] " Lee Revell
2005-08-29 19:04 ` [Alsa-devel] " Thomas Zehetbauer
2005-08-29 19:55 ` Lee Revell
2005-08-29 23:05 ` Re: [Alsa-user] " Thomas Zehetbauer
2005-08-29 23:08 ` Lee Revell
2005-08-30 9:08 ` [Alsa-devel] " Takashi Iwai
[not found] ` <4314295D.1020003@slackercentral.com>
2005-08-30 9:45 ` Re: [Alsa-user] " Takashi Iwai
2005-08-31 0:01 ` [Alsa-devel] " Thomas Zehetbauer
2005-08-31 0:04 ` Re: [Alsa-user] " Thomas Zehetbauer
2005-08-31 0:23 ` [Alsa-devel] " Lee Revell
2005-08-31 0:26 ` Lee Revell
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.