Sound on HP Dragonfly G3

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
freddo237
Level 1
Level 1
Posts: 1
Joined: Thu Apr 20, 2023 4:10 am

Sound on HP Dragonfly G3

Post by freddo237 »

Hi,
Sound is working on hp dragonfly g3, but is is bad and weak.
Thanks for help.
--Fred
Ubuntu 23.04 right now, but mint or any tried distro is the same

Code: Select all

lspci | grep -i audio
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
and alsa-base.conf:

Code: Select all

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
Last edited by LockBot on Wed Nov 29, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound on HP Dragonfly G3

Post by SMG »

freddo237 wrote: Mon May 29, 2023 10:46 am Hi,
Sound is working on hp dragonfly g3, but is is bad and weak.
Thanks for help.
--Fred
Ubuntu 23.04 right now, but mint or any tried distro is the same
Welcome to the forum, Fred.

What does "bad" and "weak" mean? Static, volume, what?

Can you please provide the output of

Code: Select all

inxi -Fxxxrz
so we can see how the operating system views your hardware? You may need to install inxi (I can not recall for sure if it comes with an Ubuntu install).

Please also provide the output of

Code: Select all

aplay -l
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Tactician_mark
Level 1
Level 1
Posts: 2
Joined: Fri Jun 30, 2023 2:19 pm

Re: Sound on HP Dragonfly G3

Post by Tactician_mark »

Hi! Not OP, but I have the same problem. Running Linux Mint 21.1 on an HP Dragonfly Elite G3, the built-in laptop speakers are inaudibly weak even at max volume. Extending the max volume to 150% barely helps. In addition, there's sigificant static and hissing, so much so that even when holding my ear up to the speaker it's hard to understand speech.

The output of `lspci | grep -i audio` and the contents of `/etc/modprobe.d/alsa-base.conf` are the same as Fred's.

This is the output of inxi -Fxxxrz:

Code: Select all

System:
  Kernel: 6.2.0-25-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.6.8 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: HP
    product: HP Elite Dragonfly 13.5 inch G3 Notebook PC v: N/A
    serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 897F v: KBC Version 08.61.00 serial: <superuser required>
    UEFI: HP v: U90 Ver. 01.07.00 date: 03/23/2023
Battery:
  ID-1: BAT0 charge: 33.4 Wh (47.2%) condition: 70.8/68.4 Wh (103.5%)
    volts: 11.4 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: Discharging cycles: 20
CPU:
  Info: 10-core (2-mt/8-st) model: 12th Gen Intel Core i5-1235U bits: 64
    type: MST AMCP smt: enabled arch: Alder Lake rev: 4 cache: L1: 928 KiB
    L2: 6.5 MiB L3: 12 MiB
  Speed (MHz): avg: 1484 high: 2500 min/max: 400/4400:3300 cores: 1: 628
    2: 852 3: 738 4: 744 5: 485 6: 2500 7: 1118 8: 2500 9: 753 10: 2500
    11: 2500 12: 2500 bogomips: 59904
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel ports:
    active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:46a8 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3072x2048 s-dpi: 120 s-size: 650x433mm (25.6x17.0")
    s-diag: 781mm (30.7")
  Monitor-1: eDP-1 model: Chi Mei Innolux res: 3072x2048 hz: 60 dpi: 275
    size: 284x189mm (11.2x7.4") diag: 341mm (13.4") modes: 1920x1280
  OpenGL: renderer: Mesa Intel Graphics (ADL GT2)
    v: 4.6 Mesa 22.2.5-0ubuntu0.1~22.04.3 direct render: Yes
Audio:
  Device-1: Intel vendor: Hewlett-Packard driver: N/A bus-ID: 00:05.0
    chip-ID: 8086:465d class-ID: 0480
  Device-2: Intel Alder Lake PCH-P High Definition Audio
    vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3
    chip-ID: 8086:51c8 class-ID: 0401
  Sound Server-1: ALSA v: k6.2.0-25-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:3
    chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 238.47 GiB used: 39.79 GiB (16.7%)
  ID-1: /dev/nvme0n1 vendor: Western Digital
    model: PC SN530 SDBPTPZ-256G-1006 size: 238.47 GiB speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: HPS6 temp: 35.9 C scheme: GPT
Partition:
  ID-1: / size: 233.18 GiB used: 39.78 GiB (17.1%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 43.0 C mobo: 25.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2243
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/intel-mkl.list
    1: deb [signed-by=/usr/share/keyrings/intel-sw-products.gpg] https://apt.repos.intel.com/mkl all main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 391 Uptime: 2d 21h 31m wakeups: 24831 Memory: 15.19 GiB
  used: 3.37 GiB (22.2%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
This is the output of aplay -l:

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound on HP Dragonfly G3

Post by SMG »

Tactician_mark wrote: Sun Jul 23, 2023 6:42 pm Hi! Not OP, but I have the same problem. Running Linux Mint 21.1 on an HP Dragonfly Elite G3, the built-in laptop speakers are inaudibly weak even at max volume. Extending the max volume to 150% barely helps. In addition, there's sigificant static and hissing, so much so that even when holding my ear up to the speaker it's hard to understand speech.
In a number of laptops, there are Cirrus amplifiers which sit between the sound source and the speaker. Last I checked, the firmware for those amplifiers was not open-source, but the manufacturer was working on providing files for Linux-based distros. In addition to those files, the manufacturer (HP in this case) may also need to provide an updated BIOS/UEFI so that Cirrus firmware works properly.

Do you know if you have the latest BIOS/UEFI version? (I honestly don't expect HP to help with this type of issue, but I'm asking this question just in case a miracle has happened.)

Please provide the output of

Code: Select all

journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel"
We may be able to tell from that output if your laptop is one of the ones with this amplifier. Many HP laptops do have it.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Tactician_mark
Level 1
Level 1
Posts: 2
Joined: Fri Jun 30, 2023 2:19 pm

Re: Sound on HP Dragonfly G3

Post by Tactician_mark »

I've recently switched to Fedora 38 to try a newer kernel version, though it hasn't helped at all. However, as you suggested, it looks like there are Cirrus amplifiers:

Code: Select all

> journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel"

Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: Cirrus Logic CS35L41 (35a40), Revision: B2
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: Reset line busy, assuming shared reset
Jul 25 14:25:21 fedora kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jul 25 14:25:21 fedora kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: Cirrus Logic CS35L41 (35a40), Revision: B2
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: Reset line busy, assuming shared reset
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: Cirrus Logic CS35L41 (35a40), Revision: B2
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: Reset line busy, assuming shared reset
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: Cirrus Logic CS35L41 (35a40), Revision: B2
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Jul 25 14:25:21 fedora kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
Jul 25 14:25:21 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 14:25:21 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A0.bin
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: bound spi0-CSC3551:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A2.bin
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: bound spi0-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: Firmware version: 3
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A1.bin
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: bound spi0-CSC3551:00-cs35l41-hda.2 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: Firmware version: 3
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 14:25:22 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A3.bin
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: bound spi0-CSC3551:00-cs35l41-hda.3 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0:    inputs:
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten
Jul 25 14:25:22 fedora kernel: snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi3 overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi2 overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget hifi1 overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Codec Output Pin1 overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Codec Input Pin1 overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Analog Codec Playback overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Digital Codec Playback overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: sink widget Alt Analog Codec Playback overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Analog Codec Capture overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Digital Codec Capture overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: source widget Alt Analog Codec Capture overwritten
Jul 25 14:25:22 fedora kernel: skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
Jul 25 14:25:22 fedora kernel: input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
Jul 25 14:25:22 fedora kernel: input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
Jul 25 14:25:22 fedora kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
Jul 25 14:25:22 fedora kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
Jul 25 14:25:22 fedora kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: Firmware version: 3
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: Firmware version: 3
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 25 17:50:26 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A2.bin
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A1.bin
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A0.bin
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 25 17:50:27 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A3.bin
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: Firmware version: 3
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: Firmware version: 3
Jul 27 09:21:52 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: cirrus/cs35l41-dsp1-spk-prot-103c8981.wmfw: Fri 27 Aug 2021 14:58:19 W. Europe Daylight Time
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: Firmware: 400a4 vendor: 0x2 v0.43.1, 2 algorithms
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A0.bin
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A2.bin
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.2: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A1.bin
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: 0: ID cd v29.63.1 XM@94 YM@e
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: 1: ID f20b v0.1.0 XM@176 YM@0
Jul 27 09:21:53 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.3: DSP1: spk-prot: C:\Users\tlu\Desktop\HP_1000_series\Starfox\Release\0429_official_realease_DBE_off_PDL_off_CP_on_ExcursionModel_Q7_6.61.1\103C8981_220429_A3.bin

I'm using the most recent BIOS version (U90 Ver. 01.07.00), so HP won't help, but I found this guide to patch in support for CS35L41:

https://gist.github.com/lamperez/862763 ... 574727f6ff

If it works, I'll update here. Thank you so much for your help!
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound on HP Dragonfly G3

Post by SMG »

Tactician_mark wrote: Thu Jul 27, 2023 9:40 am I've recently switched to Fedora 38 to try a newer kernel version, though it hasn't helped at all. However, as you suggested, it looks like there are Cirrus amplifiers:
...
I'm using the most recent BIOS version (U90 Ver. 01.07.00), so HP won't help, but I found this guide to patch in support for CS35L41:

https://gist.github.com/lamperez/862763 ... 574727f6ff

If it works, I'll update here. Thank you so much for your help!
You're going to use a guide to modify an ASUS Zenbook BIOS/UEFI to modify an HP Dragonfly BIOS/UEFI? :shock: I would not recommend doing that.

I don't know what might be different with Fedora/this kernel, but I don't see the messages in your output I have been seeing from those who definitely need a newer BIOS/UEFI version to make Cirrus work.

I don't have a Fedora install (and this is not a Fedora support forum), but I presume you can install pavucontrol and see if making changes in alsamixer helps. I believe there were supposed to be newer ALSA and SOF files with the newer kernel versions to help with the Cirrus issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
markhaoxiang
Level 1
Level 1
Posts: 1
Joined: Fri Sep 08, 2023 8:30 am

Re: Sound on HP Dragonfly G3

Post by markhaoxiang »

Has anyone had any luck with this yet?
After digging around I don't think it's an issue with the Cirrus amplifiers - dmesg suggests its working OK. Looks light it might be an error with the BIOS configuration and needs adjusting through hdajackretask

See
https://wiki.archlinux.org/title/HP_Env ... g000#Audio

For reference, I'm running the Dragonfly on a fresh install of Endeavor OS

It also looks like HP released a BIOS update recently which " Fixes an issue on a system using the Ubuntu OS where the audio does not function properly.". Will update once I check if this works or not!

Update:
The newest BIOS version from August 4th fixes the issue. Speakers work.
Last edited by markhaoxiang on Fri Sep 08, 2023 10:41 am, edited 2 times in total.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Sound on HP Dragonfly G3

Post by SMG »

markhaoxiang wrote: Fri Sep 08, 2023 8:38 amFor reference, I'm running the Dragonfly on a fresh install of Endeavor OS

It also looks like HP released a BIOS update recently which " Fixes an issue on a system using the Ubuntu OS where the audio does not function properly.". Will update once I check if this works or not!

Update:
The newest BIOS version from August 4th fixes the issue. Speakers work.
Welcome to the forum, markhaoxiang.

Thanks for the feedback. I guess a miracle did happen. :mrgreen: Thanks to whoever at HP decided to listen to those running Linux-based distros and make the change.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Sound”