I am having problems related to audio settings on my notebook with all distros, since I used Ubuntu and Xubuntu (14 and 16), Kubuntu 16, Ubuntu Studio (14 and 15), Elementary (0.32) and MINT (17.3 Cinnamon and MATE), and all distros showed problems relating to analog audio, since only HDMI works after login (On systems with login sound, the sound works when I login, but a few moments after, analog sound no longer works.
My notebook is an Acer E1 421 with AMD APU, and both analog output and HDMI output seems to use the same audio module, and HDMI, being the 0 card with ALSA, only it works.
lspci | grep Audio 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic_1 [HD-Audio Generic], device 0: CX20584 Analog [CX20584 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
I even found some workarounds to "fix" the issue, but I had no luck, since the "fix" was temporary or things got worse, like removing pulseaudio and lose the volume icons at the task bar...
So, is there a way to revert the devices ? It looks like the system is sending audio direct to card 0 (HDMI) So would it be possible to fix it so it can revert device order ?
I even found a script to change the device order here (at Stackexchange) Sound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?
It would look like
alias char-major-116 snd alias snd-card-0 snd-hda-intel alias snd-card-1 snd-hda-intel options snd cards_limit=2 options snd-hda-intel id=SB index=0 options snd-hda-intel id=HDMI index=1
But I don't know how it would apply on my scenario, and even using a script to revert the order, analog audio does not work at all
It shows on the sound config, but testing it show there is no audio, despite, the sound config showing audio activity, there is no sound on the speakers.
If there is no way, is there a way to block only the HDMI output ? Remember both outputs use the same module, so it's impossible to blacklist the module it self.
I saw some people saying about recompiling the kernel with no HDMI support by changing the menu config.
If it is possible could some one tell me what I can to do recompile and use a new kernel ? At least how to recompile on Mint and Elementary, since they are my prefered distros.