All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: CMI9780 and ALSA volume control
@ 2004-04-12  3:04 C.L. Tien - 田承禮
  2004-04-12 10:47 ` André Heßling
  2004-04-13 17:11 ` Takashi Iwai
  0 siblings, 2 replies; 7+ messages in thread
From: C.L. Tien - 田承禮 @ 2004-04-12  3:04 UTC (permalink / raw)
  To: Andre Hesling, alsa-devel, alsa-user

9780 has no PCM volume control, master volume control doesn't control the PCM, either. This feature is the same as other C-Media AC97 Codecs.

I once posted a patch that tune PCM volume in SW way (change PCM data in DMA buffer), but it was not accepted.

Sincerely,
ChenLi Tien


-----Original Message-----
From:	Andre Hesling [mailto:ahessling@gmx.de]
Sent:	2004/4/11 [星期日] 下午 03:23
To:	alsa-devel@lists.sourceforge.net; alsa-user@lists.sourceforge.net
Cc:	
Subject:	[Alsa-devel] CMI9780 and ALSA volume control
Hi!

I've recently bought a new PC from a german manufacteur called Aldi/Medion. It has the CMI9780 chip on board which is fairly new and compatible to AC97.
In my kernel 2.6.5-mm1 with ALSA 1.0.4rc2 I activated support for the Intel controller (intel8x0) and it seemed to work just fine.
I get sound output and alsamixer has all important controls activated.
But the controls "Master" and "PCM" have no function. I can only mute/unmute PCM. Master has absolutely no function.
Fortunately the output level is rather high and in XMMS I can use the software mixer of the ALSA plugin.

But it would be nice if I could control these things with alsamixer or such a tool.

Any hints?

Thank you!

Here is an output of aadebug:
ALSA Audio Debug v0.0.7 - So Apr 11 19:07:27 GMT 2004
http://alsa.opensrc.org/?aadebug

Kernel ---------------------------------------------ALSA Audio Debug v0.0.7 - So Apr 11 19:07:27 GMT 2004
http://alsa.opensrc.org/?aadebug

Kernel ----------------------------------------------------
Linux merkur 2.6.5-mm1 #2 SMP Sun Apr 11 11:50:44 GMT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------

Modules Conf ----------------------------------------------
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
alias char-major-116 snd
alias char-major-14 soundcore
## You need to customise this section for your specific sound card(s)
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
Compiled on Apr  9 2004 for kernel 2.6.5-mm1 (SMP).
0 [ICH5           ]: ICH - Intel ICH5
                     Intel ICH5 at 0xfa801000, irq 17
  1:       : sequencer
  0: [0- 0]: ctl
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0p  pcmC0D2c  pcmC0D4p  timer
pcmC0D0c   pcmC0D1c  pcmC0D3c  seq

CPU -------------------------------------------------------
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
cpu MHz		: 2992.756
cpu MHz		: 2992.756

RAM -------------------------------------------------------
MemTotal:       515672 kB
SwapTotal:      755012 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:02:02.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
-------
Linux rambo 2.6.5-mm1 #2 SMP Sun Apr 11 11:50:44 GMT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------

Modules Conf ----------------------------------------------
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
alias char-major-116 snd
alias char-major-14 soundcore
## You need to customise this section for your specific sound card(s)
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
Compiled on Apr  9 2004 for kernel 2.6.5-mm1 (SMP).
0 [ICH5           ]: ICH - Intel ICH5
                     Intel ICH5 at 0xfa801000, irq 17
  1:       : sequencer
  0: [0- 0]: ctl
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0p  pcmC0D2c  pcmC0D4p  timer
pcmC0D0c   pcmC0D1c  pcmC0D3c  seq

CPU -------------------------------------------------------
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
cpu MHz		: 2992.756
cpu MHz		: 2992.756

RAM -------------------------------------------------------
MemTotal:       515672 kB
SwapTotal:      755012 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:02:02.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
-- 
Regards,
  Andre 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=ick
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread
* CMI9780 and ALSA volume control
@ 2004-04-11 19:23 André Heßling
  0 siblings, 0 replies; 7+ messages in thread
From: André Heßling @ 2004-04-11 19:23 UTC (permalink / raw)
  To: alsa-devel, alsa-user

Hi!

I've recently bought a new PC from a german manufacteur called Aldi/Medion. It has the CMI9780 chip on board which is fairly new and compatible to AC97.
In my kernel 2.6.5-mm1 with ALSA 1.0.4rc2 I activated support for the Intel controller (intel8x0) and it seemed to work just fine.
I get sound output and alsamixer has all important controls activated.
But the controls "Master" and "PCM" have no function. I can only mute/unmute PCM. Master has absolutely no function.
Fortunately the output level is rather high and in XMMS I can use the software mixer of the ALSA plugin.

But it would be nice if I could control these things with alsamixer or such a tool.

Any hints?

Thank you!

Here is an output of aadebug:
ALSA Audio Debug v0.0.7 - So Apr 11 19:07:27 GMT 2004
http://alsa.opensrc.org/?aadebug

Kernel ---------------------------------------------ALSA Audio Debug v0.0.7 - So Apr 11 19:07:27 GMT 2004
http://alsa.opensrc.org/?aadebug

Kernel ----------------------------------------------------
Linux merkur 2.6.5-mm1 #2 SMP Sun Apr 11 11:50:44 GMT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------

Modules Conf ----------------------------------------------
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
alias char-major-116 snd
alias char-major-14 soundcore
## You need to customise this section for your specific sound card(s)
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
Compiled on Apr  9 2004 for kernel 2.6.5-mm1 (SMP).
0 [ICH5           ]: ICH - Intel ICH5
                     Intel ICH5 at 0xfa801000, irq 17
  1:       : sequencer
  0: [0- 0]: ctl
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0p  pcmC0D2c  pcmC0D4p  timer
pcmC0D0c   pcmC0D1c  pcmC0D3c  seq

CPU -------------------------------------------------------
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
cpu MHz		: 2992.756
cpu MHz		: 2992.756

RAM -------------------------------------------------------
MemTotal:       515672 kB
SwapTotal:      755012 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:02:02.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
-------
Linux rambo 2.6.5-mm1 #2 SMP Sun Apr 11 11:50:44 GMT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

Loaded Modules --------------------------------------------

Modules Conf ----------------------------------------------
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
alias char-major-116 snd
alias char-major-14 soundcore
## You need to customise this section for your specific sound card(s)
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
Compiled on Apr  9 2004 for kernel 2.6.5-mm1 (SMP).
0 [ICH5           ]: ICH - Intel ICH5
                     Intel ICH5 at 0xfa801000, irq 17
  1:       : sequencer
  0: [0- 0]: ctl
 20: [0- 4]: digital audio playback
 27: [0- 3]: digital audio capture
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
 33:       : timer
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1

Dev Snd ---------------------------------------------------
controlC0  pcmC0D0p  pcmC0D2c  pcmC0D4p  timer
pcmC0D0c   pcmC0D1c  pcmC0D3c  seq

CPU -------------------------------------------------------
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
model name	: Intel(R) Pentium(R) 4 CPU 3.00GHz
cpu MHz		: 2992.756
cpu MHz		: 2992.756

RAM -------------------------------------------------------
MemTotal:       515672 kB
SwapTotal:      755012 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:02:02.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
-- 
Regards,
  André 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click

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

end of thread, other threads:[~2004-04-13 21:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-12  3:04 CMI9780 and ALSA volume control C.L. Tien - 田承禮
2004-04-12 10:47 ` André Heßling
2004-04-12 11:46   ` Oliver Gerlich
2004-04-13 17:11 ` Takashi Iwai
2004-04-13 18:38   ` Måns Rullgård
2004-04-13 21:32     ` André Heßling
  -- strict thread matches above, loose matches on Subject: below --
2004-04-11 19:23 André Heßling

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.