View previous topic :: View next topic |
Author |
Message |
shor_tyy n00b
Joined: 08 Jul 2020 Posts: 9
|
Posted: Wed Nov 25, 2020 8:54 am Post subject: New Headphones' microphone records stereo |
|
|
Hello! I recently bought an Acer Predator Galea 311 headset, because my old one died, and a friend said that Acer products work well on GNU/Linux.
It has a single jack, but my motherboard has separate ports for microphone and stereo, so I bought a splitter. My system recognizes headphones and its mic too, but when I play music for example while talking on Discord, The microphone captures the music too.
Code: | ~ $ pactl list sources
Source #0
State: SUSPENDED
Name: alsa_input.usb-Jieli_Technology_USB_PHY_2.0-02.mono-fallback
Description: USB PHY 2.0 Mono
Driver: module-alsa-card.c
Sample Specification: s16le 1ch 44100Hz
Channel Map: mono
Owner Module: 7
Mute: no
Volume: mono: 25897 / 40% / -24.19 dB
balance 0.00
Base Volume: 35466 / 54% / -16.00 dB
Monitor of Sink: n/a
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "USB PHY 2.0"
alsa.long_card_name = "Jieli Technology USB PHY 2.0 at usb-0000:07:00.3-4, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:07:00.3-usb-0:4:1.2"
sysfs.path = "/devices/pci0000:00/0000:00:07.1/0000:07:00.3/usb3/3-4/3-4:1.2/sound/card2"
udev.id = "usb-Jieli_Technology_USB_PHY_2.0-02"
device.bus = "usb"
device.vendor.id = "1224"
device.vendor.name = "Jieli Technology"
device.product.id = "2a25"
device.product.name = "USB PHY 2.0"
device.serial = "Jieli_Technology_USB_PHY_2.0"
device.form_factor = "webcam"
device.string = "hw:2"
device.buffering.buffer_size = "176400"
device.buffering.fragment_size = "88200"
device.access_mode = "mmap+timer"
device.profile.name = "mono-fallback"
device.profile.description = "Mono"
device.description = "USB PHY 2.0 Mono"
alsa.mixer_name = "USB Mixer"
alsa.components = "USB1224:2a25"
module-udev-detect.discovered = "1"
device.icon_name = "camera-web-usb"
Ports:
analog-input-mic: Microphone (priority: 8700)
Active Port: analog-input-mic
Formats:
pcm
Source #1
State: SUSPENDED
Name: alsa_output.pci-0000_08_00.3.analog-stereo.monitor
Description: Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 8
Mute: no
Volume: front-left: 62259 / 95% / -1.34 dB, front-right: 62259 / 95% / -1.34 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor of Sink: alsa_output.pci-0000_08_00.3.analog-stereo
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfce00000 irq 62"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.3"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.3/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1457"
device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Formats:
pcm
Source #2
State: SUSPENDED
Name: alsa_input.pci-0000_08_00.3.analog-stereo
Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 8
Mute: no
Volume: front-left: 44652 / 68% / -10.00 dB, front-right: 44652 / 68% / -10.00 dB
balance 0.00
Base Volume: 6554 / 10% / -60.00 dB
Monitor of Sink: n/a
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC892 Analog"
alsa.id = "ALC892 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfce00000 irq 62"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.3"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.3/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1457"
device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
alsa.mixer_name = "Realtek ALC892"
alsa.components = "HDA:10ec0892,18496893,00100302"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-input-front-mic: Front Microphone (priority: 8500, not available)
analog-input-rear-mic: Rear Microphone (priority: 8200, available)
analog-input-linein: Line In (priority: 8100, not available)
Active Port: analog-input-rear-mic
Formats:
pcm
Source #3
State: SUSPENDED
Name: combined.monitor
Description: Monitor Source of Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Driver: module-combine-sink.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 11
Mute: yes
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
Monitor of Sink: combined
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.description = "Monitor Source of Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
device.class = "monitor"
device.icon_name = "audio-input-microphone"
Formats:
pcm |
Code: | ~ $ pactl list sinks
Sink #0
State: SUSPENDED
Name: alsa_output.pci-0000_08_00.3.analog-stereo
Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 8
Mute: no
Volume: front-left: 36045 / 55% / -15.58 dB, front-right: 36045 / 55% / -15.58 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_08_00.3.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC892 Analog"
alsa.id = "ALC892 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfce00000 irq 62"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.3"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:08:00.3/sound/card1"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1457"
device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
device.string = "front:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
alsa.mixer_name = "Realtek ALC892"
alsa.components = "HDA:10ec0892,18496893,00100302"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-output-lineout: Line Out (priority: 9000, available)
analog-output-headphones: Headphones (priority: 9900, not available)
Active Port: analog-output-lineout
Formats:
pcm
Sink #1
State: SUSPENDED
Name: combined
Description: Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Driver: module-combine-sink.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 11
Mute: no
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
Monitor Source: combined.monitor
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.class = "filter"
device.description = "Simultaneous output to Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"
device.icon_name = "audio-card"
Formats:
pcm |
My kernel is built with support for Realtek HD-audio codec support, and with support for my soundcard.
I'm using PulseAudio.
I also tried it on a Fedora livecd without messing with the settings, and the issue persisted, however on a Windows 10 laptop, there weren't any issues.
----------------
So I enabled debugging for audio stuff in my kernel, and noticed that dmesg gives me a few errors about the pins:
Code: |
[ 1.153090] snd_hda_codec_generic hdaudioC0D0: ignore pin 0x7, too many assigned pins
[ 1.154080] snd_hda_codec_generic hdaudioC0D0: ignore pin 0x9, too many assigned pins
[ 1.155118] snd_hda_codec_generic hdaudioC0D0: ignore pin 0xb, too many assigned pins
[ 1.156717] snd_hda_codec_generic hdaudioC0D0: ignore pin 0xd, too many assigned pins
|
Also apparently ALSA cannot find my soundcard?
Code: |
[ 1.178160] ALSA device list:
[ 1.178664] No soundcards found.
|
[Moderator edit: Moved poster's self-response into main post, then deleted that self-response to return the thread to the unanswered list.
OP: Generally, if post length permits, you should edit extra information into your first post instead of replying to it. Some users run a canned search for threads with zero replies as a way of finding posts to answer. When you replied to yourself, you removed your thread from that list, even though you were not replying to announce that the thread was solved. Thus, they would no longer see your thread on the list of unanswered threads.
-Hu] |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1922 Location: Switzerland (Romandie)
|
Posted: Fri Nov 27, 2020 5:19 pm Post subject: |
|
|
The dmesg show than you have an issue with the ALSA driver. I get some troubles with the hdaudio driver in the past. I enabled all its codecs in the kernel and it was solved. It can be worth a try, and if it work you can always remove the non useful ones later.
EDIT:
Code: | dmesg|grep -i snd
[ 24.222724] snd_hda_codec_realtek hdaudioC1D2: autoconfig for ALC269VB: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 24.222737] snd_hda_codec_realtek hdaudioC1D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 24.222741] snd_hda_codec_realtek hdaudioC1D2: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 24.222744] snd_hda_codec_realtek hdaudioC1D2: mono: mono_out=0x0
[ 24.222747] snd_hda_codec_realtek hdaudioC1D2: inputs:
[ 24.222750] snd_hda_codec_realtek hdaudioC1D2: Internal Mic=0x1b
[ 24.222753] snd_hda_codec_realtek hdaudioC1D2: Mic=0x18
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|