Source of this article: MoeomuBlog
System sound problems
No sound
/etc/modprobe.d/alsa-base.conf
- Append a line at the end of this file:
options snd-hda-intel model=asus-zenbook
- reboot
Sound is not adjustable
Description: The master volume is not adjustable, can only be mute or maximum.
-
Edit
/usr/share/pulseaudio/alsa-mixer/paths/analog-output.conf.common
-
Add the following to the front of
[Element PCM]
1 2 3
[Element Master] switch = mute volume = ignore
-
Kill pulse audio daemon and it will automatically restart:
pulseaudio -k
Note: Do not run pulseaudio as root, otherwise the daemon will not close properly.
Suspend problems
Can’t wake up again after locking the screen
Description: After locking the screen, the computer can’t wake up again. The hard drive and other hardware work fine, but the screen is all black.
- install laptop-mod-tools:
sudo apt install laptop-mode-tools
- start laptop-mode-tools:
sudo laptop_mode start
- add mutter debug environment variable, edit
/etc/environment
- if in Ubuntu 22.04:
MUTTER_DEBUG_ENABLE_ATOMIC_KMS=0
- if in Ubuntu 22.10 and later:
MUTTER_DEBUG_FORCE_KMS_MODE=simple
- if in Ubuntu 22.04:
- reboot