You are not logged in.
Pages: 1
Hello!
I'm having issues getting my spidif/3.5mm combo port on my Clevo P775DM3-G working in either spidif or analog mode.
I've searched the forums and have tried raising the volume in alsamixer to no avail. The line out port is working fine. Just not the most important one >_<
Here is my alsa.sh output
http://www.alsa-project.org/db/?f=c5f7a … 511d3cfb26
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
Subsystem: CLEVO/KAPOK Computer Device 7705
Flags: bus master, fast devsel, latency 32, IRQ 134
Memory at 2ffff20000 (64-bit, non-prefetchable) [size=16K]
Memory at 2ffff00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #02.827902] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC898: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:line
[ 2.827903] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
[ 2.827904] snd_hda_codec_realtek hdaudioC0D0: hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 2.827904] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 2.827904] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 2.827905] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 2.827906] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
[ 2.827906] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[ 2.827907] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
[ 2.829433] iwlwifi 0000:71:00.0: L1 Enabled - LTR Disabled
[ 2.830073] iwlwifi 0000:71:00.0: L1 Enabled - LTR Disabled
[ 2.837257] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[ 2.838162] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[ 2.838183] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[ 2.838204] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20If any additional information is needed I'll provide upon request.
Thanks for taking the time to help me with this issue
Edit: While tinkering with it I noticed that pavucontrol only detects 1 of my ports and that's the line out. Tried switching around configs to no avail.
Last edited by timb (2017-06-13 22:07:40)
Offline
While tinkering with it I noticed that pavucontrol only detects 1 of my ports and that's the line out. Tried switching around configs to no avail.
Are you sure? SPDIF controls are usually implemented exclusively, ergo you can only have digital or analog active not both at the same time. Due to this reason pulseaudio splits configurations like these into different profiles. Profiles can be switched in the "Configuration" tab of pavucontrol. If that doesn't help already, can you also post
pacmd list-cards
pacmd list-sinks
#While playing something
pacmd list-sink-inputsOffline
timb wrote:While tinkering with it I noticed that pavucontrol only detects 1 of my ports and that's the line out. Tried switching around configs to no avail.
Are you sure? SPDIF controls are usually implemented exclusively, ergo you can only have digital or analog active not both at the same time. Due to this reason pulseaudio splits configurations like these into different profiles. Profiles can be switched in the "Configuration" tab of pavucontrol. If that doesn't help already, can you also post
pacmd list-cards pacmd list-sinks #While playing something pacmd list-sink-inputs
It's a 4 jack laptop so I have the spidiff/3.5mm combo port, which both are not active at the same time just whichever type you have plugged in. line out, line in, and mic in.
[timb@hammerhead ~]$ pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 23
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x2ffff20000 irq 134"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "Sunrise Point-H HD Audio"
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:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, 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)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1f.3.analog-stereo/#3: Built-in Audio Analog Stereo
sources:
alsa_input.pci-0000_00_1f.3.analog-stereo/#2: Built-in Audio Analog Stereo
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#4: Monitor of Built-in Audio Analog Stereo
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, 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:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
properties:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-speakers"
iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
properties:
index: 1
name: <alsa_card.pci-0000_01_00.1>
driver: <module-alsa-card.c>
owner module: 24
properties:
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xdc080000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "10f0"
device.product.name = "GP104 High Definition Audio Controller"
device.string = "1"
device.description = "GP104 High Definition Audio Controller"
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: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_01_00.1.hdmi-stereo/#2: GP104 High Definition Audio Controller Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#3: Monitor of GP104 High Definition Audio Controller Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "LG ULTRAWIDE
"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
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"
[timb@hammerhead ~]$ pacmd list-sinks
2 sink(s) available.
index: 2
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9050
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 request: 0 KiB
max rewind: 0 KiB
monitor source: 3
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 .. 1999.82 ms
card: 1 <alsa_card.pci-0000_01_00.1>
module: 24
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xdc080000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "10f0"
device.product.name = "GP104 High Definition Audio Controller"
device.string = "hdmi:1"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "GP104 High Definition Audio Controller Digital Stereo (HDMI)"
alsa.mixer_name = "Nvidia GPU 83 HDMI/DP"
alsa.components = "HDA:10de0083,15587708,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "LG ULTRAWIDE
"
active port: <hdmi-output-0>
* index: 3
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: front-left: 39873 / 61% / -12.95 dB, front-right: 39873 / 61% / -12.95 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 23.17 ms
max request: 4 KiB
max rewind: 344 KiB
monitor source: 4
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 2
configured latency: 23.22 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 23
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC898 Analog"
alsa.id = "ALC898 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x2ffff20000 irq 134"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "Sunrise Point-H HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC898"
alsa.components = "HDA:10ec0899,15587705,00100003"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
properties:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-speakers"
active port: <analog-output-lineout>[timb@hammerhead ~]$ pacmd list-sink-inputs
2 sink input(s) available.
index: 5
driver: <protocol-native.c>
flags:
state: CORKED
sink: 3 <alsa_output.pci-0000_00_1f.3.analog-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 0.00 ms
requested latency: 80.00 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 10
client: 7 <virt-manager>
properties:
media.name = "playback"
application.name = "virt-manager"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "32"
application.process.id = "1431"
application.process.user = "timb"
application.process.host = "hammerhead"
application.process.binary = "python2.7"
application.icon_name = "virt-manager"
application.language = "en_US.UTF-8"
window.x11.display = ":1"
application.process.machine_id = "86a08f2813c342eb895fdb36c13086af"
application.process.session_id = "c3"
module-stream-restore.id = "sink-input-by-application-name:virt-manager"
index: 10
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 3 <alsa_output.pci-0000_00_1f.3.analog-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 50.98 ms
requested latency: 23.22 ms
sample spec: float32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: copy
module: 10
client: 18 <Chrome>
properties:
application.icon_name = "google-chrome"
media.name = "Playback"
application.name = "Chrome"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "32"
application.process.id = "1689"
application.process.user = "timb"
application.process.host = "hammerhead"
application.process.binary = "chrome"
application.language = "en_US.UTF-8"
window.x11.display = ":1"
application.process.machine_id = "86a08f2813c342eb895fdb36c13086af"
application.process.session_id = "c3"
module-stream-restore.id = "sink-input-by-application-name:Chrome"Last edited by timb (2017-06-14 15:37:22)
Offline
And as expected at least in this run, you aren't playing back to the SPDIF control, it might be that pulseaudio erroneously switches that around, but I'd like to verify that first: What happens when you run
pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:iec958-stereo+input:analog-stereodoes it start to work?
Offline
And as expected at least in this run, you aren't playing back to the SPDIF control, it might be that pulseaudio erroneously switches that around, but I'd like to verify that first: What happens when you run
pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:iec958-stereo+input:analog-stereodoes it start to work?
Nope.
Offline
And what does happen, does it switch to SPDIF and back immediately? What's the output of these commands now? There is a possibility that the reported wiring of your card is incorrect, in which case you can use hdajackretask to try and force that jack to correspond to a specific and working output. Also something to verify because it happens often enough, your cable is inserted correctly on the receiver's end and your volume there is set up correctly?
Offline
Pages: 1