I have attached a script that should blow open all mixer channels on all cards. This is meant to occur before AVWizard eventually.

It works for my onboard sound... but as AVWizard is doing its own switching magic, I intend to unmute and raise volume on everything (onboard, 1 card, 2 cards, whatever...) and then mute unneeded channels after AVWiz does its thing.

In order to use this script, please download onto your core someplace then cd into the directory it lives in

chmod +x amix.sh./amix.shThen please check your alsamixer and make sure everything is unmuted and report success or failure here. Then feel free to mute everything you normally do. Also let me know if the levels are all pegged, or if they (as intended) are at 60%. I will handle the re-muting after AVWizard.

Please then paste the output of a file which is created in the same directory named amix.logThis is mine:

This is currently handled by the script: '/usr/pluto/bin/SetupAudioVideo.sh', which runs before AVWizard.

The current script is only affecting a couple of the possible devices.

SPDIF devices do not have an associated 'volume' level unless a software mixer has been manually created for them in asound.conf. App_Server cannot adjust the output (volume) level of digital (spdif) outputs without a mixer. Audio is typically passed at the stored level of the sound file through spdif devices.

Yes... this is all correct. The problem with the current script is that it only affects a couple of devices, as you said, and does not take into account multiple cards. While I am sending commands that cannot be used by certain devices, it causes no problems. Many things cannot be muted/unmuted or levels set. For everything else... there's this.

A lot of people report HDMI sound is not working simply because the proper channels are not unmuted. My idea was to blow everything open that can be open, and then after AVWizard sets device data in the DB, to mute everything except Master* and the used channels. Everything has different nomenclature for Alsa by manufacturer, so this seemed the best way to me to ensure that whatever is chosen is available... then on AVWizard close, rewrite the unmute script to mute save those listed as necessary.

In my past experience, leaving channels open that are not used causes some low level cross hum. I haven't had that experience in linux... but old habits die hard. I also assume that some level of energy is being used unnecessarily, no matter how minute. I also have a superstition that multiple cards compound this issue. Just leaving everything open felt like a cheap hack not worthy of LMCE.

In truth there is probably no issue doing it... it just felt weak... with theoretical downsides, and a clear solution using the existing elements to eliminate it.