You are not logged in.
Laptop model is acer Aspire E5-573G. It uses a combo jack which would allow for line in, headphones, headsets, microphones, etc when it had windows. Switched and only now realised that I can't use my headset with the mic. What to do to fix this?
Last edited by CRN110 (2020-02-02 20:25:44)
Offline
What have you tried? Post in [ code ] [ /code ] tags without the spaces
uname -a
arecord -lL
amixer -c$index of correct card from arecord here$
#if pulse and during a recording attempt
pacmd list-cards
pacmd list-sources
pacmd list-source-outputsLast edited by V1del (2020-02-03 16:51:20)
Offline
Linux LAPTOP-LVT7RAQ 4.19.99-1-lts #1 SMP Mon, 27 Jan 2020 21:30:28 +0000 x86_64 GNU/Linux
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
default
Default ALSA Output (currently PulseAudio Sound Server)
usbstream:CARD=HDMI
HDA Intel HDMI
USB Stream Output
sysdefault:CARD=PCH
HDA Intel PCH, ALC255 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC255 Analog
Front speakers
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC255 Analog [ALC255 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',4
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
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 '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 'Beep',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 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 39 [62%] [12.00dB] [on]
Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
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 0xc4310000 irq 53"
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 = "160c"
device.product.name = "Broadwell-U 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 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
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: 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"
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 0xc4314000 irq 50"
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 = "9ca0"
device.product.name = "Wildcat Point-LP 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: Analog Stereo Input (priority 65, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
ports:
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
2 source(s) available.
index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 1030
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: s32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
monitor_of: 0
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
device.description = "Monitor of Built-in Audio Analog Stereo"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xc4314000 irq 50"
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 = "9ca0"
device.product.name = "Wildcat Point-LP High Definition Audio Controller"
device.form_factor = "internal"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
* index: 1
name: <alsa_input.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 10387 / 16% / -48.00 dB, front-right: 10387 / 16% / -48.00 dB
balance 0.00
base volume: 6554 / 10% / -60.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 0 KiB
sample spec: s32le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "32"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC255 Analog"
alsa.id = "ALC255 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xc4314000 irq 50"
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 = "9ca0"
device.product.name = "Wildcat Point-LP High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:1"
device.buffering.buffer_size = "705600"
device.buffering.fragment_size = "352800"
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 ALC255"
alsa.components = "HDA:10ec0255,1025098a,00100002"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
active port: <analog-input-mic>
0 source output(s) available.These are the outputs of the commands you posted.
I've tried checking in pavucontrol, alsa-mixer, and checking if the audio settings were set to stereo duplex.
Also, this isn't exactly a headset, it's more of a 3.5mm splitter with a mic and a pair of mobile earphones attached so the female connecter makes it function like a headset.
Offline
I'm trying to get mic working too on my ASUS with ALC3236 codec.
What's your sound card codec?
cat /proc/asound/card*/codec* | grep Codec Offline
His codec is ALC255 as shown in the aplay output
@CRN110 Nothing immediately obvious here, technically a mic is there but that might mean the laptop internal one rather than the external mic you've plugged, fwiw you could increase the volume on that. Something you should try is test a newer kernel, as afaik there has been quite some work on combined jack support in newer, non 4.19 kernel releases.
Offline
Yeah pretty sure it points to the internal one. New kernel? I guess I'll switch from lts to stable linux... But then packages like nvidia-lits need to be changed to, eh, I'll update as soon as I change it. Thanks for the help so far!
Edit: Any kernels you'd specifically recommend?
Last edited by CRN110 (2020-02-04 14:08:11)
Offline
No just something that's more up to date, the LTS kernel is over a year old from a hardware/feature support perspective (FWIW it will likely be replaced by the new 5.4 kernel that's intended to be next LTS soonish). Unless you are strapped for space on your /boot you don't need to actually switch anything and can simply install the non-LTS kernel in addition to the LTS kernel (generally good idea to have something to fall back to if a kernel fails for whatever reason) as for nvidia - unsurprsingly - in addition to the nvidia-lts package there's a nvidia package, which is the same package but built for the stable/current rather than the LTS kernel.
Offline
Hmm, okay, have a resource for switching? Never switched to the non-LTS official kernel so unsure about the steps. Also, will nvidia-dkms work for both of them?
Offline
Install the kernel, reconfigure/adjust your boot loader config (the wiki has information on how to do that for every loader), done. Yes nvidia-dkms will work for both of them but will entail some overhead during installation as the module will be built on your machine for the respective kernels (and you have to install the respective kernel's headers before switching to nvidia-dkms) FWIW there's no conflict between nvidia and nvidia-lts you can install them simultaneously if you are only switching between these two kernels.
Last edited by V1del (2020-02-04 17:00:42)
Offline
It's a good idea to try the stable kernel, but you could also try with the snd-hda-intel module options.
Create the file /etc/modprobe.d/alsa-base.conf with following contents:
options snd-hda-intel model=dell-headset-multiMaybe that model won't work for you, you can try different models from here: https://www.kernel.org/doc/html/latest/ … xxx-models
For example I would try with 'alc255-acer'
Source: https://superuser.com/questions/1312970 … sa/1329331
You could also try with this approach using hdajackretask from alsa-tools package: https://askubuntu.com/questions/1078911 … ernal-does
None of these methods worked on my 2 laptops though.
Offline
Just saw the post above me. I tried those things, but the .conf edit did not change anything seemingly. Does ALSA even use the file? I even tried different ones, such as headset-mic and the one for aspire. No avail. I pretty much changed all unused ports to microphone with hdajackretask. Now it does give another option in pavucontrol, but despite plugging in the headset, it says the mic is unplugged.
Last edited by CRN110 (2020-02-05 09:12:46)
Offline
Right so I followed through with everything an additionally added the snd-hda-intel module options with /usr/share/alsa/alsa.conf by writing it out on the top as well with the actual suggestion by Loko as an experiment. Nothing changed. Mind you, I recall that I had to create the alsa-base.conf file, so I doubt changing that would make a difference since it seems like alsa does not use it. What now?
Also, hdajackretask does not give me a headset option in the gui for the jack (I don't mean unconnected pins). I was wondering that if there was a way to somehow make it change to headset, it would work? But how to do that?
EDIT: hdajackretask gives the option to choose modem handset with advanced configuration for the headphone jack (again, not unconnected pins), is it worth a try? I'm unsure to blindly switch since if I did that with something like line in, it would kill my headset.
Last edited by CRN110 (2020-02-05 17:33:50)
Offline
See your other thread regarding the .conf file.
It isn't going to kill anything everything you set in hdajackretask is easily revertable, so it might be worth a shot.
Offline
So, anything I've tried so far hasn't worked. Any more suggestions? The .conf file didn't change anything and hdajackretask didn't work either..
Offline
I tried to mess around with QJackCtl but to no avail
Offline