Thanks for the tip Gergo! I disable the sound power management with the tlp.service and set the i2c-register with a own customboot.service after the tlp.service is started. It works for now :o)
/root/bass-speaker-on.sh #!/usr/bin/env bash /usr/sbin/i2cset -y 3 0x48 0x2 0
/etc/systemd/system/customboot.service [Unit] Description=Custom Bootup Script After=tlp.service [Service] ExecStart=/root/bass-speaker-on.sh [Install] WantedBy=default.target
/etc/tlp.conf SOUND_POWER_SAVE_ON_AC=0 SOUND_POWER_SAVE_ON_BAT=0 SOUND_POWER_SAVE_CONTROLLER=N
Thanks for the tip Gergo!
I disable the sound power management with the tlp.service and set the i2c-register with a own customboot.service after the tlp.service is started.
It works for now :o)
/root/bass- speaker- on.sh
#!/usr/bin/env bash
/usr/sbin/i2cset -y 3 0x48 0x2 0
/etc/systemd/ system/ customboot. service /root/bass- speaker- on.sh default. target
[Unit]
Description=Custom Bootup Script
After=tlp.service
[Service]
ExecStart=
[Install]
WantedBy=
/etc/tlp.conf SAVE_ON_ AC=0 SAVE_ON_ BAT=0 SAVE_CONTROLLER =N
SOUND_POWER_
SOUND_POWER_
SOUND_POWER_