Bad sound on HP Envy DV7

I’m testing out different distros to get away from the “evil empire” so far none of the distros like my sound hardware. I have a HP Envy DV7 with Beats audio, there’s some subwoofer hardware inside that gives it really good sound when properly activated. None of the Linux distros activate this by default. I had to go in to some config file in a debian based distro, and tell it a different hardware setting for audio (I forgot where this was, some config file) and then it activated the bass. There’s sound, but it sounds like an old typical laptop without the correct drivers and settings. In an Arch distro I read that I can install Alsa-Tools and use hdajackretask to enable the pin for bass, but it said the sound device was in use so I couldn’t enable the LFE. But Suse can’t find Alsa-Tools in the software manager. I found Alsa-Tools online at https://software.opensuse.org/package/alsa-tools but it fails to install.

An error occurred while initializing the software repository.

 Details:

 http-download.opensuse.org-b843af66: [http-download.opensuse.org-b843af66|http://download.opensuse.org/tumbleweed/repo/oss/] Valid metadata not found at specified URL
 History:
  - Unknown error reading from 'http://download.opensuse.org/tumbleweed/repo/oss/'

  - System management is locked by the application with pid 4415 (/usr/bin/ruby.ruby2.7).

 Close this application before trying again.
 




I checked with system monitor and there is no application with pid 4415 running. I’m not quite sure what to do to get the sound working right.

inxi -Fxxz 
**System:    Kernel:** 5.14.14-1-default x86_64 **bits:** 64 **compiler:** gcc **v:** 11.2.1 **Desktop:** KDE Plasma 5.23.2 **tk:** Qt 5.15.2 
           **wm:** kwin_x11 **dm:** SDDM **Distro:** openSUSE Tumbleweed 20211102 
**Machine:   Type:** Laptop **System:** Hewlett-Packard **product:** HP ENVY dv7 Notebook PC **v:** 087A120014305B10000620120 **serial:** <filter> 
           **Chassis:****type:** 10 **serial:** <filter> 
           **Mobo:** Hewlett-Packard **model:** 181C **v:** 52.24 **serial:** <filter> **UEFI:** Insyde **v:** F.2E **date:** 09/07/2016 
**Battery:   ID-1:** BAT0 **charge:** 40.4 Wh (95.5%) **condition:** 42.3/42.3 Wh (100.0%) **volts:** 12.6 **min:** 11.1 **model:** 13-14 MO06062 
           **serial:** <filter> **status:** Unknown 
**CPU:       Info:** Dual Core **model:** Intel Core i5-3230M **bits:** 64 **type:** MT MCP **arch:** Ivy Bridge **rev:** 9 **cache:****L2:** 3 MiB 
           **flags:** avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx **bogomips:** 20753 
           **Speed:** 1198 MHz **min/max:** 1200/3200 MHz **Core speeds (MHz):****1:** 1198 **2:** 1240 **3:** 1198 **4:** 1197 
**Graphics:  Device-1:** Intel 3rd Gen Core processor Graphics **vendor:** Hewlett-Packard **driver:** i915 **v:** kernel **bus-ID:** 00:02.0 
           **chip-ID:** 8086:0166 
           **Device-2:** Realtek HP Truevision HD **type:** USB **driver:** uvcvideo **bus-ID:** 1-1.3:4 **chip-ID:** 0bda:58d8 
           **Display:** x11 **server:** X.org 1.20.13 **compositor:** kwin_x11 **driver:****loaded:** modesetting **unloaded:** fbdev,vesa 
           **alternate:** intel **resolution:** <missing: xdpyinfo> 
           **OpenGL:****renderer:** Mesa DRI Intel HD Graphics 4000 (IVB GT2) **v:** 4.2 Mesa 21.2.5 **compat-v:** 3.0 **direct render:** Yes 
**Audio:     Device-1:** Intel 7 Series/C216 Family High Definition Audio **vendor:** Hewlett-Packard **driver:** snd_hda_intel **v:** kernel 
           **bus-ID:** 00:1b.0 **chip-ID:** 8086:1e20 
           **Sound Server-1:** ALSA **v:** k5.14.14-1-default **running:** yes 
           **Sound Server-2:** PulseAudio **v:** 15.0 **running:** yes 
           **Sound Server-3:** PipeWire **v:** 0.3.39 **running:** no 
**Network:   Device-1:** Intel Centrino Wireless-N 2230 **driver:** iwlwifi **v:** kernel **bus-ID:** 04:00.0 **chip-ID:** 8086:0887 
           **IF:** wlo1 **state:** up **mac:** <filter> 
           **Device-2:** Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet **vendor:** Hewlett-Packard **driver:** r8169 **v:** kernel 
           **port:** 2000 **bus-ID:** 05:00.0 **chip-ID:** 10ec:8168 
           **IF:** eno1 **state:** down **mac:** <filter> 
**Bluetooth: Device-1:** Intel Centrino Bluetooth Wireless Transceiver **type:** USB **driver:** btusb **v:** 0.8 **bus-ID:** 3-1.6:3 
           **chip-ID:** 8087:07da 
           **Report:** rfkill **ID:** hci0 **rfk-id:** 1 **state:** up **address:** see --recommends 
Not an ARRAY reference at /usr/bin/inxi line 16007.



aplay -l 
**** List of PLAYBACK Hardware Devices **** 
card 0: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX 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



pactl list sinks 
Sink #0 
        State: SUSPENDED 
        Name: alsa_output.pci-0000_00_1b.0.analog-stereo 
        Description: Built-in Audio Analog Stereo 
        Driver: module-alsa-card.c 
        Sample Specification: s16le 2ch 48000Hz 
        Channel Map: front-left,front-right 
        Owner Module: 6 
        Mute: no 
        Volume: front-left: 34734 /  53% / -16.54 dB,   front-right: 34734 /  53% / -16.54 dB 
                balance 0.00 
        Base Volume: 65536 / 100% / 0.00 dB 
        Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor 
        Latency: 0 usec, configured 0 usec 
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY  
        Properties: 
                alsa.resolution_bits = "16" 
                device.api = "alsa" 
                device.class = "sound" 
                alsa.class = "generic" 
                alsa.subclass = "generic-mix" 
                alsa.name = "92HD91BXX Analog" 
                alsa.id = "92HD91BXX 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 0xc2610000 irq 31" 
                alsa.driver_name = "snd_hda_intel" 
                device.bus_path = "pci-0000:00:1b.0" 
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" 
                device.bus = "pci" 
                device.vendor.id = "8086" 
                device.vendor.name = "Intel Corporation" 
                device.product.id = "1e20" 
                device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller" 
                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-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown) 
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available) 
        Active Port: analog-output-speaker 
        Formats: 
                pcm



I got hdajackretask to install through zypper but when I show unconnected pins, locate Pin ID 0x0F press override and select internal speaker (LFE) and apply now, it says tee:/sys/class/sound/hwC0D0/reconfig: Device or resource busy"
the same thing happened on the arch linux :frowning:

the Pin ID: 0x10 is the correct one for Internal Speaker (LFE) I just had to press Install boot override instead of Apply.
It sounds better than Windows 10’s drivers haha.

So problem solved in the end?

It would be good to post the commands you used so you so can find them back in the future and it might help others.