[SOLVED] 5.1 surround thru SPDIF ( Optical )

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Hap
Level 1
Level 1
Posts: 12
Joined: Sat Nov 18, 2017 4:03 pm

[SOLVED] 5.1 surround thru SPDIF ( Optical )

Post by Hap » Mon Jan 01, 2018 12:19 pm

Hi everyone,

I try to use my onboard soundcard optical output on my old but still good 5.1 digital receiver compatible with DTS and DD signals. I'm on Mint 18.3 Cinnamon 64-bit and my sound chip is an ALC-887 VD.

On Pulseaudio, my only choice for Digital Output is Digital stereo(IEC958) which works great in stereo but my receiver doesn't recognize the signal as DD or DTS and switch to "fake" 5.1.

So browsing thru aptitude I found the 'libasound2-plugins-extra' package which have "a52: S16 to A52 stream converter" inside, installed it but still no luck.

By this time, losing patience and all, I started to search the web and this forum :
  • This guy had exactly the same problem but not answered
  • Followed this guide but I don't think I need to build the plugin since it was installed in the extra package earlier.
  • Tried this one which is basically the same but older.
Could someone please point me in the right direction ? Did I miss something obvious here ?

Thanks in advance.
Last edited by Hap on Mon Jan 01, 2018 1:35 pm, edited 1 time in total.

User avatar
Hap
Level 1
Level 1
Posts: 12
Joined: Sat Nov 18, 2017 4:03 pm

Re: 5.1 surround thru SPDIF ( Optical )

Post by Hap » Mon Jan 01, 2018 1:35 pm

Solved it thanks to John's answer!

In summary :
  • Install the missing package

    Code: Select all

    sudo apt-get install libasound2-plugins-extra
  • Check if the ac3 5.1 surround profile is installed for your desired card, note his name and the card index

    Code: Select all

    pacmd info
  • activate your card profile

    Code: Select all

    pacmd set-card-profile $your_card_index profile:$profile_name
One thing to note, if you open pulseaudio and change your device via the graphic interface the profile it will disappear and you will have to reactivate it.

uglyduckling81
Level 1
Level 1
Posts: 4
Joined: Thu Mar 19, 2015 1:01 am

Re: [SOLVED] 5.1 surround thru SPDIF ( Optical )

Post by uglyduckling81 » Fri Jan 12, 2018 7:05 am

Can I get some help with this solution please. I'm missing something but I can't figure it. Trying to get 5.0 or 5.1 instead of stereo. My sub died so 5.0 will do me.

media@MediaPC ~ $ pacmd info
Memory blocks currently allocated: 38, size: 389.1 KiB.
Memory blocks allocated during the whole lifetime: 466751, size: 1.5 GiB.
Memory blocks imported from other processes: 33, size: 319.7 KiB.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_1b.0.iec958-stereo
Default source name: alsa_input.pci-0000_00_1b.0.iec958-stereo
Memory blocks of type POOL: 5 allocated/182281 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/252021 accumulated.
Memory blocks of type IMPORTED: 33 allocated/32449 accumulated.
26 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "8.0"
index: 1
name: <module-stream-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "8.0"
index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "8.0"
index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "8.0"
index: 4
name: <module-switch-on-port-available>
argument: <>
used: -1
load once: no
properties:

index: 5
name: <module-udev-detect>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "8.0"
index: 6
name: <module-alsa-card>
argument: <device_id="0" name="pci-0000_00_03.0" card_name="alsa_card.pci-0000_00_03.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "8.0"
index: 7
name: <module-alsa-card>
argument: <device_id="1" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
used: 3
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "8.0"
index: 8
name: <module-bluetooth-policy>
argument: <>
used: -1
load once: yes
properties:
module.author = "Frédéric Dalleau, Pali Rohár"
module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
module.version = "8.0"
index: 9
name: <module-bluetooth-discover>
argument: <>
used: -1
load once: yes
properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
module.version = "8.0"
index: 10
name: <module-bluez5-discover>
argument: <>
used: -1
load once: yes
properties:
module.author = "João Paulo Rechi Vita"
module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
module.version = "8.0"
index: 11
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "8.0"
index: 12
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "8.0"
index: 13
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
module.version = "8.0"
index: 14
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded even if it's a null one"
module.version = "8.0"
index: 15
name: <module-intended-roles>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based on intended roles of devices"
module.version = "8.0"
index: 16
name: <module-suspend-on-idle>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "8.0"
index: 17
name: <module-systemd-login>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = "8.0"
index: 18
name: <module-position-event-sounds>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "8.0"
index: 19
name: <module-filter-heuristics>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "8.0"
index: 20
name: <module-filter-apply>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "8.0"
index: 21
name: <module-x11-publish>
argument: <display=:0>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "X11 credential publisher"
module.version = "8.0"
index: 22
name: <module-x11-bell>
argument: <display=:0 sample=bell.ogg>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "X11 bell interceptor"
module.version = "8.0"
index: 23
name: <module-x11-cork-request>
argument: <display=:0>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Synthesize X11 media key events when cork/uncork is requested"
module.version = "8.0"
index: 24
name: <module-x11-xsmp>
argument: <display=:0 session_manager=local/MediaPC:@/tmp/.ICE-unix/1205,unix/MediaPC:/tmp/.ICE-unix/1205>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "X11 session management"
module.version = "8.0"
index: 25
name: <module-cli-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Command line interface protocol (UNIX sockets)"
module.version = "8.0"
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9950
volume: front-left: 55708 / 85% / -4.23 dB, front-right: 55708 / 85% / -4.23 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
card: 0 <alsa_card.pci-0000_00_03.0>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 1"
alsa.id = "HDMI 1"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "7"
alsa.card = "0"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf7e14000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0c0c"
device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
device.form_factor = "internal"
device.string = "hdmi:0,1"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo-extra1"
device.profile.description = "Digital Stereo (HDMI 2)"
device.description = "Built-in Audio Digital Stereo (HDMI 2)"
alsa.mixer_name = "Intel Haswell HDMI"
alsa.components = "HDA:80862807,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "Optoma 1080P"
active port: <hdmi-output-1>
* index: 1
name: <alsa_output.pci-0000_00_1b.0.iec958-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9958
volume: front-left: 16396 / 25% / -36.10 dB, front-right: 16396 / 25% / -36.10 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 317.91 ms
max request: 63 KiB
max rewind: 64 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 371.52 ms; range is 0.50 .. 371.52 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC892 Digital"
alsa.id = "ALC892 Digital"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "1"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7e10000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "iec958:1"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "iec958-stereo"
device.profile.description = "Digital Stereo (IEC958)"
device.description = "Built-in Audio Digital Stereo (IEC958)"
alsa.mixer_name = "Realtek ALC892"
alsa.components = "HDA:10ec0892,1458a002,00100302"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

active port: <iec958-stereo-output>
3 source(s) available.
index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1950
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
monitor_of: 0
card: 0 <alsa_card.pci-0000_00_03.0>
module: 6
properties:
device.description = "Monitor of Built-in Audio Digital Stereo (HDMI 2)"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf7e14000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0c0c"
device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
device.form_factor = "internal"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
index: 1
name: <alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause:
priority: 1950
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 64 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 371.52 ms; range is 0.50 .. 371.52 ms
monitor_of: 1
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
device.description = "Monitor of Built-in Audio Digital Stereo (IEC958)"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7e10000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
* index: 2
name: <alsa_input.pci-0000_00_1b.0.iec958-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9958
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 2
linked by: 2
configured latency: 40.00 ms; range is 0.50 .. 371.52 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC892 Digital"
alsa.id = "ALC892 Digital"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "1"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7e10000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "iec958:1"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "iec958-stereo"
device.profile.description = "Digital Stereo (IEC958)"
device.description = "Built-in Audio Digital Stereo (IEC958)"
alsa.mixer_name = "Realtek ALC892"
alsa.components = "HDA:10ec0892,1458a002,00100302"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

active port: <iec958-stereo-input>
15 client(s) logged in.
index: 0
driver: <module-systemd-login.c>
owner module: 17
properties:
application.name = "Login Session c1"
systemd-login.session = "c1"
index: 2
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Cinnamon Volume Control Media Keys"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.id = "org.gnome.VolumeControl"
application.icon_name = "multimedia-volume-control"
application.version = "3.6.2"
application.process.id = "1382"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "csd-media-keys"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
index: 6
driver: <module-x11-xsmp.c>
owner module: 24
properties:
application.name = "XSMP Session on cinnamon-session as 105edc54703cfb43dd151574860111679500000012050049"
xsmp.vendor = "cinnamon-session"
xsmp.client.id = "105edc54703cfb43dd151574860111679500000012050049"
index: 7
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Cinnamon Volume Control"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.id = "org.gnome.VolumeControl"
application.icon_name = "multimedia-volume-control"
application.version = "3.6.2"
application.process.id = "1583"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "cinnamon"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
index: 8
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "libcanberra"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.version = "0.30"
application.id = "org.freedesktop.libcanberra"
application.process.id = "1346"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "csd-sound"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
index: 9
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "1911"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "firefox"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "firefox"
index: 11
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "2693"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "firefox"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "firefox"
index: 12
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "2774"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "firefox"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "firefox"
index: 13
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "2979"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "firefox"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "firefox"
index: 14
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "cinnamon"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.id = "org.gnome.VolumeControl"
application.icon_name = "multimedia-volume-control"
application.version = "3.6.2"
application.process.id = "4261"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "python2.7"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
index: 25
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "libcanberra"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.version = "0.30"
application.id = "org.freedesktop.libcanberra"
application.process.id = "1382"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "csd-media-keys"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
index: 26
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Chrome input"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "4639"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "spotify"
window.x11.display = ":0"
application.language = "en_AU.UTF-8"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "spotify-client"
index: 27
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "Spotify"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "4639"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "spotify"
window.x11.display = ":0"
application.language = "en_AU.UTF-8"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "spotify-client"
index: 28
driver: <protocol-native.c>
owner module: 11
properties:
application.name = "cinnamon"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.id = "org.gnome.VolumeControl"
application.icon_name = "multimedia-volume-control"
application.version = "3.6.2"
application.process.id = "13067"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "python2.7"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
index: 35
driver: <cli.c>
owner module: 25
properties:
application.name = "UNIX socket client"
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_03.0>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf7e14000 irq 31"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0c0c"
device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: unknown)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: unknown)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo-extra1>
sinks:
alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1/#0: Built-in Audio Digital Stereo (HDMI 2)
sources:
alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1.monitor/#0: Monitor of Built-in Audio Digital Stereo (HDMI 2)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "Optoma 1080P"
hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7e10000 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "1"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analogue Stereo Input (priority 60, available: unknown)
input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
output:analog-stereo: Analogue Stereo Output (priority 6000, available: unknown)
output:analog-stereo+input:analog-stereo: Analogue Stereo Duplex (priority 6060, available: unknown)
output:analog-stereo+input:iec958-stereo: Analogue Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
output:analog-surround-21: Analogue Surround 2.1 Output (priority 800, available: unknown)
output:analog-surround-21+input:analog-stereo: Analogue Surround 2.1 Output + Analogue Stereo Input (priority 860, available: unknown)
output:analog-surround-21+input:iec958-stereo: Analogue Surround 2.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
output:analog-surround-40: Analogue Surround 4.0 Output (priority 700, available: unknown)
output:analog-surround-40+input:analog-stereo: Analogue Surround 4.0 Output + Analogue Stereo Input (priority 760, available: unknown)
output:analog-surround-40+input:iec958-stereo: Analogue Surround 4.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
output:analog-surround-41: Analogue Surround 4.1 Output (priority 800, available: unknown)
output:analog-surround-41+input:analog-stereo: Analogue Surround 4.1 Output + Analogue Stereo Input (priority 860, available: unknown)
output:analog-surround-41+input:iec958-stereo: Analogue Surround 4.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
output:analog-surround-50: Analogue Surround 5.0 Output (priority 700, available: unknown)
output:analog-surround-50+input:analog-stereo: Analogue Surround 5.0 Output + Analogue Stereo Input (priority 760, available: unknown)
output:analog-surround-50+input:iec958-stereo: Analogue Surround 5.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
output:analog-surround-51: Analogue Surround 5.1 Output (priority 800, available: unknown)
output:analog-surround-51+input:analog-stereo: Analogue Surround 5.1 Output + Analogue Stereo Input (priority 860, available: unknown)
output:analog-surround-51+input:iec958-stereo: Analogue Surround 5.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analogue Stereo Input (priority 760, available: unknown)
output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analogue Stereo Input (priority 5560, available: unknown)
output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:iec958-stereo+input:iec958-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.iec958-stereo/#1: Built-in Audio Digital Stereo (IEC958)
sources:
alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#1: Monitor of Built-in Audio Digital Stereo (IEC958)
alsa_input.pci-0000_00_1b.0.iec958-stereo/#2: Built-in Audio Digital Stereo (IEC958)
ports:
analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:

iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:

analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:

1 sink input(s) available.
index: 18
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 1 <alsa_output.pci-0000_00_1b.0.iec958-stereo>
volume: front-left: 65535 / 100% / -0.00 dB, front-right: 65535 / 100% / -0.00 dB
balance 0.00
muted: no
current latency: 1440.63 ms
requested latency: 371.52 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 11
client: 27 <Spotify>
properties:
media.role = "music"
media.name = "Spotify"
application.name = "Spotify"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.process.id = "4639"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "spotify"
window.x11.display = ":0"
application.language = "en_AU.UTF-8"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
application.icon_name = "spotify-client"
module-stream-restore.id = "sink-input-by-media-role:music"
2 source output(s) available.
index: 0
driver: <protocol-native.c>
flags: DONT_MOVE
state: RUNNING
source: 2 <alsa_input.pci-0000_00_1b.0.iec958-stereo>
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 40.00 ms
sample spec: float32le 1ch 25Hz
channel map: mono
Mono
resample method: peaks
owner module: 11
client: 14 <cinnamon>
properties:
application.id = "org.gnome.VolumeControl"
media.name = "Peak detect"
application.name = "cinnamon"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.icon_name = "multimedia-volume-control"
application.version = "3.6.2"
application.process.id = "4261"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "python2.7"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
module-stream-restore.id = "source-output-by-application-id:org.gnome.VolumeControl"
index: 2
driver: <protocol-native.c>
flags: DONT_MOVE
state: RUNNING
source: 2 <alsa_input.pci-0000_00_1b.0.iec958-stereo>
volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 40.00 ms
sample spec: float32le 1ch 25Hz
channel map: mono
Mono
resample method: peaks
owner module: 11
client: 28 <cinnamon>
properties:
application.id = "org.gnome.VolumeControl"
media.name = "Peak detect"
application.name = "cinnamon"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "30"
application.icon_name = "multimedia-volume-control"
application.version = "3.6.2"
application.process.id = "13067"
application.process.user = "media"
application.process.host = "MediaPC"
application.process.binary = "python2.7"
application.language = "en_AU.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "5ab3c275b7304ed3b8aeef9ffcc37eb4"
application.process.session_id = "c1"
module-stream-restore.id = "source-output-by-application-id:org.gnome.VolumeControl"
0 cache entrie(s) available.

User avatar
Hap
Level 1
Level 1
Posts: 12
Joined: Sat Nov 18, 2017 4:03 pm

Re: [SOLVED] 5.1 surround thru SPDIF ( Optical )

Post by Hap » Fri Feb 23, 2018 10:20 am

Hi,

Please, next time you paste terminal output, make use of BBCode Tags for a better readability. https://en.wikipedia.org/wiki/BBCode if you need some pointers.

Did you solve your problem ?

If not, your pacmd info should show, at the end, for index 1 :

Code: Select all

    index: 1
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7110000 irq 28"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller (ASUS P8Z77-V LX Motherboard)"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (priority 360, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:iec958-ac3-surround-51>
As I can see, it's not, maybe you missed a step and didn't install libasound2-plugins-extra properly or maybe your hardware is not compatible ( I doubt it cause it's quite the same hardware ), you need to see "output:iec958-ac3-surround-5.1" as an available profile.

Post Reply

Return to “Sound, Multimedia, & Codecs”