All of lore.kernel.org
 help / color / mirror / Atom feed
* CMI973, patch and alsa release
@ 2004-02-01 19:17 Davodet Olivier
  2004-02-02  8:06 ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Davodet Olivier @ 2004-02-01 19:17 UTC (permalink / raw)
  To: alsa-devel

Hello,

My config :

Biostar IdeQ 200T with an onboard C-Media CMI9739A 6-Channel AC'97 CODEC
Mandrake 9.2 : kernel 2.6.1 with alsa 1.0.1
(kernel-smp-2.6.1.1mdk-1-1mdk) and alsa lib 0.9.6

I use the snd-intel8x0 module.

This module does not work very well with this chipset. In fact you can't use
PCM. When you launch xmms the sound plays but you can't change the
volume...

In the alsa-devel mailing-list I found a patch by C.L. Thien (from 
cmedia) for the alsa 1.0.rc2.

I updated my kernel source with this patch, recompiled all and installed the
new sound modules.

And now all works fine, I can change the sound volume in xmms, mute, unmute,
all works ok ! (except the known bug with quake 3 : the sound loops when you
enter in a map and quake3 freezes...)

Do you think this patch can be included by the alsa team in an official 
release ?




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CMI973, patch and alsa release
  2004-02-01 19:17 Davodet Olivier
@ 2004-02-02  8:06 ` Jaroslav Kysela
  2004-02-02 11:19   ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2004-02-02  8:06 UTC (permalink / raw)
  To: Davodet Olivier; +Cc: alsa-devel

On Sun, 1 Feb 2004, Davodet Olivier wrote:

> Hello,
> 
> My config :
> 
> Biostar IdeQ 200T with an onboard C-Media CMI9739A 6-Channel AC'97 CODEC
> Mandrake 9.2 : kernel 2.6.1 with alsa 1.0.1
> (kernel-smp-2.6.1.1mdk-1-1mdk) and alsa lib 0.9.6
> 
> I use the snd-intel8x0 module.
> 
> This module does not work very well with this chipset. In fact you can't use
> PCM. When you launch xmms the sound plays but you can't change the
> volume...
> 
> In the alsa-devel mailing-list I found a patch by C.L. Thien (from 
> cmedia) for the alsa 1.0.rc2.
> 
> I updated my kernel source with this patch, recompiled all and installed the
> new sound modules.
> 
> And now all works fine, I can change the sound volume in xmms, mute, unmute,
> all works ok ! (except the known bug with quake 3 : the sound loops when you
> enter in a map and quake3 freezes...)
> 
> Do you think this patch can be included by the alsa team in an official 
> release ?

No. This patch is unacceptable for us.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CMI973, patch and alsa release
  2004-02-02  8:06 ` Jaroslav Kysela
@ 2004-02-02 11:19   ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-02-02 11:19 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Davodet Olivier, alsa-devel

At Mon, 2 Feb 2004 09:06:37 +0100 (CET),
Jaroslav wrote:
> 
> On Sun, 1 Feb 2004, Davodet Olivier wrote:
> 
> > Hello,
> > 
> > My config :
> > 
> > Biostar IdeQ 200T with an onboard C-Media CMI9739A 6-Channel AC'97 CODEC
> > Mandrake 9.2 : kernel 2.6.1 with alsa 1.0.1
> > (kernel-smp-2.6.1.1mdk-1-1mdk) and alsa lib 0.9.6
> > 
> > I use the snd-intel8x0 module.
> > 
> > This module does not work very well with this chipset. In fact you can't use
> > PCM. When you launch xmms the sound plays but you can't change the
> > volume...
> > 
> > In the alsa-devel mailing-list I found a patch by C.L. Thien (from 
> > cmedia) for the alsa 1.0.rc2.
> > 
> > I updated my kernel source with this patch, recompiled all and installed the
> > new sound modules.
> > 
> > And now all works fine, I can change the sound volume in xmms, mute, unmute,
> > all works ok ! (except the known bug with quake 3 : the sound loops when you
> > enter in a map and quake3 freezes...)
> > 
> > Do you think this patch can be included by the alsa team in an official 
> > release ?
> 
> No. This patch is unacceptable for us.

well, let me clarify more the problems.

- the patch copies the whole audio data with the software
  attenuation.  we don't want this in the kernel context.
  this should be the job in the user-space, pereferrably in alsa-lib.

- the patch introduces float calculation.
  it's not allowed at all in the kernel code.


the control of ac97 mic and line sharing is a good point.
the similar thing can be implemented more easily by the alsa-lib's
hook plugin, though.


Takashi


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: CMI973, patch and alsa release
@ 2004-02-02 17:32 C.L. Tien - 田承禮
  2004-02-02 18:49 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: C.L. Tien - 田承禮 @ 2004-02-02 17:32 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela; +Cc: Davodet Olivier, alsa-devel

Is there a better way to do digital volume tuning without loss of cmpatability , especially for OSS applications? In the Azalia spec, PCM volume/mute is optional so there will be codecs without volume controls.

Sincerely,
ChenLi Tien

-----Original Message-----
From:	Takashi Iwai [mailto:tiwai@suse.de]
Sent:	2004/2/2 [星期一] 上午 06:19
To:	Jaroslav Kysela
Cc:	Davodet Olivier; alsa-devel@lists.sourceforge.net
Subject:	Re: [Alsa-devel] CMI973, patch and alsa release
At Mon, 2 Feb 2004 09:06:37 +0100 (CET),
Jaroslav wrote:

well, let me clarify more the problems.

- the patch copies the whole audio data with the software
  attenuation.  we don't want this in the kernel context.
  this should be the job in the user-space, pereferrably in alsa-lib.

- the patch introduces float calculation.
  it's not allowed at all in the kernel code.


the control of ac97 mic and line sharing is a good point.
the similar thing can be implemented more easily by the alsa-lib's
hook plugin, though.


Takashi


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CMI973, patch and alsa release
  2004-02-02 17:32 CMI973, patch and alsa release C.L. Tien - 田承禮
@ 2004-02-02 18:49 ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-02-02 18:49 UTC (permalink / raw)
  To: cltien; +Cc: Jaroslav Kysela, Davodet Olivier, alsa-devel

At Tue, 3 Feb 2004 01:32:49 +0800,
C.L. Tien <cltien@cmedia.com.tw> wrote:
> 
> Is there a better way to do digital volume tuning without loss of
> cmpatability , especially for OSS applications? In the Azalia spec,
> PCM volume/mute is optional so there will be codecs without volume
> controls. 

i believe the best way is to implement the dynamic software
attenuation in the alsa-lib, and uses aoss wrapper for the OSS
apps.  in this way, you can emulate the AC3 easily, too.

in the kernel emulation route, it's hard to implement cleanly.
for example, the software attenuation doesn't work with mmap mode
(unless you don't do it in the DMA interrupt context - which is really
 bad idea). 


Takashi


> 
> Sincerely,
> ChenLi Tien
> 
> -----Original Message-----
> From:	Takashi Iwai [mailto:tiwai@suse.de]
> Sent:	2004/2/2 [星期一] 上午 06:19
> To:	Jaroslav Kysela
> Cc:	Davodet Olivier; alsa-devel@lists.sourceforge.net
> Subject:	Re: [Alsa-devel] CMI973, patch and alsa release
> At Mon, 2 Feb 2004 09:06:37 +0100 (CET),
> Jaroslav wrote:
> 
> well, let me clarify more the problems.
> 
> - the patch copies the whole audio data with the software
>   attenuation.  we don't want this in the kernel context.
>   this should be the job in the user-space, pereferrably in alsa-lib.
> 
> - the patch introduces float calculation.
>   it's not allowed at all in the kernel code.
> 
> 
> the control of ac97 mic and line sharing is a good point.
> the similar thing can be implemented more easily by the alsa-lib's
> hook plugin, though.
> 
> 
> Takashi
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 
> 
> 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-02 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 17:32 CMI973, patch and alsa release C.L. Tien - 田承禮
2004-02-02 18:49 ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-02-01 19:17 Davodet Olivier
2004-02-02  8:06 ` Jaroslav Kysela
2004-02-02 11:19   ` 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.