* ALI M5451 (CMI 9739): PCM always muted?
@ 2004-04-17 17:45 Bernhard Rosenkraenzer
2004-04-17 18:10 ` Sergey Vlasov
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Bernhard Rosenkraenzer @ 2004-04-17 17:45 UTC (permalink / raw)
To: alsa-devel
Hi,
On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
snd_ali5451 loads and can adjust mixer settings (except for PCM volume, but I
think that's a limitation of the hardware), but doesn't make any noise -
apparently PCM is always muted (volume fixed at 0?).
Is this a known bug? Didn't have the time to check the code yet...
LLaP
bero
-------------------------------------------------------
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=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-17 17:45 ALI M5451 (CMI 9739): PCM always muted? Bernhard Rosenkraenzer
@ 2004-04-17 18:10 ` Sergey Vlasov
2004-04-19 21:05 ` Nico Schottelius
2004-04-20 10:39 ` Takashi Iwai
2 siblings, 0 replies; 16+ messages in thread
From: Sergey Vlasov @ 2004-04-17 18:10 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
On Sat, Apr 17, 2004 at 07:45:35PM +0200, Bernhard Rosenkraenzer wrote:
> On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> snd_ali5451 loads and can adjust mixer settings (except for PCM volume, but I
> think that's a limitation of the hardware), but doesn't make any noise -
> apparently PCM is always muted (volume fixed at 0?).
>
> Is this a known bug? Didn't have the time to check the code yet...
There was a report that on a similar codec/controller combination such
problem was caused by the "IEC958 Capture Monitor" switch turned on.
Turning this switch off in alsamixer fixed the problem.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-17 17:45 ALI M5451 (CMI 9739): PCM always muted? Bernhard Rosenkraenzer
2004-04-17 18:10 ` Sergey Vlasov
@ 2004-04-19 21:05 ` Nico Schottelius
2004-04-20 10:39 ` Takashi Iwai
2 siblings, 0 replies; 16+ messages in thread
From: Nico Schottelius @ 2004-04-19 21:05 UTC (permalink / raw)
To: Bernhard Rosenkraenzer; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
Hello Bernhard,
Bernhard Rosenkraenzer [Sat, Apr 17, 2004 at 07:45:35PM +0200]:
> Hi,
> On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> snd_ali5451 loads and can adjust mixer settings (except for PCM volume, but I
> think that's a limitation of the hardware),
I don't really think so, as the version I had in my old Acer TM 524TEV
allowed adjusting.
If no adjusting of pcm is available, howto adjust volume? Master doesn't
affect any setting.
> but doesn't make any noise -
> apparently PCM is always muted (volume fixed at 0?).
Just unmute it with alsamixer, but it will raise volume to highest level.
Nico
--
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-17 17:45 ALI M5451 (CMI 9739): PCM always muted? Bernhard Rosenkraenzer
2004-04-17 18:10 ` Sergey Vlasov
2004-04-19 21:05 ` Nico Schottelius
@ 2004-04-20 10:39 ` Takashi Iwai
2004-04-20 17:39 ` Bernhard Rosenkraenzer
2004-04-21 12:04 ` Nico Schottelius
2 siblings, 2 replies; 16+ messages in thread
From: Takashi Iwai @ 2004-04-20 10:39 UTC (permalink / raw)
To: Bernhard Rosenkraenzer; +Cc: alsa-devel
At Sat, 17 Apr 2004 19:45:35 +0200,
Bernhard Rosenkraenzer wrote:
>
> Hi,
> On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> snd_ali5451 loads and can adjust mixer settings (except for PCM volume, but I
> think that's a limitation of the hardware), but doesn't make any noise -
> apparently PCM is always muted (volume fixed at 0?).
there is no PCM volume on CM9739. it has only PCM mute switch.
you can mute on/off via 'M' key of alsamixer.
Takashi
-------------------------------------------------------
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=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-20 10:39 ` Takashi Iwai
@ 2004-04-20 17:39 ` Bernhard Rosenkraenzer
2004-04-20 18:39 ` Sergey Vlasov
2004-04-21 12:04 ` Nico Schottelius
1 sibling, 1 reply; 16+ messages in thread
From: Bernhard Rosenkraenzer @ 2004-04-20 17:39 UTC (permalink / raw)
To: alsa-devel
On Tuesday 20 April 2004 12:39, Takashi Iwai wrote:
> > Hi,
> > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> > snd_ali5451 loads and can adjust mixer settings (except for PCM volume,
> > but I think that's a limitation of the hardware), but doesn't make any
> > noise - apparently PCM is always muted (volume fixed at 0?).
>
> there is no PCM volume on CM9739. it has only PCM mute switch.
> you can mute on/off via 'M' key of alsamixer.
I knew that -- it doesn't make any sound even if it's unmuted though.
Nothing useful in dmesg output either.
LLaP
bero
-------------------------------------------------------
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=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-20 17:39 ` Bernhard Rosenkraenzer
@ 2004-04-20 18:39 ` Sergey Vlasov
2004-04-20 19:25 ` Bernhard Rosenkraenzer
0 siblings, 1 reply; 16+ messages in thread
From: Sergey Vlasov @ 2004-04-20 18:39 UTC (permalink / raw)
To: Bernhard Rosenkraenzer; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 728 bytes --]
On Tue, Apr 20, 2004 at 07:39:54PM +0200, Bernhard Rosenkraenzer wrote:
> On Tuesday 20 April 2004 12:39, Takashi Iwai wrote:
> > > Hi,
> > > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> > > snd_ali5451 loads and can adjust mixer settings (except for PCM volume,
> > > but I think that's a limitation of the hardware), but doesn't make any
> > > noise - apparently PCM is always muted (volume fixed at 0?).
> >
> > there is no PCM volume on CM9739. it has only PCM mute switch.
> > you can mute on/off via 'M' key of alsamixer.
>
> I knew that -- it doesn't make any sound even if it's unmuted though.
> Nothing useful in dmesg output either.
And what does "amixer contents" show?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-20 18:39 ` Sergey Vlasov
@ 2004-04-20 19:25 ` Bernhard Rosenkraenzer
2004-04-21 11:28 ` Sergey Vlasov
0 siblings, 1 reply; 16+ messages in thread
From: Bernhard Rosenkraenzer @ 2004-04-20 19:25 UTC (permalink / raw)
To: alsa-devel; +Cc: Sergey Vlasov
On Tuesday 20 April 2004 20:39, Sergey Vlasov wrote:
> > > > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID
> > > > 1019:0f22), snd_ali5451 loads and can adjust mixer settings (except
> > > > for PCM volume, but I think that's a limitation of the hardware), but
> > > > doesn't make any noise - apparently PCM is always muted (volume fixed
> > > > at 0?).
>
> And what does "amixer contents" show?
numid=9,iface=MIXER,name='Master Mono Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=10,iface=MIXER,name='Master Mono Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
: values=31
numid=1,iface=MIXER,name='Master Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=2,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=31,31
numid=26,iface=MIXER,name='PCM Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=7,iface=MIXER,name='Surround Playback Switch'
; type=BOOLEAN,access=rw---,values=2
: values=on,on
numid=8,iface=MIXER,name='Surround Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=31,31
numid=3,iface=MIXER,name='Center Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=4,iface=MIXER,name='Center Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
: values=0
numid=5,iface=MIXER,name='LFE Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=6,iface=MIXER,name='LFE Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
: values=0
numid=41,iface=MIXER,name='Line-In As Surround'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=18,iface=MIXER,name='Line Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=19,iface=MIXER,name='Line Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=0,0
numid=20,iface=MIXER,name='CD Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=21,iface=MIXER,name='CD Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=0,0
numid=17,iface=MIXER,name='Mic Boost (+20dB)'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=31,iface=MIXER,name='Mic Select'
; type=ENUMERATED,access=rw---,values=1,items=2
; Item #0 'Mic1'
; Item #1 'Mic2'
: values=0
numid=15,iface=MIXER,name='Mic Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=16,iface=MIXER,name='Mic Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
: values=0
numid=13,iface=MIXER,name='Phone Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=14,iface=MIXER,name='Phone Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0
: values=0
numid=22,iface=MIXER,name='Video Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=23,iface=MIXER,name='Video Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=0,0
numid=11,iface=MIXER,name='PC Speaker Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=12,iface=MIXER,name='PC Speaker Playback Volume'
; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0
: values=0
numid=24,iface=MIXER,name='Aux Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=25,iface=MIXER,name='Aux Playback Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0
: values=0,0
numid=30,iface=MIXER,name='Mono Output Select'
; type=ENUMERATED,access=rw---,values=1,items=2
; Item #0 'Mix'
; Item #1 'Mic'
: values=0
numid=27,iface=MIXER,name='Capture Source'
; type=ENUMERATED,access=rw---,values=2,items=8
; Item #0 'Mic'
; Item #1 'CD'
; Item #2 'Video'
; Item #3 'Aux'
; Item #4 'Line'
; Item #5 'Mix'
; Item #6 'Mix Mono'
; Item #7 'Phone'
: values=5,5
numid=28,iface=MIXER,name='Capture Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=29,iface=MIXER,name='Capture Volume'
; type=INTEGER,access=rw---,values=2,min=0,max=15,step=0
: values=0,0
numid=38,iface=MIXER,name='IEC958 Capture Valid Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=32,iface=MIXER,name='IEC958 Playback Con Mask'
; type=IEC958,access=r----,values=1
: values=?
numid=33,iface=MIXER,name='IEC958 Playback Pro Mask'
; type=IEC958,access=r----,values=1
: values=?
numid=36,iface=MIXER,name='IEC958 Playback AC97-SPSA'
; type=INTEGER,access=rw---,values=1,min=0,max=3,step=0
: values=3
numid=34,iface=MIXER,name='IEC958 Playback Default'
; type=IEC958,access=rw---,values=1
: values=?
numid=37,iface=MIXER,name='IEC958 Playback Source'
; type=ENUMERATED,access=rw---,values=1,items=2
; Item #0 'Analog'
; Item #1 'Digital'
: values=0
numid=35,iface=MIXER,name='IEC958 Playback Switch'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=39,iface=MIXER,name='IEC958 Capture Monitor'
; type=BOOLEAN,access=rw---,values=1
: values=on
numid=40,iface=MIXER,name='IEC958 Capture Switch'
; type=BOOLEAN,access=rw---,values=1
: values=off
numid=42,iface=MIXER,name='External Amplifier'
; type=BOOLEAN,access=rw---,values=1
: values=on
-------------------------------------------------------
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=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-20 19:25 ` Bernhard Rosenkraenzer
@ 2004-04-21 11:28 ` Sergey Vlasov
2004-04-21 12:42 ` Takashi Iwai
0 siblings, 1 reply; 16+ messages in thread
From: Sergey Vlasov @ 2004-04-21 11:28 UTC (permalink / raw)
To: Bernhard Rosenkraenzer; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 922 bytes --]
On Tue, Apr 20, 2004 at 09:25:12PM +0200, Bernhard Rosenkraenzer wrote:
> On Tuesday 20 April 2004 20:39, Sergey Vlasov wrote:
> > > > > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID
> > > > > 1019:0f22), snd_ali5451 loads and can adjust mixer settings (except
> > > > > for PCM volume, but I think that's a limitation of the hardware), but
> > > > > doesn't make any noise - apparently PCM is always muted (volume fixed
> > > > > at 0?).
> >
> > And what does "amixer contents" show?
>
> numid=35,iface=MIXER,name='IEC958 Playback Switch'
> ; type=BOOLEAN,access=rw---,values=1
> : values=on
> numid=39,iface=MIXER,name='IEC958 Capture Monitor'
> ; type=BOOLEAN,access=rw---,values=1
> : values=on
Did you try to turn these things off?
> numid=42,iface=MIXER,name='External Amplifier'
> ; type=BOOLEAN,access=rw---,values=1
> : values=on
Or maybe this (who knows where it is hooked really).
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-20 10:39 ` Takashi Iwai
2004-04-20 17:39 ` Bernhard Rosenkraenzer
@ 2004-04-21 12:04 ` Nico Schottelius
2004-04-21 12:43 ` Takashi Iwai
1 sibling, 1 reply; 16+ messages in thread
From: Nico Schottelius @ 2004-04-21 12:04 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Bernhard Rosenkraenzer, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]
Takashi Iwai [Tue, Apr 20, 2004 at 12:39:35PM +0200]:
> At Sat, 17 Apr 2004 19:45:35 +0200,
> Bernhard Rosenkraenzer wrote:
> >
> > Hi,
> > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> > snd_ali5451 loads and can adjust mixer settings (except for PCM volume, but I
> > think that's a limitation of the hardware), but doesn't make any noise -
> > apparently PCM is always muted (volume fixed at 0?).
>
> there is no PCM volume on CM9739. it has only PCM mute switch.
> you can mute on/off via 'M' key of alsamixer.
Does that mean I have _no_ possibility to adjust the volume?
How do I find out if I got the CM9739? This is what lspci shows:
-------------------- snip ----------------
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Au
dio Device (rev 02)
Subsystem: Elitegroup Computer Systems: Unknown device 0f22
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping
- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <M
Abort- >SERR+ <PERR+
Latency: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at d800 [size=256]
Region 1: Memory at effac000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>
-------------------- snap ----------------
Greetings,
Nico
--
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-21 11:28 ` Sergey Vlasov
@ 2004-04-21 12:42 ` Takashi Iwai
0 siblings, 0 replies; 16+ messages in thread
From: Takashi Iwai @ 2004-04-21 12:42 UTC (permalink / raw)
To: Sergey Vlasov; +Cc: Bernhard Rosenkraenzer, alsa-devel
At Wed, 21 Apr 2004 15:28:03 +0400,
Sergey Vlasov wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> On Tue, Apr 20, 2004 at 09:25:12PM +0200, Bernhard Rosenkraenzer wrote:
> > On Tuesday 20 April 2004 20:39, Sergey Vlasov wrote:
> > > > > > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID
> > > > > > 1019:0f22), snd_ali5451 loads and can adjust mixer settings (except
> > > > > > for PCM volume, but I think that's a limitation of the hardware), but
> > > > > > doesn't make any noise - apparently PCM is always muted (volume fixed
> > > > > > at 0?).
> > >
> > > And what does "amixer contents" show?
> >
> > numid=35,iface=MIXER,name='IEC958 Playback Switch'
> > ; type=BOOLEAN,access=rw---,values=1
> > : values=on
> > numid=39,iface=MIXER,name='IEC958 Capture Monitor'
> > ; type=BOOLEAN,access=rw---,values=1
> > : values=on
>
> Did you try to turn these things off?
yes 'iec958 capture monitor' should be off, at least.
> > numid=42,iface=MIXER,name='External Amplifier'
> > ; type=BOOLEAN,access=rw---,values=1
> > : values=on
>
> Or maybe this (who knows where it is hooked really).
this should be on. (it's no longer 'power down' switch).
--
Takashi Iwai <tiwai@suse.de> ALSA Developer - www.alsa-project.org
-------------------------------------------------------
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=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-21 12:04 ` Nico Schottelius
@ 2004-04-21 12:43 ` Takashi Iwai
2004-04-21 22:00 ` Nico Schottelius
0 siblings, 1 reply; 16+ messages in thread
From: Takashi Iwai @ 2004-04-21 12:43 UTC (permalink / raw)
To: Nico Schottelius; +Cc: Bernhard Rosenkraenzer, alsa-devel
At Wed, 21 Apr 2004 14:04:54 +0200,
Nico Schottelius wrote:
>
> [1 <text/plain; us-ascii (quoted-printable)>]
> Takashi Iwai [Tue, Apr 20, 2004 at 12:39:35PM +0200]:
> > At Sat, 17 Apr 2004 19:45:35 +0200,
> > Bernhard Rosenkraenzer wrote:
> > >
> > > Hi,
> > > On an ALI M5451 (Using a CMI 9739 - PCI ID 10b9:5451 Sub-ID 1019:0f22),
> > > snd_ali5451 loads and can adjust mixer settings (except for PCM volume, but I
> > > think that's a limitation of the hardware), but doesn't make any noise -
> > > apparently PCM is always muted (volume fixed at 0?).
> >
> > there is no PCM volume on CM9739. it has only PCM mute switch.
> > you can mute on/off via 'M' key of alsamixer.
>
> Does that mean I have _no_ possibility to adjust the volume?
right. it doesn't support the PCM volume but you can basically adjust
the master volume.
> How do I find out if I got the CM9739? This is what lspci shows:
you can see it in /proc/asound/card0/codec97#0/ac97#0-0.
Takashi
-------------------------------------------------------
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=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-21 12:43 ` Takashi Iwai
@ 2004-04-21 22:00 ` Nico Schottelius
2004-05-02 10:18 ` Nico Schottelius
0 siblings, 1 reply; 16+ messages in thread
From: Nico Schottelius @ 2004-04-21 22:00 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Bernhard Rosenkraenzer, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]
Takashi Iwai [Wed, Apr 21, 2004 at 02:43:17PM +0200]:
> > > there is no PCM volume on CM9739. it has only PCM mute switch.
> > > you can mute on/off via 'M' key of alsamixer.
> >
> > Does that mean I have _no_ possibility to adjust the volume?
>
> right. it doesn't support the PCM volume but you can basically adjust
> the master volume.
This doesn't affect the sound volume, tested it again some seconds ago.
Some weeks ago I even tried it with _every_ switch available.
I just can switch it on or off, but no volume adjusting.
And using master doesn't do anything at all.
Do you have any hint for me? Perhaps I am doing something wrong?
> > How do I find out if I got the CM9739? This is what lspci shows:
>
> you can see it in /proc/asound/card0/codec97#0/ac97#0-0.
For you information, perhaps you need it:
0-0/0: C-Media Electronics CMI9739
Capabilities :
DAC resolution : 16-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=3/4 SPDIF
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
Have a nice day,
Nico
--
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-04-21 22:00 ` Nico Schottelius
@ 2004-05-02 10:18 ` Nico Schottelius
2004-05-03 7:53 ` olig9
2004-05-03 8:04 ` Clemens Ladisch
0 siblings, 2 replies; 16+ messages in thread
From: Nico Schottelius @ 2004-05-02 10:18 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Bernhard Rosenkraenzer, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2088 bytes --]
Just wanted to ask whether someone read my mail and if anyone knows
if there is the possibility to adjust sound volume or not.
Thanks for any answer/hint,
Nico
Nico Schottelius [Thu, Apr 22, 2004 at 12:00:31AM +0200]:
> Takashi Iwai [Wed, Apr 21, 2004 at 02:43:17PM +0200]:
> > > > there is no PCM volume on CM9739. it has only PCM mute switch.
> > > > you can mute on/off via 'M' key of alsamixer.
> > >
> > > Does that mean I have _no_ possibility to adjust the volume?
> >
> > right. it doesn't support the PCM volume but you can basically adjust
> > the master volume.
>
> This doesn't affect the sound volume, tested it again some seconds ago.
> Some weeks ago I even tried it with _every_ switch available.
> I just can switch it on or off, but no volume adjusting.
>
> And using master doesn't do anything at all.
>
> Do you have any hint for me? Perhaps I am doing something wrong?
>
> > > How do I find out if I got the CM9739? This is what lspci shows:
> >
> > you can see it in /proc/asound/card0/codec97#0/ac97#0-0.
>
> For you information, perhaps you need it:
>
> 0-0/0: C-Media Electronics CMI9739
>
> Capabilities :
> DAC resolution : 16-bit
> ADC resolution : 16-bit
> 3D enhancement : No 3D Stereo Enhancement
>
> Current setup
> Mic gain : +0dB [+0dB]
> POP path : pre 3D
> Sim. stereo : off
> 3D enhancement : off
> Loudness : off
> Mono output : MIX
> Mic select : Mic1
> ADC/DAC loopback : off
> Extended ID : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA
> Extended status : SPCV LDAC SDAC CDAC SPDIF=3/4 SPDIF
> SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
>
> Have a nice day,
>
> Nico
>
> --
> Keep it simple & stupid, use what's available.
> pgp: 8D0E E27A | Nico Schottelius
> http://nerd-hosting.net | http://linux.schottelius.org
--
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-05-02 10:18 ` Nico Schottelius
@ 2004-05-03 7:53 ` olig9
2004-05-03 8:04 ` Clemens Ladisch
1 sibling, 0 replies; 16+ messages in thread
From: olig9 @ 2004-05-03 7:53 UTC (permalink / raw)
To: Nico Schottelius, alsa-devel
Hi,
I have the same problem and haven't found a solution (yet).
Nico Schottelius wrote:
> Just wanted to ask whether someone read my mail and if anyone knows
> if there is the possibility to adjust sound volume or not.
>
> Thanks for any answer/hint,
>
> Nico
>
> Nico Schottelius [Thu, Apr 22, 2004 at 12:00:31AM +0200]:
>
>>Takashi Iwai [Wed, Apr 21, 2004 at 02:43:17PM +0200]:
>>
>>>>>there is no PCM volume on CM9739. it has only PCM mute switch.
>>>>>you can mute on/off via 'M' key of alsamixer.
>>>>
>>>>Does that mean I have _no_ possibility to adjust the volume?
>>>
>>>right. it doesn't support the PCM volume but you can basically adjust
>>>the master volume.
>>
>>This doesn't affect the sound volume, tested it again some seconds ago.
>>Some weeks ago I even tried it with _every_ switch available.
>>I just can switch it on or off, but no volume adjusting.
>>
>>And using master doesn't do anything at all.
>>
>>Do you have any hint for me? Perhaps I am doing something wrong?
>>
I got the same results, even when I set the soundchip registers
"manually". I didn't find any register at all that changes the volume
(apart from muting, that is).
CMedia's tech documents say that there is no PCM volume register (only
PCM muting), but it also says that there _is_ a Master volume register.
But changing this register has no effect. I guess it's a hardware bug then.
Btw. CMedia's OSS driver does volume changing by calculating it inside
the driver. Looks like they know the problem quite well :/
Until there's a CMI9739 driver for ALSA or a software volume changing
plugin, this chip isn't very useful...
Oliver
>>
>>>>How do I find out if I got the CM9739? This is what lspci shows:
>>>
>>>you can see it in /proc/asound/card0/codec97#0/ac97#0-0.
>>
>>For you information, perhaps you need it:
>>
>>0-0/0: C-Media Electronics CMI9739
>>
>>Capabilities :
>>DAC resolution : 16-bit
>>ADC resolution : 16-bit
>>3D enhancement : No 3D Stereo Enhancement
>>
>>Current setup
>>Mic gain : +0dB [+0dB]
>>POP path : pre 3D
>>Sim. stereo : off
>>3D enhancement : off
>>Loudness : off
>>Mono output : MIX
>>Mic select : Mic1
>>ADC/DAC loopback : off
>>Extended ID : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA
>>Extended status : SPCV LDAC SDAC CDAC SPDIF=3/4 SPDIF
>>SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
>>
>>Have a nice day,
>>
>>Nico
>>
>>--
>>Keep it simple & stupid, use what's available.
>>pgp: 8D0E E27A | Nico Schottelius
>>http://nerd-hosting.net | http://linux.schottelius.org
>
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: ALI M5451 (CMI 9739): PCM always muted?
2004-05-02 10:18 ` Nico Schottelius
2004-05-03 7:53 ` olig9
@ 2004-05-03 8:04 ` Clemens Ladisch
2004-05-03 18:24 ` Software volume via LADSPA and .asoundrc Erik Inge Bolsø
1 sibling, 1 reply; 16+ messages in thread
From: Clemens Ladisch @ 2004-05-03 8:04 UTC (permalink / raw)
To: Nico Schottelius; +Cc: Bernhard Rosenkraenzer, alsa-devel
Nico Schottelius wrote:
> anyone knows if there is the possibility to adjust sound volume or
> not.
CMI hardware doesn't have this capability.
It would be possible to write a plugin that scales sound data in
software before sending it to the device, but nobody has done this
yet.
Regards,
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
* Software volume via LADSPA and .asoundrc
2004-05-03 8:04 ` Clemens Ladisch
@ 2004-05-03 18:24 ` Erik Inge Bolsø
0 siblings, 0 replies; 16+ messages in thread
From: Erik Inge Bolsø @ 2004-05-03 18:24 UTC (permalink / raw)
To: Clemens Ladisch
Cc: Nico Schottelius, Bernhard Rosenkraenzer, alsa-devel mailing list,
alsa-user mailing list
On Mon, 3 May 2004, Clemens Ladisch wrote:
>Nico Schottelius wrote:
>> anyone knows if there is the possibility to adjust sound volume or
>> not.
>
>CMI hardware doesn't have this capability.
>
>It would be possible to write a plugin that scales sound data in
>software before sending it to the device, but nobody has done this
>yet.
Install LADSPA, then try this in your .asoundrc ... adjust the "0.5" to
taste.
Having it show up as an adjustable mixer control for runtime tuning would
be even neater, of course.
pcm._volume {
type ladspa
slave.pcm "plughw:0,0";
path "/usr/local/lib/ladspa";
playback_plugins [
{
label amp_mono
input {
controls
[ 0.5 ]
}
}
]
}
pcm.!default {
type plug
slave.pcm "_volume";
}
--
Erik I. Bolsø | email: <knan at mo.himolde.no>
The UNIX philosophy basically involves giving you enough rope to
hang yourself. And then a couple of feet more, just to be sure.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2004-05-03 18:22 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-17 17:45 ALI M5451 (CMI 9739): PCM always muted? Bernhard Rosenkraenzer
2004-04-17 18:10 ` Sergey Vlasov
2004-04-19 21:05 ` Nico Schottelius
2004-04-20 10:39 ` Takashi Iwai
2004-04-20 17:39 ` Bernhard Rosenkraenzer
2004-04-20 18:39 ` Sergey Vlasov
2004-04-20 19:25 ` Bernhard Rosenkraenzer
2004-04-21 11:28 ` Sergey Vlasov
2004-04-21 12:42 ` Takashi Iwai
2004-04-21 12:04 ` Nico Schottelius
2004-04-21 12:43 ` Takashi Iwai
2004-04-21 22:00 ` Nico Schottelius
2004-05-02 10:18 ` Nico Schottelius
2004-05-03 7:53 ` olig9
2004-05-03 8:04 ` Clemens Ladisch
2004-05-03 18:24 ` Software volume via LADSPA and .asoundrc Erik Inge Bolsø
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.