Welcome! Share code as fast as possible.

[user@Arch ~]$ pactl list cards
Card #47
	Name: alsa_card.pci-0000_09_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA ATI HDMI at 0xf0940000 irq 68"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:09:00.1"
		device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_09_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "8453764"
		device.product.id = "0xaaf0"
		device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "47"
		object.serial = "47"
		object.path = "alsa:acp:HDMI"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xf0940000 irq 68"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.id = "HDMI"
		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-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: yes)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) 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)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 6, 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
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
				device.product.name = "DELL S2319NX"
			Part of profile(s): output:hdmi-stereo-extra3
		hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, availability group: Legacy 6, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 6"
				device.icon_name = "video-display"
				card.profile.port = "5"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #48
	Name: alsa_card.pci-0000_0b_00.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0xf0500000 irq 70"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:0b:00.3"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0b_00.3"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "8489447"
		device.product.id = "0x1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.3/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "48"
		object.serial = "48"
		object.path = "alsa:acp:Generic"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xf0500000 irq 70"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Realtek ALC3861"
		alsa.components = "HDA:10ec0899,1028089a,00100003"
		alsa.id = "Generic"
		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: no)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 1, sources: 2, priority: 1, available: yes)
	Active Profile: off
	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:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+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:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+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:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not 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, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+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

Card #925
	Name: bluez_card.AC_80_0A_2B_E6_59
	Driver: module-bluez5-device.c
	Owner Module: n/a
	Properties:
		api.bluez5.address = "AC:80:0A:2B:E6:59"
		api.bluez5.class = "0x240404"
		api.bluez5.connection = "connected"
		api.bluez5.device = ""
		api.bluez5.icon = "audio-headset"
		api.bluez5.id = "2"
		api.bluez5.path = "/org/bluez/hci0/dev_AC_80_0A_2B_E6_59"
		bluez5.profile = "off"
		device.alias = "WH-1000XM5"
		device.api = "bluez5"
		device.bus = "bluetooth"
		device.description = "WH-1000XM5"
		device.form_factor = "headset"
		device.icon_name = "audio-headset-bluetooth"
		device.name = "bluez_card.AC_80_0A_2B_E6_59"
		device.product.id = "0x0df0"
		device.string = "AC:80:0A:2B:E6:59"
		device.vendor.id = "usb:054c"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "80"
		object.serial = "925"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		a2dp-sink-sbc: High Fidelity Playback (A2DP Sink, codec SBC) (sinks: 1, sources: 0, priority: 18, available: yes)
		a2dp-sink-sbc_xq: High Fidelity Playback (A2DP Sink, codec SBC-XQ) (sinks: 1, sources: 0, priority: 17, available: yes)
		a2dp-sink: High Fidelity Playback (A2DP Sink, codec AAC) (sinks: 1, sources: 0, priority: 19, available: yes)
		headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
		headset-head-unit: Headset Head Unit (HSP/HFP, codec mSBC) (sinks: 1, sources: 1, priority: 3, available: yes)
	Active Profile: a2dp-sink
	Ports:
		headset-input: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): headset-head-unit-cvsd, headset-head-unit
		headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): a2dp-sink-sbc, a2dp-sink-sbc_xq, a2dp-sink
		headset-hf-output: Handsfree (type: Headset, priority: 0, latency offset: 0 usec, available)
			Properties:
				port.type = "headset"
			Part of profile(s): headset-head-unit-cvsd, headset-head-unit
[user@Arch ~]$ sudo journalctl -b -u bluetooth
Jan 27 09:09:25 Arch systemd[1]: Starting Bluetooth service...
Jan 27 09:09:25 Arch bluetoothd[624]: Bluetooth daemon 5.79
Jan 27 09:09:26 Arch systemd[1]: Started Bluetooth service.
Jan 27 09:09:26 Arch bluetoothd[624]: Starting SDP server
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support bap plugin
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support bass plugin
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support mcp plugin
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support vcp plugin
Jan 27 09:09:26 Arch bluetoothd[624]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support micp plugin
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support ccp plugin
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support csip plugin
Jan 27 09:09:26 Arch bluetoothd[624]: src/plugin.c:init_plugin() System does not support asha plugin
Jan 27 09:09:26 Arch bluetoothd[624]: Bluetooth management interface 1.23 initialized
Jan 27 09:09:26 Arch bluetoothd[624]: Battery Provider Manager created
Jan 27 09:09:26 Arch bluetoothd[624]: src/device.c:device_set_wake_support() Unable to set wake_support>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/ap>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/ap>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/aac
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/op>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/sbc
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/op>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSink/op>
Jan 27 09:09:36 Arch bluetoothd[624]: Endpoint registered: sender=:1.23 path=/MediaEndpoint/A2DPSource/>
Jan 27 09:24:44 Arch bluetoothd[624]: /org/bluez/hci0/dev_AC_80_0A_2B_E6_59/fd0: fd(30) ready
Jan 27 09:28:11 Arch bluetoothd[624]: src/profile.c:ext_io_disconnected() Unable to get io data for Han>
Jan 27 10:07:49 Arch bluetoothd[624]: src/profile.c:ext_connect() Hands-Free Voice gateway failed conne>
Jan 27 10:07:49 Arch bluetoothd[624]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to AC:80:0A:2B:>
Jan 27 10:07:51 Arch bluetoothd[624]: /org/bluez/hci0/dev_AC_80_0A_2B_E6_59/fd1: fd(28) ready
[user@Arch ~]$