You are not logged in.

#1 2016-01-03 15:21:02

Admicos
Member
Registered: 2014-12-09
Posts: 34

SOLVED! [ALSA] Microphone doesn't work

SOLUTION HERE (You may need to modify the command a little.)

So, i was playing CS:GO and suddenly the microphone stopped working. Everywhere. I can hear stuff (headphones work) but the mic is gone.

Stuff i tried that didn't work:
- Install pulseaudio and try to do stuff with it.
- Mess with alsamixer
- Check all kinds of wiki/forum posts
- Reboot a lot.

I can give info when needed.

Last edited by Admicos (2016-01-03 20:14:03)

Offline

#2 2016-01-03 17:00:40

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: SOLVED! [ALSA] Microphone doesn't work

Admicos wrote:

- Install pulseaudio and try to do stuff with it.

After installing pulseaudio, did you try adjusting the settings using...

pavucontrol

Offline

#3 2016-01-03 17:01:13

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

paulkerry wrote:
Admicos wrote:

- Install pulseaudio and try to do stuff with it.

After installing pulseaudio, did you try adjusting the settings using...

pavucontrol

Yes. But it didn't work.

Offline

#4 2016-01-03 17:03:47

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

pacmd list-sources

Offline

#5 2016-01-03 17:05:58

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: SOLVED! [ALSA] Microphone doesn't work

What specifically didn't work? Did pavucontrol display your available microphone(s) under the "Input Devices" tab?

Is there a pulseaudio process running?

ps ax | grep pulse

Offline

#6 2016-01-03 17:11:53

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

pacmd list-sources

 
3 source(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_03.0.hdmi-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1950
	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: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_03.0>
	module: 6
	properties:
		device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xd0710000 irq 51"
		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 = "0a0c"
		device.product.name = "Haswell-ULT HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 1
	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: 1950
	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: s16le 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: 1
	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 0xd0714000 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 = "9c20"
		device.product.name = "8 Series HD Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 2
	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: 9959
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 13076 /  20% / -42.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 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 = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "CX20751/2 Analog"
		alsa.id = "CX20751/2 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 0xd0714000 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 = "9c20"
		device.product.name = "8 Series HD Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		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 = "Conexant CX20751/2"
		alsa.components = "HDA:14f1510f,17aa3801,00100100"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>
paulkerry wrote:

What specifically didn't work? Did pavucontrol display your available microphone(s) under the "Input Devices" tab?

Is there a pulseaudio process running?

ps ax | grep pulse
  543 ?        S<sl   0:00 /usr/bin/pulseaudio --daemonize=no

pavucontrol shows my microphone in the Input Devices tab. But it has weird flicks randomly and (for some reason) catches the system sounds (music on youtube etc.) very quietly.

Offline

#7 2016-01-03 17:23:11

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Your default source is "hdmi monitor" (*). No wonder the mic doesn't work then.

pacmd set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo

There are two ports: analog-input-mic and analog-input-internal-mic , make sure active port is the one you want (now it's analog-input-mic). You can for example switch to analog-input-internal-mic by running:

pacmd set-source-port alsa_input.pci-0000_00_1b.0.analog-stereo analog-input-internal-mic

Offline

#8 2016-01-03 17:26:44

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Your default source is "hdmi monitor" (*). No wonder the mic doesn't work then.

pacmd set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo

There are two ports: analog-input-mic and analog-input-internal-mic , make sure active port is the one you want (now it's analog-input-mic). You can for example switch to analog-input-internal-mic by running:

pacmd set-source-port alsa_input.pci-0000_00_1b.0.analog-stereo analog-input-internal-mic

Didn't work. Still the same.

Do i need to restart after changing to analog-input-mic? Because i didn't.

Offline

#9 2016-01-03 17:27:51

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: SOLVED! [ALSA] Microphone doesn't work

In pavucontrol under "Input Devices", if you select show "Hardware Input Devices" at the bottom, then select your corresponding microphone from the "Port" selector, does it help if you adjust the gain slider dB levels?

Offline

#10 2016-01-03 17:29:25

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

paulkerry wrote:

In pavucontrol under "Input Devices", if you select show "Hardware Input Devices" at the bottom, then select your corresponding microphone from the "Port" selector, does it help if you adjust the gain slider dB levels?

Nope.

Offline

#11 2016-01-03 17:31:23

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Do you see the VU meter in pavucontrol moving (with EITHER port selected)? Could be broken auto-mute in ALSA again.

No you do NOT need to restart pulse.

h8m5.png

Last edited by tom.ty89 (2016-01-03 17:34:07)

Offline

#12 2016-01-03 17:35:14

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Do you see the VU meter in pavucontrol moving (with EITHER port selected)? Could be broken auto-mute in ALSA again.

No you do NOT need to restart pulse.

https://ptpb.pw/LJ06.png

If you are talking about the progressbar at the bottom of the dB slider, it moves randomly and doesn't care about the mic input. I can make a screen recording if you want.

Offline

#13 2016-01-03 17:38:52

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Hmm sounds like it's using the internal mic anyway. Does it stop moving if you unplug the mic?

Can you paste a screenshot of alsamixer? (F6 to select the card and then F4 to show capture sliders only)

Last edited by tom.ty89 (2016-01-03 17:39:22)

Offline

#14 2016-01-03 17:40:56

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: SOLVED! [ALSA] Microphone doesn't work

it's not a progressbar - as tom.ty89 shows in his image, it's a VU meter which shows sounds. If you clap your hands in front of the microphone, the VU meter should shoot over to the right.

Offline

#15 2016-01-03 17:40:56

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Hmm sounds like it's using the internal mic anyway. Does it stop moving if you unplug the mic?

Can you paste a screenshot of alsamixer? (F6 to select the card and then F4 to show capture sliders only)

MaxzwX1.png

paulkerry wrote:

it's not a progressbar - as tom.ty89 shows in his image, it's a VU meter which shows sounds. If you clap your hands in front of the microphone, the VU meter should shoot over to the right.

I wrote this befor he embedded the image. (At least it didn't show to me after i posted it.)

Last edited by Admicos (2016-01-03 17:42:03)

Offline

#16 2016-01-03 17:51:21

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Can you try to move to "Capture" (the second slider), and press the space bar and see if anything changes?

Offline

#17 2016-01-03 17:53:00

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Can you try to move to "Capture" (the second slider), and press the space bar and see if anything changes?

Now, the microphone on the pavucontrol Input Devices is all grayed out and there is no sound at all. (Not even static)

Offline

#18 2016-01-03 18:01:53

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Hmm I am out of idea then. Is it a laptop and if so, does it actually have internal mic?

Last edited by tom.ty89 (2016-01-03 18:02:08)

Offline

#19 2016-01-03 18:02:52

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Hmm I am out of idea then. Is it a laptor and if so, does it actually have internal mic?

Yes it is a laptop. And yes it has an internal mic. As said in the OP, it worked before. It stopped working today, after a CS:GO match

Offline

#20 2016-01-03 18:05:26

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Wait so is the internal mic or an external one you have been using and trying to make it work again? Or both worked and stopped working suddenly? Did you update the system after the match?

Offline

#21 2016-01-03 18:06:23

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Wait so is the internal mic or an external one you have been using and trying to make it work again? Or both worked and stopped working suddenly? Did you update the system after the match?

There is no external mic plugged in. All internal, and ther ewas no updates after the match.

Offline

#22 2016-01-03 18:12:59

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: SOLVED! [ALSA] Microphone doesn't work

Hmm pulseaudio somehow tells a different story. (available: *):

...
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
...
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)

Thing is apparently the ALSA driver has no option for you to switch between ports and depend totally on jack sensing...Maybe you can try an external mic (well, if you got one) and a "plug cycle" to see if it helps or changes what pacmd list-sources tells.

If you don't mind you can paste an alsamixer screenshot with all sliders/options showed (F5). (Use the url tag instead of img for that.)

Last edited by tom.ty89 (2016-01-03 18:15:07)

Offline

#23 2016-01-03 18:18:12

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

tom.ty89 wrote:

Hmm pulseaudio somehow tells a different story. (available: *):

...
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
...
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)

Thing is apparently the ALSA driver has no option for you to switch between ports and depend totally on jack sensing...Maybe you can try an external mic (well, if you got one) and a "plug cycle" to see if it helps or changes what pacmd list-sources tells.

If you don't mind you can paste an alsamixer screenshot with all sliders/options showed (F5). (Use the url tag instead of img for that.)

http://i.imgur.com/0VVXTbj.png
Could the other mic be from the HDMI? Because it also shows a HDMI option when i press F6 on alsamixer.
Oh, and also, i think pavucontrol had another mic port. But it said unplugged and it didn't do anything

Offline

#24 2016-01-03 18:32:40

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: SOLVED! [ALSA] Microphone doesn't work

Just wondering if some software setting has been changed - can you try adding a new user to see if that works?

Offline

#25 2016-01-03 18:41:21

Admicos
Member
Registered: 2014-12-09
Posts: 34

Re: SOLVED! [ALSA] Microphone doesn't work

paulkerry wrote:

Just wondering if some software setting has been changed - can you try adding a new user to see if that works?

Nope. still not working

Offline

Board footer

Powered by FluxBB