diff --git a/CHANGELOG.txt b/CHANGELOG.txt index cb4a5beb99..1bc2be3fb3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -22,6 +22,7 @@ Bug fixes: General | RPi 3 onboard Bluetooth is now functional: https://github.com/Fourdee/DietPi/issues/693 General | Odroid C2: Resolved an issue with deb-multimedia repo failing GPG key: https://github.com/Fourdee/DietPi/issues/677 General | Resolved an issue where access to /mnt/usb_1 would hang the program/command, when no USB drive was attached: https://github.com/Fourdee/DietPi/issues/684 +General | Resolved an issue where alsamixer was unable to load sound card device: https://github.com/Fourdee/DietPi/issues/705 DietPi-Automation | Resolved an issue with automated 1st run installation would hang on Odroid C2, during patch stage: https://github.com/Fourdee/DietPi/issues/689 Sparky SBC | Resolved an issue with touch screen module causing dmesg errors associated with it. This module is now disabled: https://github.com/Fourdee/DietPi/issues/699#issuecomment-271362441 diff --git a/dietpi/func/dietpi-set_hardware b/dietpi/func/dietpi-set_hardware index a5f60b5832..80546c5c3d 100644 --- a/dietpi/func/dietpi-set_hardware +++ b/dietpi/func/dietpi-set_hardware @@ -1590,10 +1590,9 @@ pcm.!default { slave.channels 2 } -ctrl.!default { +ctl.!default { type hw card $SOUNDCARD_TARGET_CARD - device $SOUNDCARD_TARGET_DEVICE } _EOF_ @@ -1611,10 +1610,9 @@ pcm.!default { card $SOUNDCARD_TARGET_CARD device $SOUNDCARD_TARGET_DEVICE } -ctrl.!default { +ctl.!default { type hw card $SOUNDCARD_TARGET_CARD - device $SOUNDCARD_TARGET_DEVICE } _EOF_ diff --git a/dietpi/patch_file b/dietpi/patch_file index 22be29aae1..1f0db8c864 100644 --- a/dietpi/patch_file +++ b/dietpi/patch_file @@ -2168,6 +2168,9 @@ _EOF_ blacklist ctp_gsl3680 _EOF_ #------------------------------------------------------------------------------- + #Alsamixer fix, reapply current soundcard with updated asound.conf: https://github.com/Fourdee/DietPi/issues/705 + /DietPi/dietpi/func/dietpi-set_hardware soundcard $(cat /DietPi/dietpi.txt | grep -m1 'soundcard=' | sed 's/.*=//') + #------------------------------------------------------------------------------- fi