amixer scontrols
Some commands with amixer and my Medion pc with M-Audio Delta 1010 soundcard.
My current card number 0 is the onboard card, and the Delta is card 1.
amixer : show the current values of all in and outputs in amixer with the default, or number 0 soundcard, the onoard one here.
amixer --help : the list of options and commands to feed amixer with.
amixer scontrols : shows the simple mixer controls for the onboard soundcard.
amixer -c 1 scontrols : shows the simple mixer controls for the delta 1010.
amixer set Master : setting the volume of the onboard card to a specified value.
amixer -c 1 set : some failing attempts to controll the Delta 1010.
pcuser@avl:~$ amixer -D hw:M1010 set Multi\ Track\ Volume\ Rate 2
Simple mixer control 'Multi Track Volume Rate',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 2 [1%]
pcuser@avl:~$ amixer -D hw:M1010 set Multi\ Track\ Volume\ Rate 255
Simple mixer control 'Multi Track Volume Rate',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 255
Mono: 255 [100%]
pcuser@avl:~$
------------------------------------------------------amixer
pcuser@avl:~$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Speaker',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 25 [81%] [-9.00dB] [on]
Front Right: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-46.50dB] [on]
Front Right: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-46.50dB] [on]
Front Right: Playback 0 [0%] [-46.50dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%]
Front Right: 0 [0%]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [on]
Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [on]
Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Mic' 'Line' 'Aux'
Item0: 'Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Mic' 'Line' 'Aux'
Item0: 'Mic'
------------------------------------------------------amixer --help
pcuser@avl:~$ amixer --help
Usage: amixer <options> [command]
Available options:
-h,--help this help
-c,--card N select the card
-D,--device N select the device, default 'default'
-d,--debug debug mode
-n,--nocheck do not perform range checking
-v,--version print version of this program
-q,--quiet be quiet
-i,--inactive show also inactive controls
-a,--abstract L select abstraction level (none or basic)
-s,--stdin Read and execute commands from stdin sequentially
Available commands:
scontrols show all mixer simple controls
scontents show contents of all mixer simple controls (default command)
sset sID P set contents for one mixer simple control
sget sID get contents for one mixer simple control
controls show all controls for given card
contents show contents of all controls for given card
cset cID P set control contents for one control
cget cID get control contents for one control
pcuser@avl:~$ amixer -c hw:M1010 set Master 1
Invalid card number.
Usage: amixer <options> [command]
Available options:
-h,--help this help
-c,--card N select the card
-D,--device N select the device, default 'default'
-d,--debug debug mode
-n,--nocheck do not perform range checking
-v,--version print version of this program
-q,--quiet be quiet
-i,--inactive show also inactive controls
-a,--abstract L select abstraction level (none or basic)
-s,--stdin Read and execute commands from stdin sequentially
Available commands:
scontrols show all mixer simple controls
scontents show contents of all mixer simple controls (default command)
sset sID P set contents for one mixer simple control
sget sID get contents for one mixer simple control
controls show all controls for given card
contents show contents of all controls for given card
cset cID P set control contents for one control
cget cID get control contents for one control
------------------------------------------------------amixer scontrols
pcuser@avl:~$ amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'Speaker',0
Simple mixer control 'PCM',0
Simple mixer control 'Front',0
Simple mixer control 'Surround',0
Simple mixer control 'Center',0
Simple mixer control 'LFE',0
Simple mixer control 'Side',0
Simple mixer control 'Line',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic Boost',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Default PCM',0
Simple mixer control 'Beep',0
Simple mixer control 'Aux',0
Simple mixer control 'Capture',0
Simple mixer control 'Capture',1
Simple mixer control 'Digital',0
Simple mixer control 'Input Source',0
Simple mixer control 'Input Source',1
------------------------------------------------------amixer -c 1 scontrols
pcuser@avl:~$ amixer -c 1 scontrols
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Multi',0
Simple mixer control 'IEC958 Multi',1
Simple mixer control 'IEC958',1
Simple mixer control 'Delta IEC958 Input Status',0
Simple mixer control 'H/W',0
Simple mixer control 'H/W',1
Simple mixer control 'H/W',2
Simple mixer control 'H/W',3
Simple mixer control 'H/W',4
Simple mixer control 'H/W',5
Simple mixer control 'H/W',6
Simple mixer control 'H/W',7
Simple mixer control 'H/W Multi',0
Simple mixer control 'H/W Multi',1
Simple mixer control 'H/W Multi',2
Simple mixer control 'H/W Multi',3
Simple mixer control 'H/W Multi',4
Simple mixer control 'H/W Multi',5
Simple mixer control 'H/W Multi',6
Simple mixer control 'H/W Multi',7
Simple mixer control 'Multi',0
Simple mixer control 'Multi',1
Simple mixer control 'Multi',2
Simple mixer control 'Multi',3
Simple mixer control 'Multi',4
Simple mixer control 'Multi',5
Simple mixer control 'Multi',6
Simple mixer control 'Multi',7
Simple mixer control 'Multi',8
Simple mixer control 'Multi',9
Simple mixer control 'Multi Track Internal Clock',0
Simple mixer control 'Multi Track Internal Clock Default',0
Simple mixer control 'Multi Track Peak',0
Simple mixer control 'Multi Track Rate Locking',0
Simple mixer control 'Multi Track Rate Reset',0
Simple mixer control 'Multi Track Volume Rate',0
Simple mixer control 'Word Clock Status',0
Simple mixer control 'Word Clock Sync',0
------------------------------------------------------amixer set Master
pcuser@avl:~$ amixer set Master 1
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 1 [3%] [-45.00dB] [on]
pcuser@avl:~$ amixer set Master 25
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 25 [81%] [-9.00dB] [on]
------------------------------------------------------amixer -c 1 set
pcuser@avl:~$ amixer -c 1 set H/W 5
amixer: Invalid command!
pcuser@avl:~$ amixer -c 1 set H/W
Specify what you want to set...
pcuser@avl:~$ amixer -c 1 set H/W 0
amixer: Invalid command!
pcuser@avl:~$ amixer -c 1 set Master H/W 0
amixer: Unable to find simple control 'Master',0
pcuser@avl:~$ amixer -c 1 set H/W Master 0
amixer: Invalid command!
pcuser@avl:~$ amixer -c 1 set H/W Master
amixer: Invalid command!
pcuser@avl:~$ amixer -c 1 set H/W2
Specify what you want to set...
pcuser@avl:~$ amixer -D hw:M1010 H/W
amixer: Unknown command 'H/W'...
pcuser@avl:~$ amixer -D hw:M1010 set H/W
Specify what you want to set...
pcuser@avl:~$ amixer -D hw:M1010 set H/W 2
amixer: Invalid command!