You are not logged in.

#1 2025-08-20 06:26:44

moshen212
Member
Registered: 2017-09-10
Posts: 35

The microphone on my HP Victus 15 laptop is not detected

so, i was trying to get my laptop mic working, and here’s what i got when i checked with pw-cli info:

alsa.card.name = HDA Intel PCH
alsa.card.id = 0
alsa.card.driver = snd_hda_intel
node.name = alsa_input.pci-0000_00_1f.3.analog-stereo
node.nick = Built-in Audio Analog Stereo
node.driver = alsa_input
node.state = SUSPENDED
node.card = 42
node.name = alsa_output.pci-0000_00_1f.3.analog-stereo
node.state = RUNNING

so basically, my laptop mic is there, it’s just SUSPENDED. the current card profile is only output:analog-stereo, so it’s like the mic is sleeping ?. looks like i need a duplex profile (output + input) to actually wake it up and start recording.


#القدسـلنا
#FreePalestine

Offline

#2 2025-08-20 11:06:52

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

Re: The microphone on my HP Victus 15 laptop is not detected

Suspended is default if you're not trying to record something, what are you trying to test with? Does

arecord -Dhw:0 test.wav

work? Other than that during a recording attempt what do you get from

sudo fuser -v /dev/snd/*
systemctl --user status pipewire{,-pulse} wireplumber
pactl list sources
pactl list source-outputs

Last edited by V1del (2025-08-20 12:16:55)

Offline

#3 2025-08-20 11:21:43

moshen212
Member
Registered: 2017-09-10
Posts: 35

Re: The microphone on my HP Victus 15 laptop is not detected

This command not worked for me:

$ arecord -Dhw:0 test.wav
Warning: Some sources (like microphones) may produce inaudible results
         with 8-bit sampling. Use '-f' argument to increase resolution
         e.g. '-f S16_LE'.
arecord: set_params:1387: Sample format non available
Available formats:
- S16_LE
- S32_LE

But below command starting to record:

 arecord -f cd test.wav 

and audio is silent. output of others:

[mohsen@archlinux tmp]$ sudo fuser -v /dev/snd/*
[sudo] password for mohsen: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  mohsen      784 F.... wireplumber
/dev/snd/controlC1:  mohsen      784 F.... wireplumber
/dev/snd/seq:        mohsen      783 F.... pipewire
[mohsen@archlinux tmp]$ systemctl --user status pipewire{.-pulse} wireplumber
Invalid unit name "pipewire{.-pulse}" escaped as "pipewire\x7b.-pulse\x7d" (maybe you should use systemd-escape?).
Unit pipewire\x7b.-pulse\x7d.service could not be found.
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Wed 2025-08-20 09:43:27 +0330; 5h 6min ago
 Invocation: 5dc7c340e3ee4b32a65e2ddb21edc829
   Main PID: 784 (wireplumber)
      Tasks: 6 (limit: 37889)
     Memory: 49.8M (peak: 51.9M)
        CPU: 2.514s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─784 /usr/bin/wireplumber

Aug 20 09:43:27 archlinux systemd[741]: Started Multimedia Service Session Manager.
Aug 20 09:43:28 archlinux wireplumber[784]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Aug 20 09:43:28 archlinux wireplumber[784]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
[mohsen@archlinux tmp]$ pactl list sources
Source #356
	State: SUSPENDED
	Name: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
	Description: Monitor of AD107 High Definition Audio Controller Digital Stereo (HDMI)
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor of Sink: alsa_output.pci-0000_01_00.1.hdmi-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.class = "generic"
		alsa.components = "HDA:10de00a7,103c8bb1,00100100"
		alsa.device = "3"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 0"
		alsa.long_card_name = "HDA NVidia at 0x82080000 irq 17"
		alsa.mixer_name = "Nvidia GPU a7 HDMI/DP"
		alsa.name = "HDMI 0"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HDA NVidia at 0x82080000 irq 17"
		api.alsa.card.name = "HDA NVidia"
		api.alsa.path = "hdmi:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "4"
		device.api = "alsa"
		device.class = "monitor"
		device.icon_name = "audio-card-analog"
		device.id = "41"
		device.profile.description = "Digital Stereo (HDMI)"
		device.profile.name = "hdmi-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "AD107 High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
		node.nick = "HDMI 0"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:NVidia:4:playback"
		port.group = "playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "40"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "49"
		object.serial = "356"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:01:00.1"
		device.enum.api = "udev"
		device.name = "alsa_card.pci-0000_01_00.1"
		device.nick = "HDA NVidia"
		device.plugged.usec = "5283285"
		device.product.id = "0x22be"
		device.product.name = "AD107 High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
		device.vendor.id = "0x10de"
		device.vendor.name = "NVIDIA Corporation"
		spa.object.id = "4"
		device.string = "1"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, availability group: Legacy 1, not available)
	Active Port: hdmi-output-0
	Formats:
		pcm

Source #362
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Description: Monitor of Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor of Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.components = "HDA:10ec0245,103c8bb1,00100001 HDA:8086281f,80860101,00100000"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC245 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x6204140000 irq 155"
		alsa.mixer_name = "Realtek ALC245"
		alsa.name = "ALC245 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HDA Intel PCH at 0x6204140000 irq 155"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "7"
		device.api = "alsa"
		device.class = "monitor"
		device.icon_name = "audio-card-analog"
		device.id = "42"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
		node.nick = "ALC245 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:PCH:7:playback"
		port.group = "playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "40"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "50"
		object.serial = "362"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "5388721"
		device.product.id = "0x51ca"
		device.product.name = "Raptor Lake-P/U/H cAVS"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 2, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 3, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

Source #363
	State: SUSPENDED
	Name: alsa_input.pci-0000_00_1f.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor of Sink: n/a
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.components = "HDA:10ec0245,103c8bb1,00100001 HDA:8086281f,80860101,00100000"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC245 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x6204140000 irq 155"
		alsa.mixer_name = "Realtek ALC245"
		alsa.name = "ALC245 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HDA Intel PCH at 0x6204140000 irq 155"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "capture"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.icon_name = "audio-card-analog"
		device.id = "42"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.source"
		media.class = "Audio/Source"
		device.description = "Built-in Audio"
		node.name = "alsa_input.pci-0000_00_1f.3.analog-stereo"
		node.nick = "ALC245 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:PCH:0:capture"
		port.group = "capture"
		priority.driver = "2009"
		priority.session = "2009"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "40"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "167"
		object.serial = "363"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "5388721"
		device.product.id = "0x51ca"
		device.product.name = "Raptor Lake-P/U/H cAVS"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, availability group: Legacy 1, not available)
	Active Port: analog-input-mic
	Formats:
		pcm
[mohsen@archlinux tmp]$ pactl list source-outputs
[mohsen@archlinux tmp]$

#القدسـلنا
#FreePalestine

Offline

#4 2025-08-20 12:23:20

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

Re: The microphone on my HP Victus 15 laptop is not detected

That should've been a , not a . on the systemctl --users line

How about

arecord -Dhw:0 -f dat test.wav

and maybe throw in

amixer -c0

sometimes it's also because stereo doens't make sense on most mics try muting the left or the right channel, with e.g

pactl set-source-volume alsa_input.pci-0000_00_1f.3.analog-stereo 0 100%
#Try recording
pactl set-source-volume alsa_input.pci-0000_00_1f.3.analog-stereo 100% 0

that said raptor lake should afaik not use snd_hda_intel, you're not setting snd_hda_intel.dmic_detect=0 or snd_intel_dspcfg.dsp-driver=1 somewhere right? you should not do that and rather install sof-firmware.

Offline

#5 2025-08-20 15:30:38

moshen212
Member
Registered: 2017-09-10
Posts: 35

Re: The microphone on my HP Victus 15 laptop is not detected

It didn’t work, the recorded file is still completely silent.
I don’t remember ever setting those configs anywhere.

Here’s some more info:

[mohsen@archlinux tmp]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC245 Analog [ALC245 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[mohsen@archlinux tmp]$ lsmod | grep snd
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_sof_pci_intel_tgl    12288  0
snd_sof_pci_intel_cnl    20480  1 snd_sof_pci_intel_tgl
snd_sof_intel_hda_generic    45056  2 snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
soundwire_intel        81920  1 snd_sof_intel_hda_generic
snd_sof_intel_hda_common   200704  3 snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_sof_intel_hda_mlink    36864  3 soundwire_intel,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_intel_hda      20480  2 snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_sof_pci            24576  3 snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_generic
snd_sof               462848  5 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda_generic,snd_sof_intel_hda,snd_sof_pci_intel_cnl
snd_sof_utils          16384  1 snd_sof
snd_soc_acpi_intel_match   118784  3 snd_sof_intel_hda_generic,snd_sof_pci_intel_tgl,snd_sof_pci_intel_cnl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_generic
snd_soc_avs           237568  0
snd_hda_codec_realtek   221184  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
snd_soc_hda_codec      28672  1 snd_soc_avs
snd_hda_scodec_component    20480  1 snd_hda_codec_realtek
snd_hda_ext_core       36864  6 snd_soc_avs,snd_soc_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda_mlink,snd_sof_intel_hda
snd_soc_core          450560  6 snd_soc_avs,snd_soc_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_compress           28672  2 snd_soc_avs,snd_soc_core
snd_hda_codec_hdmi     98304  2
ac97_bus               12288  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          69632  2
snd_intel_dspcfg       40960  5 snd_soc_avs,snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_sof_intel_hda_generic
snd_intel_sdw_acpi     16384  2 snd_intel_dspcfg,snd_sof_intel_hda_generic
snd_hda_codec         217088  8 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          143360  11 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               200704  12 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
snd_timer              57344  3 snd_seq,snd_hrtimer,snd_pcm
snd                   155648  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd

#القدسـلنا
#FreePalestine

Offline

#6 2025-08-20 16:10:39

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

Re: The microphone on my HP Victus 15 laptop is not detected

mhm... all those sof modules suggest that sof should likely be in use

grep -R . /etc/modprobe.d
sudo journalctl -b | curl -F 'file=@-' 0x0.st

Last edited by V1del (2025-08-20 16:11:25)

Offline

#7 2025-08-21 10:22:13

moshen212
Member
Registered: 2017-09-10
Posts: 35

Re: The microphone on my HP Victus 15 laptop is not detected

Outputs:

$ grep -R . /etc/modprobe.d
/etc/modprobe.d/alsa.conf:options snd-intel-dspcfg dsp_driver=1
[mohsen@archlinux tmp]$ sudo journalctl -b | curl -F 'file=@-' 0x0.st
[sudo] password for mohsen: 
http://0x0.st/Kz1_.txt

#القدسـلنا
#FreePalestine

Offline

#8 2025-08-21 19:04:24

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

Re: The microphone on my HP Victus 15 laptop is not detected

/etc/modprobe.d/alsa.conf:options snd-intel-dspcfg dsp_driver=1

get rid of that, make sure sof-firmware is installed, run

mkinitcpio -P

  reboot. Recheck. If you can't make the card work without that parameter you will not get the mic running, that parameter implicitly disables the mic on newer systems, you need to get this running based on sof-firmware.

If it doesn't work after reboot without that parameter present, post another "sudo journalctl -b | curl -F 'file=@-' 0x0.st"

Last edited by V1del (2025-08-21 19:04:33)

Offline

#9 2025-08-22 04:11:50

moshen212
Member
Registered: 2017-09-10
Posts: 35

Re: The microphone on my HP Victus 15 laptop is not detected


#القدسـلنا
#FreePalestine

Offline

Board footer

Powered by FluxBB