Skip to contentSkip to conversation

: Labelling of controls for SB Extigy is confusing

ALSA - utils 0001909 [email protected] 1 participant 1 message Aug 3, 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=1909>
======================================================================
Reported By: andersin
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1909
Category:                   alsamixer
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             03-11-2006 16:33 CET
Last Modified:              08-03-2006 09:47 CEST

======================================================================
Summary: Labelling of controls for SB Extigy is confusing
Description:
The controls for the SB Extigy are all labelled as Master. The names should reflect the channel(s) that they control. Amixer shows this information (albeit its mapping of controls to actual channels is off). Additionally a Master 1 control exists that changes the volume of all channels.
======================================================================

----------------------------------------------------------------------
Raymond - 08-03-06 04:16
----------------------------------------------------------------------
Most likely both alsamixer and amixer cannot handle these two controls properly

http://www.alsa-project.org/~iwai/writing-an-alsa-driver/x851.htm

The index field holds the index number of this control. If there are several different controls with the same name, they can be distinguished by the index
number. This is the case when several codecs exist on the card. If the index is zero, you can omit the definition above.

You have to ask the ALSA developer why index controls can have different count.
The mixer applications need to be very smart to handle this difference in count

       control.16 {
                 comment.access 'read write'
                 comment.type INTEGER
                 comment.count 6
                 comment.range '0 - 200'
                 iface MIXER
                 name 'Master Playback Volume'
                 value.0 130
                 value.1 130
                 value.2 130
                 value.3 130
                 value.4 130
                 value.5 130
         }
         control.17 {
                 comment.access 'read write'
                 comment.type INTEGER
                 comment.count 1
                 comment.range '0 - 200'
                 iface MIXER
                 name 'Master Playback Volume'
                 index 1
                 value 130
         }

----------------------------------------------------------------------
Raymond - 08-03-06 09:47
----------------------------------------------------------------------
Syntax: SOURCE [DIRECTION] FUNCTION

The following controls appear in capture view of alsamixer because it miss the 'Playback' direction

Simple mixer control 'Bass',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 96
Mono: 48 [50%]
Simple mixer control 'Treble',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 96
Mono: 48 [50%]

The following control should only appear in capture view of alsamixer, because the control name did not follow Syntax: SOURCE [DIRECTION] FUNCTION

Simple mixer control 'Capture Input Source',0
Capabilities: enum
Items: 'Input 0' 'Mic' 'Mixer'
Item0: 'Input 0'

Simple mixer control 'Digital In',0
Capabilities: volume volume-joined pswitch pswitch-joined Playback channels: Mono
Capture channels: Mono
Limits: 0 - 200
Mono: 200 [100%] Playback [on]

These control also not follow the syntax.

Simple mixer control 'Channel Routing Mode Select',0
Capabilities: volume volume-joined Playback channels: Mono
Capture channels: Mono
Limits: 0 - 6
Mono: 6 [100%]

similar bug report https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1971
and https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1366

http://hg-mirror.alsa-project.org/alsa-kernel?f=2cd9765e57f6;file=Documentation/ControlNames.txt;style=gitweb

Issue History
Date Modified Username Field Change
======================================================================

03-11-06 16:33 andersin       New Issue                                    
08-02-06 02:40 Raymond        Note Added: 0011384                          
08-02-06 14:31 andersin       Note Added: 0011388                          
08-02-06 14:31 andersin       Note Added: 0011389                          
08-03-06 04:06 Raymond        Note Added: 0011395                          
08-03-06 04:16 Raymond        Note Edited: 0011395                         
08-03-06 09:47 Raymond        Note Added: 0011397                          

======================================================================

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV