All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with alsamixer, amixer
@ 2002-10-10 15:08 Miha Tomsic
  2002-10-10 15:18 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Miha Tomsic @ 2002-10-10 15:08 UTC (permalink / raw)
  To: alsa devel

	Hello!

This is an old problem I reported a year or so ago. 

I have SBPCI 128 with ak4531 codec. The problem is that I can't set
capture to certain channels (the channels that are using capture route
CD, Line, PCM 1) if they are muted. Or if capture is already set, muting
those channels will switch capture off.

This is happening if I am using alsamixer or amixer with sset. If I am
using amixer with cset I can set anything I want. 

I guess the problem lies in the ak4531 and the way simple controls are
handled. I don't know enough about alsa internals so poking around the
sources of alsamixer, amixer and ak4531 didn't help me understand what
should I do to make it working.

What is the relation of sset to cset ? 

Can this be addressed generally or should there be a workaround for
ak4531?

Thanks and take care,

	Miha...







-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Problem with alsamixer, amixer
  2002-10-10 15:08 Problem with alsamixer, amixer Miha Tomsic
@ 2002-10-10 15:18 ` Takashi Iwai
  2002-10-10 15:34   ` Miha Tomsic
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2002-10-10 15:18 UTC (permalink / raw)
  To: Miha Tomsic; +Cc: alsa devel

At 10 Oct 2002 17:08:11 +0200,
Miha Tomsic wrote:
> 
> 	Hello!
> 
> This is an old problem I reported a year or so ago. 
> 
> I have SBPCI 128 with ak4531 codec. The problem is that I can't set
> capture to certain channels (the channels that are using capture route
> CD, Line, PCM 1) if they are muted. Or if capture is already set, muting
> those channels will switch capture off.
> 
> This is happening if I am using alsamixer or amixer with sset. If I am
> using amixer with cset I can set anything I want. 
> 
> I guess the problem lies in the ak4531 and the way simple controls are
> handled. I don't know enough about alsa internals so poking around the
> sources of alsamixer, amixer and ak4531 didn't help me understand what
> should I do to make it working.

can you change each one switch or volume value by the follwoing way?

- call "alsactl -f foo store"
- modify the file "foo"
- call "alsactl -f foo restore"

if it works, then the problem is alsamixer or alsa-lib.
the latest alsamixer can handle playback and capture separately, so
this problem should have been fixed.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Problem with alsamixer, amixer
  2002-10-10 15:18 ` Takashi Iwai
@ 2002-10-10 15:34   ` Miha Tomsic
  2002-10-11  9:44     ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Miha Tomsic @ 2002-10-10 15:34 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa devel

	Hello Takashi!

On čet, 2002-10-10 at 17:18, Takashi Iwai wrote:
> can you change each one switch or volume value by the follwoing way?
> - call "alsactl -f foo store"
> - modify the file "foo"
> - call "alsactl -f foo restore"
> if it works, then the problem is alsamixer or alsa-lib.
> the latest alsamixer can handle playback and capture separately, so
> this problem should have been fixed.

Yes, this works too. Only the simple controls (or simple mixer elements)
don't work correctly.

And I forgot to mention that I am using alsa-*-0.9.0rc3.

Should I get the CVS version? Is the new CVS compatible with rc3? I am
not following the discussions too closely, but will it break rc3 native
ALSA apps? I've seen that there are patches for jack to make it work
with new CVS alsa.

Is rc4 comming any time soon?

Thanks and take care,

	Miha...



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Problem with alsamixer, amixer
  2002-10-10 15:34   ` Miha Tomsic
@ 2002-10-11  9:44     ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2002-10-11  9:44 UTC (permalink / raw)
  To: Miha Tomsic; +Cc: alsa devel

Hi,

At 10 Oct 2002 17:34:36 +0200,
Miha Tomsic wrote:
> 
> On čet, 2002-10-10 at 17:18, Takashi Iwai wrote:
> > can you change each one switch or volume value by the follwoing way?
> > - call "alsactl -f foo store"
> > - modify the file "foo"
> > - call "alsactl -f foo restore"
> > if it works, then the problem is alsamixer or alsa-lib.
> > the latest alsamixer can handle playback and capture separately, so
> > this problem should have been fixed.
> 
> Yes, this works too. Only the simple controls (or simple mixer elements)
> don't work correctly.

the simple mixer controls via amixer cannot distinguish the switch
direction for playback and capture.  it's a feature :)
try to cset/cget instead.

> And I forgot to mention that I am using alsa-*-0.9.0rc3.
> 
> Should I get the CVS version? Is the new CVS compatible with rc3?

yes, the binary compatibility must be kept.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-10-11  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-10 15:08 Problem with alsamixer, amixer Miha Tomsic
2002-10-10 15:18 ` Takashi Iwai
2002-10-10 15:34   ` Miha Tomsic
2002-10-11  9:44     ` 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.