#Headset microphone (unplugged) status

266 messages · Page 1 of 1 (latest)

woven cloak
#

Hello everyone i am new to linux in general and i just installed linux mint yesterday on my old Lenovo Ideapad S145 but i am having a problem i cant solve. i have a Hyper X Cloud Alpha headset, brand new, no drivers needed specific for him since he is analog with a P2 connector and the notebook has a Realtek ALC236 sound chip. i am quite the neewbie to all this but whenever using on windows the headset microphone would work just fine, but here on linux the microphone wont work it only detects my notebook's internal microphone, i have scoured the internet all over with no responses, i have tried some "solutions" but none resolved my problem. I have installed all the updates and all the drivers that mint told me to, i have not found a way to install specific Realtek drivers if they even exist.

note that i have a dual boot setup with mint and win 11, i have also put some screenshots of the diagnostic tools and configuration tools that i have.

#

with the help of @hazy wadi i also got some detailed information, here is what the console gave me:

#
Kernel Version
5.15.0-107-generic
Advanced Linux Sound Architecture Driver Version k5.15.0-107-generic.
Byte Order:                         Little Endian
\
Audio Server and Devices
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.0-107-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes

~
Output device info
\
Server Name: pulseaudio
Default Sink: alsa_output.pci-0000_03_00.6.analog-stereo

~
Device Bitrate Hz
\
Pulseaudio
s16le 2ch 44100Hz
|
Pipewire
default.clock.rate = "48000"
#
~
Devices Connected
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xd0888000 irq 65
 1 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xd0880000 irq 67
|
Log/Connected
[sudo] password for markus:     
[    0.328712] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    6.691820] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    6.806839] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    6.867097] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input11
[    6.875034] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    6.875043] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.875047] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    6.875050] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    6.875052] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    6.875054] snd_hda_codec_realtek hdaudioC1D0:      Headset Mic=0x19
[    6.875056] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    7.242458] input: HD-Audio Generic Headset Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input12
[    7.242793] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input13
#

also @manic lagoon and @lean locust take a look if you can

#

i have already removed pulseaudio

manic lagoon
woven cloak
manic lagoon
#

Don't, since you already deleted it properly (i assume)

woven cloak
manic lagoon
#

Now i know how to install pipewire while masking pulseaudio but i have no idea if this will work with deleted pulseaudio

#
  1. We will use a PPA for adding Pipewire to Mint 20.x, which is maintained regularly:
    sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
#
  1. We will update your PPA packages so this addition is recognised properly and smoothly
    sudo apt update
manic lagoon
#

wait

#

run the second command now

woven cloak
#

done

manic lagoon
#
  1. We will now install Pipewire
    sudo apt install pipewire
woven cloak
#

and done

manic lagoon
#
  1. We will now install Bluetooth dependencies for pipewire since you specified you use a headphone
    sudo apt install libspa-0.2-bluetooth
woven cloak
#

done

manic lagoon
#
  1. We will install the libraries pipewire needs to function properly and smoothly
    sudo apt install pipewire-audio-client-libraries
woven cloak
#

done

manic lagoon
#
  1. We will reload the daemon, since i forgot the specific command :p we'll just reload all of em
    systemctl --user daemon-reload
woven cloak
#

done XD

manic lagoon
#
  1. Since you havent rebooted after uninstalling PulseAudio and since there might be some leftovers as of now, we'll just run this command, it might give you an error in which case just send the ss
    systemctl --user --now disable pulseaudio.service pulseaudio.socket
woven cloak
#

done with no errors

manic lagoon
#

alright then

woven cloak
#

so now ill reboot yea?

manic lagoon
#

I expected an error so we will run another command just to be safe

woven cloak
#

oh okay

manic lagoon
#
  1. We will still try to mask PulseAudio (no harm in doing this even though youve uninstalled it)
    systemctl --user mask pulseaudio
woven cloak
#

and done

manic lagoon
#
  1. We will enable pipewire's media session service
    systemctl --user --now enable pipewire-media-session.service
woven cloak
#

Failed to enable unit: Unit file pipewire-media-session.service does not exist.

manic lagoon
#

hm?

woven cloak
#

this is what it gave me

manic lagoon
#

It doesn't exist? Gimme a minute

woven cloak
#

yea it gave the same error

manic lagoon
#

We'll run 2 commands to basically redo this step

  1. sudo apt reinstall pipewire pipewire-bin pipewire-pulse
  2. Then, systemctl --user --now enable pipewire pipewire-pulse
woven cloak
#

done with no errors

manic lagoon
#

That's great, if it still gave you an error, I would have been stumped :)

woven cloak
#

XD

manic lagoon
#

We will check if PipeWire is actively running now
pactl info

woven cloak
#
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 39
Tile Size: 65472
User Name: markus
Host Name: H4-Mint-PC
Server Name: PulseAudio (on PipeWire 1.0.3)
Server Version: 15.0.0
Default Sample Specification: (invalid)
Default Channel Map: front-left,front-right
Default Sink: @DEFAULT_SINK@
Default Source: @DEFAULT_SOURCE@
Cookie: 87a5:3fda
#

this is the result

manic lagoon
#

Hmm
Reboot once

woven cloak
#

alr

lean locust
#

h

#

good job

manic lagoon
woven cloak
#
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 50
Tile Size: 65472
User Name: markus
Host Name: H4-Mint-PC
Server Name: PulseAudio (on PipeWire 1.0.3)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: @DEFAULT_SINK@
Default Source: @DEFAULT_SOURCE@
Cookie: 87ce:be65
#

here it is

manic lagoon
#

PipeWire is installed and running :D

#

It worked even before the reboot but I wanted to be sure

woven cloak
#

but this is my sound settings now

manic lagoon
#

hm?

woven cloak
#

i also cant hear anything

manic lagoon
woven cloak
#

nothing

manic lagoon
#

Give me a minute

woven cloak
#

alsaMixer is now defaulting on pipewire which has no controls, but the hdmi and realtek are still there

manic lagoon
#

Try this
sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
Then run systemctl --user restart pipewire-session-manager

#

Did it work?

woven cloak
manic lagoon
woven cloak
#

sorry if i am doing something wrong

manic lagoon
#

Send a screenshot

woven cloak
#

okay

manic lagoon
#

If this doesnt work its because pulseaudio was deleted instead of being masked. We'll just start everything over again. Dw, it'll take 5 minutes at most

manic lagoon
#

You have 2 choice -

  1. We can do everything over
  2. You can wait for someone more experience to help you
#

I recommend waiting for Luthe

woven cloak
#

well we could, i dont mind, so apparently there is no media-session.d/with-pulseaudio

#

but ill follow your advice

manic lagoon
woven cloak
#

i could install it again

manic lagoon
manic lagoon
woven cloak
#

hey its fine, you helped way more than the internet XD

woven cloak
manic lagoon
#

Audio problems are a bit tricky, even reinstalled might not work if we dont do it right

woven cloak
#

whenever i installed mint it had no pulseaudio, i installed it to try and solve the problem with my headset

#

bc i followed some old threads on the net

manic lagoon
woven cloak
#

but now my mint is completely devoid of any audio

#

🥲

manic lagoon
#

Dw.itll only be a few hours. I'm also looking for solutions for you

woven cloak
#

mhm ty very much!

manic lagoon
#

You know what, ill try to install pipewire myself and see what the issue is

woven cloak
#

btw @manic lagoon i uninstalled pulseaudio it by going to the menu and right clicking on it and clicking on uninstall

#

dunno if that was the right way

manic lagoon
#

since this didnt work, install pulseaudio and use it in the mean time

woven cloak
#

alr

manic lagoon
#

After installing run this
systemctl --user --now enable pulseaudio.service pulseaudio.socket

#

if this doesnt work then just wait for Luthe

woven cloak
#

wait i think it is still installed? sorry i am lost this is my first time ever using linux XD

#

i think i only uninstalled a ui for it or something

manic lagoon
#

You probably uninstalled PulseAudio Audio Control

woven cloak
#

yea

#

should i install it again?

manic lagoon
#

I recommend not doing anything and just wait

woven cloak
#

alr

manic lagoon
#

Sure

woven cloak
# manic lagoon Sure

yea... lets just wait XD

Failed to enable unit: Unit file /home/markus/.config/systemd/user/pulseaudio.service is masked.
manic lagoon
#

ah yeah

#

systemctl --user unmask pulseaudio

#

systemctl --user --now enable pulseaudio.service pulseaudio.socket

woven cloak
#

alr audio back to where it was before

manic lagoon
#

We probably didn't do something correctly while setting up PulseAudio probably

woven cloak
#

mhm well i can at least watch some yt now while we wait for help

#

ty anyhow @manic lagoon you made me at least understand more of how things work

#

used windows all my life and changing is quite hard XD

manic lagoon
manic lagoon
woven cloak
#

not only audio but the touchpad as well

manic lagoon
#

What touchpad problem?

woven cloak
#

the function key to disable it wont work

#

otherwise it works as intended

manic lagoon
#

aight stunner is here to help
I'll leave now

woven cloak
glacial vessel
#

however i've seen the same issue in picture 2 (pavucontrol) personally. it's not good

#

when mic shows a steady DC voltage level on the sound meter. no good. I had to forfeit and buy a USB mic.

woven cloak
#

damn, so its unsolvable?

glacial vessel
#

i tried 6 distros, and the sound meter in pavucontrol stayed like that always. about 1 inch lit up steady

#

only my laptop's built in mic would work (and later. USB mic)

woven cloak
#

so basically i am stuck with the built in mic on my laptop

#

but since i have dual boot i tested it on windows

#

and it works just fine

glacial vessel
woven cloak
#

here are some screenshots of alsamixer

glacial vessel
#

last pic looks fine, if not a bit overdriven on capture and mic levels. exit that with Esc key

#

reboot since u did a lot of changes earlier

#

and see the pavucontrol Configuration tab after, and send a pic

woven cloak
#

okay 1 minute

#

just restarted and now the audio stopped working again

woven cloak
glacial vessel
#

no

woven cloak
#

pavucontrol shows no cards

glacial vessel
#

ooof

#

this is why I dont dare mess with distros sound subsystems

#

is ur pc new?

woven cloak
#

nope its a old Lenovo Ideapad S145

glacial vessel
#

what year?

woven cloak
#

hard to say, i bought it like 5 or 6 years ago? i dont even think they are produced anymore

#

it is also AMD with a ryzen 5 and a Vega 8 GPU

glacial vessel
#

u bought it new?

woven cloak
#

yes

glacial vessel
#

I would try put together a Tester USB stick with Ventoy (it's a flasher/loader program) and slap 3 ISOs on it (possible to do all at once with Ventoy) :

  • Linux Mint 21.3 EDGE Cinnamon
  • MX Linux Xfce 23.x (A fully Pipewire distro)
  • Endeavour OS ( a fully Pipewire, running on cutting edge Arch linux with user friendly interface)
#

test each distro in that order ^ after u put them onto the Ventoy-prepared USB stick (need 16 GB stick or more)

#
  • simply by booting up in live demo mode to the distro listed above, u will be able to test your mic, by either enabling "loopback" in alsamixer, or using a recording tool, such as vocaroo.com
woven cloak
#

well i dont really have a 16gb usb one for now so i guess ill just have to install them one by one, but at the same time i also did test another distro before Mint. It was Nobara and i had the same result as mint

glacial vessel
#

how big a usb stick do u have?

woven cloak
#

8

glacial vessel
#

well, ventoy takes up virtually no space at all, Mint edge is about 3 gigs, i think same for MX.. so u can at least load the stick with 2 of them

#

once u make it with ventoy (use GPT options in the ventoy installer's Option menu: Partition Style ) u can just copy the iso's onto it after

#

simply copy and delete at will

woven cloak
glacial vessel
#

well, if u use vocaroo.com, or download sound-recorder gnome app, u will certainly tell cuz ur boom mic will sound super close and clear, since it's by ur face

woven cloak
#

ah well yea makes sense

#

well guess its time to install linux again

glacial vessel
#

i hope the Mint Edge option works for ya... and u dont actually have to install until ur sure it's good, that's the beauty of live mode

woven cloak
#

alr ill try ty

#

if anyone finds a way to help me without the need to reinstall linux just let me know

glacial vessel
woven cloak
#

okay

woven cloak
#

@glacial vessel i just installed ventoy on the usb

#

i have mint edge and endeavour here

#

now how do i put them there?

glacial vessel
woven cloak
#

i think so? let me double check

glacial vessel
#

if u relaunch the installer, it should show like that now

glacial vessel
#

but dont do that til u confirm the above picture.

woven cloak
#

alr i just confirmed it

#

going to copy it

glacial vessel
#

give it a full minute or two to rest after finishing the copy to make sure the usb flash fully writes properly

woven cloak
#

alr

woven cloak
#

well that failed

#

they would not boot at all

#

i guess ill have to do one at a time

#

but tbh i dont want to change anymore

#

@manic lagoon can you help me undo the changes? whenever i restart pulse stops working again

#

i want to at least hear something until we can have another imput on this situation

#

@glacial vessel if you know how to save the changes from:
systemctl --user --now enable pulseaudio.service pulseaudio.socket

#

it would help me at least keep using linux for now

glacial vessel
#

also, I think you can just add the start Pipewire commands u did before into Mint's autostart stuff

#

see, System Settings, Startup applications

woven cloak
glacial vessel
#

or into some other file, commenting out the start pulseaudio line.. i think it's in xorg.conf but im not sure

glacial vessel
woven cloak
#

i will reinstall mint for the last time and wait to see if anyone else has a solution

#

bc i dont think its a possibility that linux just dont support a P2 headset with a microphone

#

bc i have friends that dont have the same problem

woven cloak
#

i did not reinstall mint

#

i just left how it is and added the start up command

#

im personally defeated

#

tried that but no results

hazy wadi
#

The fix is to use mint edge with pipewire

#

Or regular mint with latest kernel

#

Tldr

woven cloak
#

because i installed it yesterday

#

and i've been trying to solve this issue all day

woven cloak
glacial vessel
woven cloak
#

Its completely crazy imho

#

But ill double check the kernel just to be sure

glacial vessel
#

k

woven cloak
glacial vessel
#

uname - r or uname -a

#

also works

#

ok check pavucontrol config and pick the family17h ANALOG DUPLEX profile

woven cloak
#

Alr 1 minute

hazy wadi
glacial vessel
#

can u take 2 photos please? One of your headset's connector plug or plugs, and one of the jacks on the pc ur connecting to. (use flashlight if needed)

woven cloak
#

sure

#

@glacial vessel here you go

#

pretty standard stuff

glacial vessel
#

yes and one of the jack please. Face on, unplugged, point to it with a pencil tip

woven cloak
#

alr

#

unfortunately i do not have my cellphone flash ready, it is almost dead

#

so ill send you whwneve rit charges

#

i dont know if its a problem with the jack bc on windows it works fine

glacial vessel
#

does the jack u plug into show this icon above it?

woven cloak
#

yup

glacial vessel
#

hmmm

#

is there another dedicated jack also, with just a handheld microphone symbol?

woven cloak
#

no, there is only a small hole where the built in microphone is

glacial vessel
#

k

#

did ur autostart commands get your stereo sound working again?

woven cloak
#

well yea, it starts fine now

glacial vessel
#

you may need that if Linux refuses to detect the mic port

woven cloak
#

i guess

#

still ill wait some more before doing anything

glacial vessel
#

yep

woven cloak
#

i want to see what @hazy wadi has to say

manic lagoon
#

To undo the changes

  1. systemctl --user unmask pulseaudio
  2. systemctl --user --now enable pulseaudio.service pulseaudio.socket
hazy wadi
#

until mint 22 releases

woven cloak