[alsa-devel] amixer shows capability "penum" on every Simple mixer control

Raymond Yau superquad.vortex2 at gmail.com
Thu Mar 15 01:23:47 CET 2012


2012/3/14, Takashi Iwai <tiwai at suse.de>:
>>
>> The patch changed some penum to enum
>>
>> (e.g. "Independent HP"  or "Channel Mode" )
>>
>>
>> Simple mixer control 'Independent HP',0
>>   Capabilities: enum
>>   Items: 'OFF' 'ON'
>>   Item0: 'ON'
>>
>
> Yes, and it's the right fix.  The enum is not specific to playback,
> at least, judging from the name string.
>
>

on hda ad198x , "input source" are cenum

Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' 'Mix'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' 'Mix'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' 'Mix'
  Item0: 'Line'

but those "Universal Jack" input source are enum

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5548



Simple mixer control 'Line Input Source',0
  Capabilities: enum
  Items: 'Mic2 Jack' 'Mic1 Jack' 'Line In Jack' 'Front Jack' 'Rear
Jack' 'Center/LFE Jack' 'Mute'
  Item0: 'Line In Jack'


Simple mixer control 'Mic Input Source',0
  Capabilities: enum
  Items: 'Mic2 Jack' 'Mic1 Jack' 'Line In Jack' 'Front Jack' 'Rear
Jack' 'Center/LFE Jack' 'Mute'
  Item0: 'Mic1 Jack'
Simple mixer control 'Mic Select',0
  Capabilities: enum
  Items: 'Mic1' 'Mic2'
  Item0: 'Mic1'


Do the user of 3 jack motherboard need to run a script to retask the
Universal Audio Jack for surround51 in Ubuntu 11.10 ?


Simple mixer control 'Front Jack',0
  Capabilities: enum
  Items: 'Input/Disabled' 'Front Output' 'Rear Output' 'Center/LFE
Output' 'Mixer Output'
  Item0: 'Mixer Output'

Simple mixer control 'Center/LFE Jack',0
  Capabilities: enum
  Items: 'Input/Disabled' 'Front Output' 'Rear Output' 'Center/LFE
Output' 'Mixer Output'
  Item0: 'Center/LFE Output'

Simple mixer control 'LineIn Jack',0
  Capabilities: enum
  Items: 'Input/Disabled' 'Front Output' 'Rear Output' 'Center/LFE
Output' 'Mixer Output'
  Item0: 'Input/Disabled'

Simple mixer control 'Mic1 Jack',0
  Capabilities: enum
  Items: 'Input/Disabled' 'Front Output' 'Rear Output' 'Center/LFE
Output' 'Mixer Output'
  Item0: 'Input/Disabled'


Simple mixer control 'Rear Jack',0
  Capabilities: enum
  Items: 'Input/Disabled' 'Front Output' 'Rear Output' 'Center/LFE
Output' 'Mixer Output'
  Item0: 'Rear Output'


More information about the Alsa-devel mailing list