[LIVE] Total Linux Newbie Needs Help Getting HDMI Audio To Work with A G210
#1
Smile 
Hello

I'm having trouble getting the HDMI Audio working with my XBMC Live build.

The machine is an Elonex Scaleo, P4 2.8Ghz, Asus EN210, 2GB RAM.

Attempt to provide the information required :-

Linux Distribution and Version, Architecture - Linux XBMCLive 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686
Install Method - Downloaded xbmc-9.11-live-repack burned ISO to CD-R, booted and installed to HDD
SVN Revision - XBMC 9.11 R26018
Nvidia Drivers - 190.53

I've got access to the machine using WinSCP and Putty.

I tried following this link -

http://wiki.xbmc.org/index.php?title=HOW...,_or_GT240

I can see that I'm okay on the "Before You Begin/Notes" section.

I downloaded the ALSA Driver package as directed from the "install ALSA from source link".

The problem is now I dont know how install it as there are no idiot guide instructions there for me to use!

If anyone can point me in the right direction that would be great.

Thanks
M1ke
Reply
#2
USe this to upgrade to latest alsa:

http://ubuntuforums.org/showthread.php?p...ost6589810

hudo
Reply
#3
Was going well but just got this while running sudo ./AlsaUpgrade-1.0.23-2.sh -c

./configure: line 20033: CC_NOUNDEFINED: command not found
checking for pkg-config... no
checking for ALSA... configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables ALSA_CFLAGS
and ALSA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
See `config.log' for more details.

***************************************************************************
* alsa-plugins-1.0.23 configure failed
***************************************************************************
Reply
#4
Your in luck!!!

I've got a a Fujitsu Siemens Scaleo E (with a working VFD under XBMC!), MSI Geforce 210 and I've got sound through HDMI working for quite some time now. Even got crossfade between mp3's working, which is not in the guide you mentioned

I'm at work right now and will post and howto some time tomorrow or in the very near future. I need to gather the right info for a howto.

I't not all that difficult. Just copy/edit/delete the right files. No need to upgrade this, patch that etc.

I might not post it here but on http://www.xbmcfreak.nl, because the same question was asked there.
Reply
#5
Thanks - be really interested to see that.

In the meantime, can anyone shed any light on the sudo command issue above ?
Reply
#6
UPDATE : I've managed to get ALSA 1.0.23 installed.

I had to install Pkg-Config first and then install libasound2-dev.

I'm still not up and running with sound though.

The next step on the instructions on the above link is :-

Ubuntu users make sure to remove the linux-backports-modules-alsa-`uname -r` package or your newly compiled ALSA drivers will be ignored.

I'm unable to issue this command - I'm getting the following error :-

mike@XBMCLive:~$ linux-backports-modules-alsa-`uname -r`
-bash: linux-backports-modules-alsa-2.6.31-16-generic: command not found


Can anyone advise ?

THanks
Mike
Reply
#7
well... i'm running Ubuntu 10.04 with XBMC installed manually and have gotten my G210 HDMI audio output working.

First i upgraded to Alsa 1.0.23 as you did, after that reboot.

Then type: aplay -l

Which gave me:
Code:
razor@mediacenter:~/scripts$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Card 1, Device 7 turned out to be the HDMI-audio out of my G210. Card 0 = Onboard sound/hdmi.

In XBMC --> Settings --> System --> Audio -->

Set Passtrough to: plughw:1,7

Make sure in Alsamixer you've got your HDMI output unmuted.
type: "alsamixer" in terminal, use F6 to select the correct audio-device/card. Use "M" to mute/unmute..

Well try it out, i might have written it down a bit chaotic! Laugh
HTPC + Mediaserver
E8400 - ABIT I-N73HD - 2GB DDR2 - 3.5TB - Geforce G210 - ANTEC FUSION V2 - Ubuntu 10.04 - XBMC-PVR

TV-Server
Ubuntu 10.04 - Tvheadend - Smargo Reader - Oscam Card Server - 2x PCI DVB-C
Reply
#8
Thanks for the reply!

aplay -l gives me

Quote:**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

In alsamixer I only get an option for 'HDA Nvidia'

This has 4 S/PDIF options which are all enabled (OO)

Just going to give it a try with the options you said.
Reply
#9
Just set the custom passthough to plughw:0,7 (also tried plughw:0,3) with no luck

Get a failed to initialize audio when i start to play a video.

I also set the audio output device to plughw:0,7 - is that correct ?
Reply
#10
This is now sorted.

I had to create the asound.conf file and move it to the /etc/ folder.

Thankshudo, dragonfly and razor_109.
Reply

Logout Mark Read Team Forum Stats Members Help
[LIVE] Total Linux Newbie Needs Help Getting HDMI Audio To Work with A G2100