After few hours I've solved no hdmi audio in Camelot, one have to compile latest alsa to get hdmi audio working.
To do this, we must begin by determining our version of alsa as follows :
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :
sudo /etc/init.d/alsa-utils stop
sudo stop xbmc-live
We must then install the necessary tools to compile along with the kernel headers :
sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev
Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :
cd ~
rm -rf ~/alsa* ~/.pulse*
wget ftp://ftp.alsa-project.org/pub/driver/al...23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-...23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/als...23.tar.bz2
After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :
sudo rm -rf /usr/src/alsa
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .
Unpack the 3 tar files :
sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*
We compile and install alsa-driver :
cd alsa-driver*
sudo ./configure
sudo make
sudo make install
We compile and install alsa-lib :
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
We compile and install alsa-utils :
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
Then, we remove the 3 tar files in our personal folder that are not anymore necessary :
rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*
Then, just restart your computer and your alsa version should be 1.0.23!
You can verify that you have now indeed have this version of alsa :
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 2 2010 for kernel 2.6.32-21-generic (SMP).
Just to be sure everything is well configured, execute this command :
sudo alsaconf
then we're gonna setup HDA Nvidia card in XS35GT
sudo nano /etc/modprobe.d/sound.conf
paste following line and save:
options snd-hda-intel enable_msi=0
reboot computer , next step is to unmute nvidia audio
sudo alsamixer
press F6, select HDA Nvidia, unmute all SPDIF there ('M' key)
Now we have to find out card # and device # of Nvidia HDMI so we can set it in xbmc
aplay -l
note your card # and device # we're gonna use them for test then set up in xbmc
for example:
Code:
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
based those # test your speakers with following command:
speaker-test -D plughw:1,7 -c6
then finally set up xbmc - system - audio (set custom devices according to your working speaker-test)
Audio Output: HDMI
Audio Output Device: Custom
Custom Audio Device: plughw:1,7
Passthrough Audio Device: Custom
Custom Passthrough Device: plughw:1,7
And that's it =) HDMI audio working. Thanks to these guides
1 ,
2