On Mon, 03 Nov 2025 20:49:18 +0000, Tim wrote:
> The PC will not shutdown via the shutdown button of via the CLI
> interface by issuing the sudo shutdown  -h now.

> I have found that using
> 
> sudo shutdown -Ph now
> 
> from the CLI will shut the PC down.

I've always been under the impression that you need to specify -P if 
you want the system to power off after shutting down, though the exact 
behaviour could depend on the system firmware. In which case, the 
behaviour you describe when running `shutdown -h now` is expected. But 
this doesn't seem to explain why the shutdown button doesn't work.

> The burping noise happens every time you play a sound or video, but
> once it has burped at the start of the file the playback is
> perfectly OK.

This is reminiscent of an issue I once had with my laptop, which would 
make a pop sound whenever audio output was initiated. My workaround 
was to disable the auto power-save function of the snd_hda_intel 
kernel module.

The the relevant parameter values can be read/written in the files:

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

The meaning of these parameters is described by the output of

    sudo modinfo snd_hda_intel

For some reason my notes on the matter do not cover how I made the 
configuration persistent, but it looks like the usual way is to write 
a *.conf file in /etc/modprobe.d/ containing, for instance, the line:

    option snd_hda_intel power_save=0

See also the modprobe.d(5) man page.



Patrick



-- 
  Next meeting: Online, Jitsi, Tuesday, 2025-11-04 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
  New thread, don't hijack:  mailto:[email protected]

Reply via email to