Internal mic not working (HP EliteBook x360 1040 G5)

Hello you beautiful people! Please I need help! I have a hp 1040 x360 g5 laptop with fedora install. Out of the box the audio didn’t work input and output. Output in settings kept showing dummy output. I can’t remember what I did but the output is now working fine. But the issue still remains for the mic. When going ti setting/audio input shows nothing it’s like fedora doesn’t see that I have an internal mic. Please help, thank you in advance.

Which version of fedora is in use? F38? F37? or ??
Please provide the output of inxi -Fzxx along with lspci and lsusb so we may see the hardware details.

Thank you so much for your help, I hope I done what you askeld correctly. If I could get the mic working I would be over the moon! Let me know what you think. Its Fedora 38

Inxi -Fzxx

ystem:
Kernel: 6.3.3-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.39-9.fc38 Desktop: GNOME v: 44.1 tk: GTK v: 3.24.38 wm: gnome-shell
dm: GDM Distro: Fedora release 38 (Thirty Eight)
Machine:
Type: Convertible System: HP product: HP EliteBook x360 1040 G5 v: N/A
serial: Chassis: type: 31 serial:
Mobo: HP model: 8470 v: KBC Version 19.4F.00 serial:
UEFI: HP v: Q74 Ver. 01.20.01 date: 06/07/2022
Battery:
ID-1: BAT0 charge: 29.0 Wh (70.0%) condition: 41.4/56.2 Wh (73.7%)
volts: 7.5 min: 7.7 model: Hewlett-Packard Primary serial:
status: discharging
Device-1: wacom_battery_0 model: Wacom HID 48B6 serial: N/A charge: 0%
status: N/A
CPU:
Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
Speed (MHz): avg: 1175 high: 1800 min/max: 400/3400 cores: 1: 800 2: 800
3: 1800 4: 800 5: 1800 6: 1800 7: 800 8: 800 bogomips: 28800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
v: kernel arch: Gen-9.5 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1,
HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5917
Device-2: Chicony HP Full-HD Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-9:4 chip-ID: 04f2:b62f
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.9
compositor: gnome-shell driver: gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: ChiMei InnoLux 0x14e2 res: 1920x1080 dpi: 158
diag: 354mm (13.9")
API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel UHD Graphics 620 (KBL
GT2) direct-render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
API: ALSA v: k6.3.3-200.fc38.x86_64 status: kernel-api
Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:
speed: 2.5 GT/s lanes: 1 bus-ID: 6c:00.0 chip-ID: 8086:24fd
IF: wlp108s0 state: up mac:
Bluetooth:
Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-7:2 chip-ID: 8087:0a2b
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Drives:
Local Storage: total: 476.94 GiB used: 8.62 GiB (1.8%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-000H7
size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: temp: 26.9 C
Partition:
ID-1: / size: 475.35 GiB used: 8.32 GiB (1.7%) fs: btrfs dev: /dev/nvme0n1p3
ID-2: /boot size: 973.4 MiB used: 296.6 MiB (30.5%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
dev: /dev/nvme0n1p1
ID-4: /home size: 475.35 GiB used: 8.32 GiB (1.7%) fs: btrfs
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: zram size: 7.59 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 36.0 C pch: 33.5 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 697 Uptime: 6h 49m Memory: available: 7.59 GiB
used: 3.8 GiB (50.1%) Init: systemd v: 253 target: graphical (5)
default: graphical Compilers: N/A Packages: pm: rpm pkgs: N/A
note: see --rpm pm: flatpak pkgs: 16 Shell: Bash v: 5.2.15
running-in: gnome-terminal inxi: 3.3.27

Lspci:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Multimedia audio controller: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
03:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
37:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)
6c:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
6d:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983

Lsusb:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b62f Chicony Electronics Co., Ltd HP Full-HD Camera
Bus 001 Device 003: ID 138a:00ab Validity Sensors, Inc.
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Hi, can you run the following command (copy and paste the whole line):

(alsa-info.sh --stdout; pactl list) | fpaste

It will upload info about your audio systems (ALSA and PulseAudio) to the Fedora pastebin (anonymous, expires in 1 day). Reply with the URL given.

The Linux hardware database doesn’t note any issues for the specific audio chip in HP EliteBook x360 1040 G5, so hopefully it’s just a configuration issue.

1 Like

Hi Justin, thank you for helping. The internal speakers are working but the mic isnt heres that link:

https://paste.centos.org/view/f323f3b7

The config looks ok. Audio profile is correct (Analog Stereo Duplex, which enables both input and output).

The mic is “not available” though. Is there a hardware mic switch or keyboard key with a mic icon? You may have to press Fn + that key.

Thanks so much for looking into it. Yeah there is a mic button and fn key but it does nothing. Weird thing is I installed elementary os just to test and it worked. I can push the mic button and it mutes / unmutes etc. any ideas?

Also I don’t know if this helps originally the audio output wasn’t working it said dummy output. I added a line somewhere I it was the alsa.conf and then the audio output started working.

It would help to know what you changed and where.

Just guessing, it could be in one of these files/dirs:

/usr/share/alsa/alsa.conf
/usr/share/alsa/alsa.conf.d/
/etc/alsa/
/etc/alsa/conf.d/
/etc/modprobe.d/

Might be modprobe because I see an unusual option model=dell-vostro in snd_hda_intel options.


elementaryOS might not be using PipeWire/WirePlumber. I’m not sure what they change from Ubuntu.

Yeah it was that that I changed. Yeah it’s a weird one. Was hoping it was just another line that I could put in to make the os see it. Any ideas?

Please be specific. Which file and what is the entire change you made?

Also, if you can link where you got this idea. I don’t know anything about your specific audio hardware to know why you’d make this change.

I appreciate that and I wish I was more knowledgeable about this. I am very great full for your help.

I’m pretty sure I changed these files /etc/alsa/conf.d/
/etc/modprobe.d/

I added this model=dell-vostro in snd_hda_intel




Is there a way to force the mic on thru the cli

1 Like

I can’t do anything with these screenshots. Please post links to the actual pages.

Also post the output of this:

grep -RC5 snd.*intel /etc/modprobe.d /usr/lib/modprobe.d /etc/alsa /usr/share/alsa

I’ll explain what’s going on:

We are going to find out what exactly you changed, because you may have made multiple conflicting changes, or put some changes in the wrong places (based on what you’ve said previously). Since you can’t say exactly which files or changes, we’ll search for them using grep.

Then, I’ll guide you to undo those changes, so that we can diagnose your actual audio issues. It’s impossible to diagnose from this frankenstein state, since I don’t have access to your hardware, and the real solution might not work after those changes.

Right okay bud, and thank you again for heping me. This has been really getting to me. Okay so I have just done a fresh install of fedora 38. So with this done anything i changed has now gone so we are starting from start.

Currently my audio is not working this now includes the ouput and input.

Re sending what you wanted to see before (new): UNTITLED - Pastebin Service

grep -RC5 snd.*intel /etc/modprobe.d /usr/lib/modprobe.d /etc/alsa /usr/share/alsa~
grep: /usr/share/alsa~: No such file or directory

what do you think

Ok, the reinstall wasn’t necessary, but now we can see totally different information in the logs.

What is the output of this:

cat /sys/module/snd_intel_dspcfg/parameters/dsp_driver

I won’t be available today, but leave my notes below (could be wrong, I’m just writing as I go).


Hi Justin, no worries I thought it would be better to start from scratch as I could not remember what I changed. So the out put of this

Looks to be 0

Screenshot from 2023-05-29 14-20-43

Thank you again for helping