07-24-2014, 01:42 PM
Prior to going Gotham and Generic builds (always used ion builds) I had not had any issues with this.
I'm using HDMI for video & audio, My current build is with the 4.0.7 generic official build on Zotax HD-id11. All audio was lost last night after I entered the System>Audio. I made no changes to any of the settings, just looking around without any real need.
How I solved my audio issues:
First thing that I realized was that my Audio output had changed. It was showing 2 different HDMI INTEL, 1 analog and 1 digital. My previous output was always a Nvidia.
I SSH and did the aplay -l and found 3 devices. The 2 Intel's on card 0 and 1 Nvidia on card 1. But XBMC was not showing the 3rd as choice.
I remembered that originally I had to do some work arounds to get audio to work, so I took a look at those. Going into my device with samba share, I located my sound.config in the folder modprobe.d. After viewing the file, I found that it only had the Intel's listed. Then I located my asound.config file. View it showed my Nvidia info that was need. Renamed and moved the sound.config and replaced it with the asound.config and renamed it to sound.config.
Reboot to test but still didn't work. Didn't change the choices in the Audio output.
Next step was to see if maybe Openelec was booting too fast. I looked for my autostart.sh file. It didn't exist anymore. I made a new one with this inside:
And placed it in the Configfiles share.
Reboot to test. Audio output choices increased to 6 different choices. And new to previous choices, it actually list my monitor as a choice. I selected that one. Testing a movie, I had my sound back again. Reboot to make sure it wouldn't change, and it didn't.
So, either the autostart.sh delay fixed it, or a combination of that and the replaced sound.config did. Either way, all audio is back.
I have 3 device, so I decided to test the others. Other 2 working just fine, entered the System>Audio. Then tried to play a movie. Both device's audio stopped working. Using the same autostart.sh & sound.config and rebooting, my monitors appeared in the Audio output selection. Using the monitor on each, both had audio again.
I hope this possible helps someone with similar issue. Sorry for not fully listing different outputs or aplay -l info.
I'm using HDMI for video & audio, My current build is with the 4.0.7 generic official build on Zotax HD-id11. All audio was lost last night after I entered the System>Audio. I made no changes to any of the settings, just looking around without any real need.
How I solved my audio issues:
First thing that I realized was that my Audio output had changed. It was showing 2 different HDMI INTEL, 1 analog and 1 digital. My previous output was always a Nvidia.
I SSH and did the aplay -l and found 3 devices. The 2 Intel's on card 0 and 1 Nvidia on card 1. But XBMC was not showing the 3rd as choice.
I remembered that originally I had to do some work arounds to get audio to work, so I took a look at those. Going into my device with samba share, I located my sound.config in the folder modprobe.d. After viewing the file, I found that it only had the Intel's listed. Then I located my asound.config file. View it showed my Nvidia info that was need. Renamed and moved the sound.config and replaced it with the asound.config and renamed it to sound.config.
Reboot to test but still didn't work. Didn't change the choices in the Audio output.
Next step was to see if maybe Openelec was booting too fast. I looked for my autostart.sh file. It didn't exist anymore. I made a new one with this inside:
Code:
#! /bin/sh
sleep 5
And placed it in the Configfiles share.
Reboot to test. Audio output choices increased to 6 different choices. And new to previous choices, it actually list my monitor as a choice. I selected that one. Testing a movie, I had my sound back again. Reboot to make sure it wouldn't change, and it didn't.
So, either the autostart.sh delay fixed it, or a combination of that and the replaced sound.config did. Either way, all audio is back.
I have 3 device, so I decided to test the others. Other 2 working just fine, entered the System>Audio. Then tried to play a movie. Both device's audio stopped working. Using the same autostart.sh & sound.config and rebooting, my monitors appeared in the Audio output selection. Using the monitor on each, both had audio again.
I hope this possible helps someone with similar issue. Sorry for not fully listing different outputs or aplay -l info.