Bonjour
Je crée un nouveau fil pour mon problème de son récurrent : je suis obligé de reparamétrer alsamixer à chaque démarrage, en mettant headphon sur actif
Ensuite je :
- lance
alsactl store
- redémarre : pas de son
- la commande
alsactl restore
remet le son mais le problème réapparaît au démarrage suivant , je dois refairealsactl restore
Edition du fichier /lib/systemd/system/alsa-restore.service
#
# Note that two different ALSA card state management schemes exist and they
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
#
[Unit]
Description=Save/Restore Sound Card State
Documentation=man:alsactl(1)
ConditionPathExists=!/etc/alsa/state-daemon.conf
ConditionPathExistsGlob=/dev/snd/control*
After=alsa-state.service
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=-/usr/sbin/alsactl -E HOME=/run/alsa -E XDG_RUNTIME_DIR=/run/alsa/runtime restore
ExecStop=-/usr/sbin/alsactl -E HOME=/run/alsa -E XDG_RUNTIME_DIR=/run/alsa/runtime store
puis
joel@hP600:~$ sudo systemctl status alsa-restore.service
[sudo] Mot de passe de joel :
● alsa-restore.service - Save/Restore Sound Card State
Loaded: loaded (/lib/systemd/system/alsa-restore.service; static)
Active: active (exited) since Thu 2023-12-14 15:44:11 CET; 6min ago
Docs: man:alsactl(1)
Process: 653 ExecStart=/usr/sbin/alsactl -E HOME=/run/alsa -E XDG_RUNTIME_D>
Main PID: 653 (code=exited, status=0/SUCCESS)
CPU: 26ms
déc. 14 15:44:11 hP600 systemd[1]: Starting alsa-restore.service - Save/Restore>
déc. 14 15:44:11 hP600 systemd[1]: Finished alsa-restore.service - Save/Restore>
lines 1-10/10 (END)
à tout hasard je liste les paquets liés à pulse et à pipewire
joel@hP600:~$ dpkg -l | grep -i -E "pulse|pipewi"
ii gstreamer1.0-pipewire:amd64 0.3.65-3 amd64 GStreamer 1.0 plugin for the PipeWire multimedia server
ii libpipewire-0.3-0:amd64 0.3.65-3 amd64 libraries for the PipeWire multimedia server
ii libpipewire-0.3-common 0.3.65-3 all libraries for the PipeWire multimedia server - common files
ii libpipewire-0.3-modules:amd64 0.3.65-3 amd64 libraries for the PipeWire multimedia server - modules
ii libpulse-mainloop-glib0:amd64 16.1+dfsg1-2+b1 amd64 PulseAudio client libraries (glib support)
ii libpulse0:amd64 16.1+dfsg1-2+b1 amd64 PulseAudio client libraries
ii libpulsedsp:amd64 16.1+dfsg1-2+b1 amd64 PulseAudio OSS pre-load library
ii libspa-0.2-bluetooth:amd64 0.3.65-3 amd64 libraries for the PipeWire multimedia server - bluetooth plugins
ii libspa-0.2-modules:amd64 0.3.65-3 amd64 libraries for the PipeWire multimedia server Simple Plugin API - modules
ii pavucontrol 5.0-2 amd64 PulseAudio Volume Control
ii pipewire:amd64 0.3.65-3 amd64 audio and video processing engine multimedia server
ii pipewire-bin 0.3.65-3 amd64 PipeWire multimedia server - programs
ii pipewire-pulse 0.3.65-3 amd64 PipeWire PulseAudio daemon
ii pulseaudio 16.1+dfsg1-2+b1 amd64 PulseAudio sound server
ii pulseaudio-module-bluetooth 16.1+dfsg1-2+b1 amd64 Bluetooth module for PulseAudio sound server
ii pulseaudio-utils 16.1+dfsg1-2+b1 amd64 Command line tools for the PulseAudio sound server
ii wireplumber 0.4.13-1 amd64 modular session / policy manager for PipeWire
ii xfce4-pulseaudio-plugin:amd64 0.4.5-1 amd64 Xfce4 panel plugin to control pulseaudio
joel@hP600:~$
merci