No sound if computer is not charging

Hi,
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
Audio:
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
Y
nuno@new-host:~> cat /sys/module/snd_hda_intel/parameters/power_save
1

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

Similar threads:

https://forums.linuxmint.com/viewtopic.php?t=181893

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:
https://linrunner.de/tlp/settings/audio.html

Let us know how you get on.