You are not logged in.
I've been using Ubuntu for 4 years, and Arch for 1 week, I've configured my sound to work although my spdif channel is muted every time i reboot. I am attempting to fix this by running a script in /etc/profile so that amixer will simply unmute S/PDIF for me as opposed to me having to go into alsamixer to unmute it every time.
I am able to unmute and use S/PDIF easiy with alsamixer just fine:
$ alsamixer
────────────────────────────── AlsaMixer v1.1.0 ──────────────────────────────┐
│ Card: HD-Audio Generic F1: Help
│ Chip: ATI R6xx HDMI F2: System information
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card
│ Item: S/PDIF Esc: Exit
Although in my trials of trying to find a command that would do that, ive encountered this:
$ amixer set 'S/PDIF' 90% unmute
amixer: Unable to find simple control 'S/PDIF',0
Ive seen on other posts here to look into contents and scontents for the correct device name but the only things i see in there are for my laptop speakers "master" and my microphone "capture"
$ amixer scontents
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 58983 [90%] [on]
Front Right: Playback 58983 [90%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 52429 [80%] [on]
Front Right: Capture 52429 [80%] [on]
$ amixer contents
numid=4,iface=MIXER,name='Master Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=3,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw------,values=2,min=0,max=65536,step=1
: values=58983,58983
numid=2,iface=MIXER,name='Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=1,iface=MIXER,name='Capture Volume'
; type=INTEGER,access=rw------,values=2,min=0,max=65536,step=1
: values=52429,52429
None of the devices i can manipulate with amixer control my S/PDIF channel.
I either need to know how to stop it from muting my S/PDIF on boot or know a command to unmute my S/PDIF that i can run in /etc/profiles.
Thank you
Offline
Try:
amixer set -c0 Master unmuteJin, Jîyan, Azadî
Offline
Try:
amixer set -c0 Master unmute
No dice, same output as before
$ amixer set -c0 Master unmute
amixer: Unable to find simple control 'Master',0
Offline
You can get the name of the S/PDIF control with
amixer scontrolsMine names IEC958. Then you can say
amixer sset 'IEC958' unmuteOffline