No Sound - Logs & Config provided

I am not getting sound. I have messed around with things so much, I am tempted to start over. Hoping someone can help. I need my sound to be output through the spdif, or I believe this card;

card 1: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]

Here are my settings;

amixer controls

$ amixer scontrols
Simple mixer control ‘IEC958’,0
Simple mixer control ‘IEC958’,1

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

aplay -L

$ aplay -L

default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
dmix:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct sample mixing device
dmix:CARD=HDMI,DEV=7
HDA ATI HDMI, HDMI 1
Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct sample snooping device
dsnoop:CARD=HDMI,DEV=7
HDA ATI HDMI, HDMI 1
Direct sample snooping device
hw:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Direct hardware device without any conversions
hw:CARD=HDMI,DEV=7
HDA ATI HDMI, HDMI 1
Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 0
Hardware device with all software conversions
plughw:CARD=HDMI,DEV=7
HDA ATI HDMI, HDMI 1
Hardware device with all software conversions
sysdefault:CARD=Generic
HD-Audio Generic, ALC892 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
Front speakers
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
Direct sample mixing device
dmix:CARD=Generic,DEV=1
HD-Audio Generic, ALC892 Digital
Direct sample mixing device
dsnoop:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
Direct sample snooping device
dsnoop:CARD=Generic,DEV=1
HD-Audio Generic, ALC892 Digital
Direct sample snooping device
hw:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
Direct hardware device without any conversions
hw:CARD=Generic,DEV=1
HD-Audio Generic, ALC892 Digital
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
Hardware device with all software conversions
plughw:CARD=Generic,DEV=1
HD-Audio Generic, ALC892 Digital
Hardware device with all software conversions

mopidy config

$ sudo mopidyctl config
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000

[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
debug_file = /var/log/mopidy/mopidy-debug.log
config_file = /etc/mopidy/logging.conf

[audio]
mixer = software
mixer_volume =
output = alsasink

[proxy]
scheme =
hostname =
port =
username =
password =

[mobile]
enabled = true
title = Mopidy Mobile on $hostname
ws_url =

[alsamixer]
enabled = true
card = 1
control = iec958

[moped]
enabled = true

[tunein]
enabled = true
timeout = 5000

[mopify]
enabled = true
debug = false

[mpd]
enabled = true
hostname = ::
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo

[http]
enabled = true
hostname = ::
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname

[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000

[m3u]
enabled = true
playlists_dir = /home/brad/Music

[softwaremixer]
enabled = true

[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[local]
enabled = true
library = json
media_dir = /home/brad/Music
data_dir = /var/lib/mopidy/local
scan_timeout = 1000
scan_flush_threshold = 1000
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.png
.txt

Did Mopidy work via spdif using the standard output configuration, using PulseAudio instead of ALSA? I would first focus on that because using ALSA will only make it more difficult.

You can check if spdif works via ALSA using the speaker-test commando.

No, I couldn’t get mopidy to work with standard audio config. I could produce sound using a few gstreamer commands, but nothing through mopidy with the default sound mixer. I then started messing around with Alsa, which did work, but with issues, so would prefer to use default. My mopidy config has changes since this post. In order to get it to work I had to use this config option;

[audio]
output = alsasink
mixer = alsamixer

[alsamixer]
card = 1
control = IEC958

If I run mopidy with default autoaudiosink, this what I get from “sudo service mopidy status”

$ sudo service mopidy status
● mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2015-10-26 17:04:47 MDT; 54s ago
Main PID: 7881 (mopidy)
CGroup: /system.slice/mopidy.service
├─7881 /usr/bin/python /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf
└─7930 /usr/bin/pulseaudio --start --log-target=syslog

Oct 26 17:04:48 Server mopidy[7881]: INFO Starting Mopidy core
Oct 26 17:04:48 Server mopidy[7881]: INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend, QueueManagerFrontend
Oct 26 17:04:48 Server mopidy[7881]: INFO MPD server running at [::]:6600
Oct 26 17:04:48 Server mopidy[7881]: INFO HTTP server running at [::]:6680
Oct 26 17:04:48 Server mopidy[7881]: INFO New MPD connection from [::ffff:127.0.0.1]:39444
Oct 26 17:05:36 Server mopidy[7881]: INFO Up next: ‘Father Of Mine’ by Everclear
Oct 26 17:05:37 Server pulseaudio[7930]: [pulseaudio] source.c: Default and alternate sample rates are the same.
Oct 26 17:05:37 Server pulseaudio[7930]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon with…SPLAY for X11
Oct 26 17:05:37 Server pulseaudio[7930]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Oct 26 17:05:37 Server mopidy[7881]: WARNING Element doesn’t implement handling of this stream. Please file a bug.