PowerKiKi, I had to reload my pc for another project, and after reloading I found that same lack of stickiness... Not wanting to go backwards, I felt I had to chase down the full fix. This should fix your issue (caused by pulse) if you want to skip the background audio file...I also improved the Daemon script to ensure later execution and added a second daemon to run the script on suspend/restore. With this setup I have not had to manually run the script in a week or so. Its like sound just works normally now...
Fresh Install Setup Steps
sudo apt-get install alsa-tools
Rename alsa-base to bkup /etc/modprobe.d/alsa-base.conf
placed TO912.sh script with verbs and set as 777 +x
create and placed $ sudo chmod 664 /etc/systemd/system/ionsound.service
@PowerKiKi
PowerKiKi, I had to reload my pc for another project, and after reloading I found that same lack of stickiness... Not wanting to go backwards, I felt I had to chase down the full fix. This should fix your issue (caused by pulse) if you want to skip the background audio file...I also improved the Daemon script to ensure later execution and added a second daemon to run the script on suspend/restore. With this setup I have not had to manually run the script in a week or so. Its like sound just works normally now...
Fresh Install Setup Steps
sudo apt-get install alsa-tools d/alsa- base.conf system/ ionsound. service
Rename alsa-base to bkup /etc/modprobe.
placed TO912.sh script with verbs and set as 777 +x
create and placed $ sudo chmod 664 /etc/systemd/
[Unit] Custom Sound
Description=
[Service] /home/ion420/ Hoff/Linux_ Files/Ion_ Audio/TO912. sh
Type=idle
ExecStart=
[Install] multi-user. target
WantedBy=
create and placed $ sudo chmod 664 /etc/systemd/ system/ ionsoundsleep. service
[Unit] Custom Sound Sleep Fix
Description=
[Service] /home/ion420/ Hoff/Linux_ Files/Ion_ Audio/TO912. sh
Type=idle
ExecStart=
[Install] suspend. target
WantedBy=
activate service
sudo systemctl daemon-reload
sudo systemctl enable ionsound.service
sudo systemctl enable ionsoundsleep.
turn off pulse idle default. pa suspend- on-idle
sudo gedit /etc/pulse/
Add comments to ### load-module module-
verify script runs at boot and sound works ..