You are not logged in.

#1 2022-04-22 20:12:30

bohokash
Member
Registered: 2019-11-30
Posts: 76

How can I connect an external microphone to my Acer Swift 1 laptop ?

It has a built in mic, but I would like to connect an external one, and sometimes even a line-in cable, to capture radio broadcasts with an appropriate cable.

Ouput of different sound related commands:

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_0e.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1114000 irq 134"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.product.name = "Celeron/Pentium Silver Processor High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 32833, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 39268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 39333, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_0e.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_0e.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_0e.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"
2 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_0e.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 1030
	volume: front-left: 59124 /  90% / -2.68 dB,   front-right: 59124 /  90% / -2.68 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 4 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 2000.00 ms; range is 2.00 .. 2000.00 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_0e.0>
	module: 6
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1114000 irq 134"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.product.name = "Celeron/Pentium Silver Processor High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_input.pci-0000_00_0e.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: 44980 /  69% / -9.81 dB,   front-right: 44980 /  69% / -9.81 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: 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: 0 <alsa_card.pci-0000_00_0e.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "Generic Analog"
		alsa.id = "Generic Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xa1114000 irq 134"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:0e.0"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.product.name = "Celeron/Pentium Silver Processor High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		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"
		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.

My laptop has a Realtek soundcard, driver: snd-hda-codec-realtek.ko
Maybe it has some kernel option, to apply in grub, which switch the mic input.
When I open the driver binary file, I can see the string: "Headset jack set to mic-in mode"

https://i.imgur.com/i9Zzcu0.png

Last edited by V1del (2022-04-23 08:18:31)

Offline

#2 2022-04-23 01:00:04

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 630

Re: How can I connect an external microphone to my Acer Swift 1 laptop ?

Can you see your external microphone and line-in ports in pavucontrol 'Input Devices' tab for 'Built-in Audio Analog Stereo'?
If yes, you can add 'set-source-port' to /etc/pulse/system.pa (or to ~/.config/pulse/default.pa for per-user configuration) or change it with pactl in runtime.
If no, it means input ports aren't described in profile for your soundcard. In this case you can try to run alsamixer, press 'F6', select your hardware card and configure sources for 'Capture'.

Offline

#3 2022-04-23 05:20:33

bohokash
Member
Registered: 2019-11-30
Posts: 76

Re: How can I connect an external microphone to my Acer Swift 1 laptop ?

Unfortunately I can't see the external microphone, only the built in mic.

https://i.imgur.com/Afe7Tdc.png

Earlier I wasn't able to switch external mic neither in alsamixer utility. That's all what I can see:

https://i.imgur.com/vdkfotG.png

Last edited by V1del (2022-04-23 08:18:13)

Offline

#4 2022-04-23 08:14:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: How can I connect an external microphone to my Acer Swift 1 laptop ?

You can reconfigure how the jack behaves in hdajackretask you need to stop pulseaudio and then run hdajackretask to reconfigure how the jack behaves.

Also please don't embed huge images like that directly and just link to them.

Last edited by V1del (2022-04-23 08:17:52)

Offline

Board footer

Powered by FluxBB