You are not logged in.

#1 2019-07-10 14:00:22

Berdy
Member
Registered: 2019-07-10
Posts: 4

[SOLVED] PulseAudio not detecting laptop's built-in microphone.

Before anyone marks this as an already asked question, I seriously am clueless as to what the problem is and googling anything at this point just places me in a loop of articles I've already seen.

Story:
After some time of my built-in mic not producing any sound, I finally fixed it. But shortly after that, I tried using Qjackctl to play some music through my microphone. At that point, I didn't touch any settings in pavucontrol or in Alsamixer. I eventually stopped using Qjackctl, closed it and decided to use my microphone. It was producing no sound at all. All it detects is my headphone's microphone, which doesn't work (CM108 audio controller). Anyways, fast forward to googling a ton of things and trying a lot of them, my built-in microphone isn't even detected anymore. It happened straight after restarting pulseaudio. My built-in mic had an "Analog Stereo input" profile, originally was "Analog Stereo Duplex". Here are all of my pavucontrol settings  - https://imgur.com/a/ZYBpG86 . You can see in the second picture that I have some activity on my "Monitor of CM108 audio controller" but that seems to be the music I'm currently listening to. As you can see, no built-in microphone is present in the settings.

If anyone wants more information on my settings/drivers/inputs , tell me.

Last edited by Berdy (2019-07-10 14:45:27)

Offline

#2 2019-07-10 14:06:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] PulseAudio not detecting laptop's built-in microphone.

Welcome to the boards, Berdy

How exactly did you "finally" fix it? That wording looks like you've consciously done something but you aren't specifying what exactly. Please provide all adjustments in that regard.

I can't look at the pictures at work, however there's less information in there than would be contained in a

pacmd list-cards
pacmd list-sources
pacmd list-source-outputs
arecord -lL
amixer -c$insert index number of the correct card from arecord -l output$
sudo fuser -v /dev/snd/*

please post that in [ code ] tags, preferably during an attempt to actually use your microphone.

Last edited by V1del (2019-07-10 14:09:41)

Offline

#3 2019-07-10 14:20:57

Berdy
Member
Registered: 2019-07-10
Posts: 4

Re: [SOLVED] PulseAudio not detecting laptop's built-in microphone.

pacmd list-cards

 
1 card(s) available.
    index: 0
	name: <alsa_card.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "USB PnP Sound Device"
		alsa.long_card_name = "C-Media Electronics Inc. USB PnP Sound Device at usb-0000:00:14.0-2, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:2:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/sound/card1"
		udev.id = "usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00"
		device.bus = "usb"
		device.vendor.id = "0d8c"
		device.vendor.name = "C-Media Electronics, Inc."
		device.product.id = "013c"
		device.product.name = "CM108 Audio Controller"
		device.serial = "C-Media_Electronics_Inc._USB_PnP_Sound_Device"
		device.string = "1"
		device.description = "CM108 Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:analog-mono: Analog Mono Input (priority 7, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
		output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6507, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (priority 5507, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-mono>
	sinks:
		alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-stereo/#0: CM108 Audio Controller Analog Stereo
	sources:
		alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-stereo.monitor/#0: Monitor of CM108 Audio Controller Analog Stereo
		alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-mono/#1: CM108 Audio Controller Analog Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				

pacmd list-source-outputs

pacmd list-source-outputs
4 source output(s) available.
    index: 0
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 0 <alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.13 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 9 <PulseAudio Volume Control>
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "6887"
		application.process.user = "berdy"
		application.process.host = "berdy"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "ed77e95c04874ad494e2deca40fdfd82"
		application.process.session_id = "2"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 1
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 1 <alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-mono>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 9 <PulseAudio Volume Control>
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "6887"
		application.process.user = "berdy"
		application.process.host = "berdy"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "ed77e95c04874ad494e2deca40fdfd82"
		application.process.session_id = "2"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 2
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 0 <alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.22 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 9 <PulseAudio Volume Control>
	direct on input: 0
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "6887"
		application.process.user = "berdy"
		application.process.host = "berdy"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "ed77e95c04874ad494e2deca40fdfd82"
		application.process.session_id = "2"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"
    index: 15
	driver: <protocol-native.c>
	flags: DONT_MOVE 
	state: RUNNING
	source: 0 <alsa_output.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-stereo.monitor>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 13.15 ms
	requested latency: 40.00 ms
	sample spec: float32le 1ch 25Hz
	channel map: mono
	             Mono
	resample method: peaks
	owner module: 12
	client: 9 <PulseAudio Volume Control>
	direct on input: 16
	properties:
		media.name = "Peak detect"
		application.name = "PulseAudio Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "6887"
		application.process.user = "berdy"
		application.process.host = "berdy"
		application.process.binary = "pavucontrol"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "ed77e95c04874ad494e2deca40fdfd82"
		application.process.session_id = "2"
		module-stream-restore.id = "source-output-by-application-id:org.PulseAudio.pavucontrol"

arecord -lL

null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC270 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Front speakers
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
sysdefault:CARD=Device
    USB PnP Sound Device, USB Audio
    Default Audio Device
front:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    Front speakers
surround21:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
    USB PnP Sound Device, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Device
    USB PnP Sound Device
    USB Stream Output
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC270 Analog [ALC270 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

amixer -c0

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [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 0 [0%] [-51.00dB]
  Front Right: Playback 0 [0%] [-51.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 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

sudo fuser -v /dev/snd/*

                 USER        PID ACCESS COMMAND
/dev/snd/controlC0:  berdy     29001 F.... jackd
/dev/snd/controlC1:  berdy      6866 F.... pulseaudio
/dev/snd/pcmC0D0c:   berdy     29001 F...m jackd
/dev/snd/pcmC0D0p:   berdy     29001 F...m jackd
/dev/snd/pcmC1D0c:   berdy      6866 F...m pulseaudio
/dev/snd/pcmC1D0p:   berdy      6866 F...m pulseaudio

Offline

#4 2019-07-10 14:32:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] PulseAudio not detecting laptop's built-in microphone.

And there we have it™ you have a jack daemon started that occupies access to  your main card. Why? Did you do that consciously? Where do you start it, do you want it to be started? If you want it to be started, read: https://wiki.archlinux.org/index.php/Pu … rough_JACK if you don't want it to be started find out what starts it and whether it can be configured to use pulse instead.

O wait you did mention qjackctl, check through it's  config and ensure no kind of autostart is enabled, and go through your session startup files and check that you didn't leave some script lingering somewhere.

Last edited by V1del (2019-07-10 14:38:35)

Offline

#5 2019-07-10 14:41:18

Berdy
Member
Registered: 2019-07-10
Posts: 4

Re: [SOLVED] PulseAudio not detecting laptop's built-in microphone.

Yeah I noticed that while looking at the command too.

I checked the config, it seems as if all autostart is disabled.

What I did, however, was

killall jackd

Thanks for the help!

Offline

#6 2019-07-10 14:44:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] PulseAudio not detecting laptop's built-in microphone.

Well I'd assume that this will be back if you don't figure out what starts it on boot/login, however if this works for you, please mark as [SOLVED] by editing the title in your first post: https://wiki.archlinux.org/index.php/Co … ow_to_post

Offline

#7 2019-07-10 14:45:42

Berdy
Member
Registered: 2019-07-10
Posts: 4

Re: [SOLVED] PulseAudio not detecting laptop's built-in microphone.

On it smile

Offline

Board footer

Powered by FluxBB