Skip to contentSkip to conversation

: alsamixer ignores errors from setting mixer controls

ALSA - utils 0002173 [email protected] 1 participant 1 message Jun 1, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2173>
======================================================================
Reported By: Johannes Berg
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   2173
Category:                   alsamixer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             05-30-2006 16:06 CEST
Last Modified:              06-01-2006 03:53 CEST

======================================================================
Summary: alsamixer ignores errors from setting mixer controls
Description:
I have a driver that, under special circumstances, returns -EBUSY from a _put call for a control.
alsamixer, however, ignores that and displays the control as toggled anyway, which is misleading.
======================================================================

----------------------------------------------------------------------
Raymond - 06-01-06 03:53
----------------------------------------------------------------------
If the control is specific to a PCM stream, the control should use SNDRV_CTL_ELEM_IFACE_PCM instead of SNDRV_CTL_ELEM_IFACE_MIXER.

The value will save/restore by alsactl but the control will not appear in alsamixer

Issue History
Date Modified Username Field Change
======================================================================
05-30-06 16:06 Johannes Berg New Issue
06-01-06 03:53 Raymond Note Added: 0010039
======================================================================