You are not logged in.

#1 2021-08-27 22:00:19

shogunrua
Member
Registered: 2021-08-27
Posts: 3

Pipewire sound card Analog Stereo Duplex profile unavailable

I can't enable the duplex profile on my sound card.

My board has three outputs; line-in, line-out, and mic. I'm trying to connect my headset to the line-in 3.5mm connector.
It works and I can hear sound through the "Analog Stereo Output" profile, however, I can't enable the "Analog Stereo Duplex" profile to also be able to use my microphone.

Any ideas how I can "enable" the duplex profile? Is it missing a driver, or a config setting?
I'm running pipewire 0.3.34

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 79
Tile Size: 65472
User Name: diogo
Host Name: desktop
Server Name: PulseAudio (on PipeWire 0.3.34)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_2c_00.3.analog-stereo
Default Source: alsa_input.pci-0000_2c_00.3.analog-stereo
Cookie: 6d56:9341

Here is the output of pactl for my sound card

Card #41
    Name: alsa_card.pci-0000_2c_00.3
    Driver: alsa
    Owner Module: n/a
    Properties:
        device.enum.api = "udev"
        device.api = "alsa"
        media.class = "Audio/Device"
        api.alsa.path = "hw:1"
        api.alsa.card = "1"
        api.alsa.card.name = "HD-Audio Generic"
        api.alsa.card.longname = "HD-Audio Generic at 0xfe700000 irq 73"
        device.plugged.usec = "3774755"
        device.bus_path = "pci-0000:2c:00.3"
        device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:2c:00.3/sound/card1"
        device.bus = "pci"
        device.subsystem = "sound"
        device.vendor.id = "4130"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.product.id = "5207"
        device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
        device.name = "alsa_card.pci-0000_2c_00.3"
        device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
        device.nick = "HD-Audio Generic"
        device.icon_name = "audio-card-pci"
        api.alsa.use-acp = "true"
        api.acp.auto-profile = "false"
        api.acp.auto-port = "false"
        api.dbus.ReserveDevice1 = "Audio1"
        factory.id = "14"
        client.id = "31"
        object.id = "41"
        object.path = "alsa:pcm:1"
        alsa.card = "1"
        alsa.card_name = "HD-Audio Generic"
        alsa.long_card_name = "HD-Audio Generic at 0xfe700000 irq 73"
        alsa.driver_name = "snd_hda_intel"
        device.string = "1"
    Profiles:
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
        output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
        output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: no)
        output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
        input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
        pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
    Active Profile: output:analog-stereo+input:analog-stereo
    Ports:
        analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
            Properties:
                port.type = "mic"
                port.availability-group = "Legacy 1"
                device.icon_name = "audio-input-microphone"
                card.profile.port = "0"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
        analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
            Properties:
                port.type = "mic"
                port.availability-group = "Legacy 2"
                device.icon_name = "audio-input-microphone"
                card.profile.port = "1"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
        analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
            Properties:
                port.type = "line"
                port.availability-group = "Legacy 3"
                card.profile.port = "2"
            Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
        analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, available)
            Properties:
                port.type = "line"
                port.availability-group = "Legacy 4"
                card.profile.port = "3"
            Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
        analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
            Properties:
                port.type = "headphones"
                port.availability-group = "Legacy 5"
                device.icon_name = "audio-headphones"
                card.profile.port = "4"
            Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
        iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
            Properties:
                port.type = "spdif"
                card.profile.port = "5"
            Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

Offline

#2 2021-08-28 02:13:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,310

Re: Pipewire sound card Analog Stereo Duplex profile unavailable

Welcome to the boards, please use [ code ] not [ quote ] for outputs.

You can force a profile even if autodetection deems it unavailable for some reason

pactl set-card-profile alsa_card.pci-0000_2c_00.3   output:analog-stereo+input:analog-stereo

maybe post

amixer -c1

so we can check which controls the card actually exposes.

Last edited by V1del (2021-08-28 02:13:33)

Offline

#3 2021-08-28 03:24:21

shogunrua
Member
Registered: 2021-08-27
Posts: 3

Re: Pipewire sound card Analog Stereo Duplex profile unavailable

Forcing the profile made the input device show up on the list, however, the headset microphone still doesn't work.

Here is the output from amixer:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 57 [89%] [-7.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 [0%] [-64.00dB] [off]
  Front Right: Playback 0 [0%] [-64.00dB] [off]
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 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front 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 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [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 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
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 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear 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 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]

Cards list

Card #39
	Name: alsa_card.pci-0000_2a_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		device.enum.api = "udev"
		device.api = "alsa"
		media.class = "Audio/Device"
		api.alsa.path = "hw:0"
		api.alsa.card = "0"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.card.longname = "HDA ATI HDMI at 0xfe860000 irq 71"
		device.plugged.usec = "3732895"
		device.bus_path = "pci-0000:2a:00.1"
		device.sysfs.path = "/sys/devices/pci0000:00/0000:00:03.1/0000:2a:00.1/sound/card0"
		device.bus = "pci"
		device.subsystem = "sound"
		device.vendor.id = "4098"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "43744"
		device.product.name = "Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]"
		device.name = "alsa_card.pci-0000_2a_00.1"
		device.description = "Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]"
		device.nick = "HDA ATI HDMI"
		device.icon_name = "audio-card-pci"
		api.alsa.use-acp = "true"
		api.acp.auto-profile = "false"
		api.acp.auto-port = "false"
		api.dbus.ReserveDevice1 = "Audio0"
		factory.id = "14"
		client.id = "31"
		object.id = "39"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfe860000 irq 71"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 2, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1

Card #40
	Name: alsa_card.pci-0000_2c_00.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		device.enum.api = "udev"
		device.api = "alsa"
		media.class = "Audio/Device"
		api.alsa.path = "hw:1"
		api.alsa.card = "1"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.card.longname = "HD-Audio Generic at 0xfe700000 irq 73"
		device.plugged.usec = "3790393"
		device.bus_path = "pci-0000:2c:00.3"
		device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:2c:00.3/sound/card1"
		device.bus = "pci"
		device.subsystem = "sound"
		device.vendor.id = "4130"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "5207"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.name = "alsa_card.pci-0000_2c_00.3"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.nick = "HD-Audio Generic"
		device.icon_name = "audio-card-pci"
		api.alsa.use-acp = "true"
		api.acp.auto-profile = "false"
		api.acp.auto-port = "false"
		api.dbus.ReserveDevice1 = "Audio1"
		factory.id = "14"
		client.id = "31"
		object.id = "40"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfe700000 irq 73"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: no)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 3"
				card.profile.port = "2"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 4"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 5"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "spdif"
				card.profile.port = "5"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

Offline

#4 2021-08-28 11:24:41

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: Pipewire sound card Analog Stereo Duplex profile unavailable

Are you sure you're plugging it into Line In, and not Line Out?

This shows Line In not available, and Line Out available.

If your headset just has one 3.5mm jack that does both input and output at once, it's possible you might need a splitter if your board doesn't have a jack that does both line-in and line-out at once.

https://i.imgur.com/fVuKpxo.png

Last edited by Ammako (2021-08-28 11:33:52)

Offline

#5 2021-08-29 21:56:04

shogunrua
Member
Registered: 2021-08-27
Posts: 3

Re: Pipewire sound card Analog Stereo Duplex profile unavailable

Ammako wrote:

Are you sure you're plugging it into Line In, and not Line Out?

This shows Line In not available, and Line Out available.

If your headset just has one 3.5mm jack that does both input and output at once, it's possible you might need a splitter if your board doesn't have a jack that does both line-in and line-out at once.

https://i.imgur.com/fVuKpxo.png

Any ideas how I can query the board to confirm which profiles are supported? And also to confirm if even a spliptter would work in this case?
The board has three inputs, mic, line-in, line-out.
Audio works  when connected to the line-out, but I can't get the microphone to work when connected either to the mic, or line-in.

Offline

#6 2021-08-29 23:50:45

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: Pipewire sound card Analog Stereo Duplex profile unavailable

For Duplex to be available, you need to have both Microphone input and Audio output connected (available). It's not something your board just "supports" through having any specific kind of hardware. Very few (if any!) desktop motherboards will have the TRRS jack you need built-in, this is something usually reserved to laptops and mobile devices. Your mic input won't work as-is when plugged into a regular microphone input jack, because your headset will (most likely) be trying to send microphone input through the Sleeve part of the plug, where the microphone jack on your computer expects Ground to be. Hence why you need a splitter, to re-route the microphone input towards the correct pin inside the microphone jack.

Also: you probably want to use microphone input rather than line-in, for a microphone. Unless you know that your microphone is designed to go into the line-in, that is.

You can test whether Duplex would become available by plugging literally anything into the line out and microphone inputs. You can plug two different sets of earbuds or two different headsets into each port if you want. These are very low-level analog devices, the computer isn't able to tell what's plugged in, only that something is plugged in. I just have an empty extension connected into mine.

Most likely the TRRS connector on your headset will be doing Left, Right, Ground, Microphone respectively, as that is the standard, but you'll have to check the user manual or something for your headset to make sure it does work that way, because sometimes certain manufacturers like to make things difficult by deviating from the standards. Then you could just get a splitter whose input matches the layout of your headset plug, to split it into two separate line-out and mic-in plugs that you can just plug into your computer.

Last edited by Ammako (2021-08-29 23:57:11)

Offline

Board footer

Powered by FluxBB