Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-05-03 Thread Clemens Ladisch
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=3149alloc_id=8166op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-05-02 Thread 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]:
 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


pgp0.pgp
Description: PGP signature


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-21 Thread Nico Schottelius
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


pgp0.pgp
Description: PGP signature


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-21 Thread Takashi Iwai
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 [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=1470alloc_id=3638op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-21 Thread Takashi Iwai
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=1470alloc_id=3638op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-21 Thread Nico Schottelius
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


pgp0.pgp
Description: PGP signature


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-20 Thread Takashi Iwai
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=1470alloc_id=3638op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-20 Thread Bernhard Rosenkraenzer
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=1470alloc_id=3638op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-20 Thread Bernhard Rosenkraenzer
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

Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-19 Thread Nico Schottelius
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


pgp0.pgp
Description: PGP signature


[Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-17 Thread 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?).

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=1470alloc_id=3638op=click
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] ALI M5451 (CMI 9739): PCM always muted?

2004-04-17 Thread Sergey Vlasov
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.


pgp0.pgp
Description: PGP signature