No sound if computer is not charging

I installed Tumbleweed and i have a sound problem… only have sound when computer is charging. If i disconnected it from charging, i have no sound.
No problem with headphone jack or connected to HDMI.
Any idea?

Please tell us a bit more about your audio hardware. Run the following command and report back…

inxi -Aa

Assuming that snd_hda_intel module is responsible for your sound hardware, you can check power saving parameters like this (just in case that is impacting somehow)…

cat /sys/module/snd_hda_intel/parameters/power_save_controller
cat /sys/module/snd_hda_intel/parameters/power_save

Then we may be able to advise further.

nuno@new-host:~> inxi -Aa
Device-1: Intel Cannon Point-LP High Definition Audio
vendor: Acer Incorporated ALI driver: sof-audio-pci-intel-cnl
alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:9dc8 class-ID: 0401
Sound API: ALSA v: k6.2.4-1-default running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.66 running: yes

nuno@new-host:~> cat /sys/module/snd_hda_intel/parameters/power_save_controller
nuno@new-host:~> cat /sys/module/snd_hda_intel/parameters/power_save

You could try inhibiting sound power management with respect to this driver.

Similar threads:

FWIW, some laptop users install ‘tlp’ (power management utility for laptops).

1 Like

Thanks for your help.
I already have tlp installed.
I’m gonna try.

Just in case this is helpful:

Let us know how you get on.