קוד: |
alsactl store |
קוד: |
sudo alsactl store |
קוד: |
The alsa-utils package includes the systemd unit configuration files alsa-restore.service and alsa-store.service, which are activated during boot and before shutdown respectively. They do not need to be manually enabled using systemctl. For reference, ALSA stores its settings in /var/lib/alsa/asound.state. |
מייקי : |
אך כפי שציינתי במקור- כבר ניסיתי ולא עזר. עוד רעיונות? |
קוד: |
for me what it woks was to edit /etc/pulse/default.pa and comment this line "load-module module-device-restore", then reboot and everything was OK
source; Ubuntu Forums |
קוד: |
/etc/rc.local |
קוד: |
Configuration files may also be used to write values into certain files on boot. For example, if you used /etc/rc.local to disable wakeup from USB devices with echo USBE > /proc/acpi/wakeup, you may use the following tmpfile instead:
/etc/tmpfiles.d/disable-usb-wake.conf w /proc/acpi/wakeup - - - - USBE See the systemd-tmpfiles(8) and tmpfiles.d(5) man pages for details. Note: This method may not work to set options in /sys since the systemd-tmpfiles-setup service may run before the appropriate device modules is loaded. In this case you could check whether the module has a parameter for the option you want to set with modinfo module and set this option with a config file in /etc/modprobe.d. Otherwise you will have to write a udev rule to set the appropriate attribute as soon as the device appears. |