Skip to contentSkip to conversation

ALI M5451 (CMI 9739): PCM always muted?

DISCUSSION Bernhard Rosenkraenzer 7 participants 16 messages Apr 17, 2004 – May 3, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Bernhard Rosenkraenzer

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.

#2 lore raw
In reply to Bernhard Rosenkraenzer

Hello Bernhard,

Bernhard Rosenkraenzer [Sat, Apr 17, 2004 at 07:45:35PM +0200]:

Quoted 4 lines

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.

Quoted 2 lines

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

Signature · 3 lines
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A          | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
#3 lore raw
In reply to Bernhard Rosenkraenzer

At Sat, 17 Apr 2004 19:45:35 +0200,

Quoted 6 lines · Bernhard Rosenkraenzer

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

#4 lore raw
Quoted 8 lines · Takashi Iwai
Quoted 5 lines

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

#5 lore raw
Quoted 7 lines · Bernhard Rosenkraenzer
Quoted 6 lines · Takashi Iwai
Quoted 5 lines

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?).

Quoted 5 lines
Quoted 2 lines

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?

#6 lore raw
Quoted 7 lines · Sergey Vlasov
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

#7 lore raw
Quoted 7 lines · Bernhard Rosenkraenzer
Quoted 6 lines · Sergey Vlasov
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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?).

Quoted 8 lines
Quoted 1 line

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?

Quoted 3 lines

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).

#8 lore raw

At Wed, 21 Apr 2004 15:28:03 +0400,

Quoted 12 lines · Sergey Vlasov

[1 <text/plain; us-ascii (7bit)>]

Quoted 9 lines · Bernhard Rosenkraenzer
Quoted 7 lines · Sergey Vlasov
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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?

Quoted 8 lines
Quoted 6 lines

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.

Quoted 5 lines
Quoted 3 lines

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 <[email protected]> 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

#9 lore raw
In reply to Takashi Iwai

Takashi Iwai [Tue, Apr 20, 2004 at 12:39:35PM +0200]:

Quoted 11 lines

At Sat, 17 Apr 2004 19:45:35 +0200,

Quoted 6 lines · Bernhard Rosenkraenzer

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

Signature · 3 lines
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A          | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
#10 lore raw

At Wed, 21 Apr 2004 14:04:54 +0200,

Quoted 12 lines · Nico Schottelius

[1 <text/plain; us-ascii (quoted-printable)>] Takashi Iwai [Tue, Apr 20, 2004 at 12:39:35PM +0200]:

Quoted 9 lines

At Sat, 17 Apr 2004 19:45:35 +0200,

Quoted 6 lines · Bernhard Rosenkraenzer

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?).

Quoted 4 lines
Quoted 2 lines

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.

Quoted 1 line

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

#11 lore raw

Takashi Iwai [Wed, Apr 21, 2004 at 02:43:17PM +0200]:

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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?

Quoted 3 lines
Quoted 1 line

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

Signature · 3 lines
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A          | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
#12 lore raw

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]:

Quoted 51 lines

Takashi Iwai [Wed, Apr 21, 2004 at 02:43:17PM +0200]:

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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?

Quoted 3 lines
Quoted 1 line

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

Signature · 3 lines
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A          | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
Signature · 3 lines
Keep it simple & stupid, use what's available.
pgp: 8D0E E27A          | Nico Schottelius
http://nerd-hosting.net | http://linux.schottelius.org
#13 lore raw

Hi,
I have the same problem and haven't found a solution (yet).

Quoted 27 lines · Nico Schottelius

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]:

Quoted 18 lines

Takashi Iwai [Wed, Apr 21, 2004 at 02:43:17PM +0200]:

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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

Quoted 27 lines
Quoted 27 lines
Quoted 4 lines
Quoted 2 lines

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

Quoted 9 lines
Quoted 8 lines

Have a nice day,

Nico

Signature · 3 lines
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

#14 lore raw
In reply to Nico Schottelius
Quoted 2 lines · Nico Schottelius

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

#15 lore raw

Software volume via LADSPA and .asoundrc

Quoted 9 lines · Clemens Ladisch
Quoted 2 lines · Nico Schottelius

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_id�66&op=click