paoleary Wrote:Please see the wiki for complete, up-to-date instructions.
HISTORICAL INFO:
moep,
Nice work tracking down some of the missing links. Like TycoonX, my 210 was not recognized at all by ALSA. I built HD_AUDIO-9.10, but ran into problems with loading the modules--missing symbols, the works.
I ended up cherry-picking from and modifying HD_AUDIO-9.10 and grafting it onto alsa-driver-1.0.22.1 downloaded from the ALSA ftp site. I went ahead and made the changes to the IDs you said to make a little more cleanly, so that the GT240 PCI ID wasn't lost and the GT210 is correctly identified as such in alsamixer.
UPDATED: Here's a patch that should cover the G210, GT220, and GT240. This has been tested on my system against the original sources for ALSA 1.0.22.1. Since it's built off of alsa-kmirror.git, the patch command is `patch -p1 -d sound < patchfile' from the alsa-driver root.
ORIGINAL TEXT:
Here's a patch. Apply with a `patch -p1 < patchfile' from the alsa-driver-1.0.22.1 directory. Hope this helps. N.B.: There may in fact be a much simpler patch, after reviewing some things. I'll get back to you after watching Important Things with Demetri Martin (with HDMI audio!), then I'll test.
EDIT 2: Nope, apparently got to stick with the original patch.
Thanks for the patches. I was trying to get a working HDMI audio on nVidia ION2 (small zotac box, integrated GPU should be one of the GT21x chip family) with my 2.6.24 kernel (Ubuntu 8.04 LTS). Upgrading the kernel was not an option for me, so the process got a little more complicated. IIRC, the patches provided in the quoted post are against alsa 1.0.22.1, which unfortunately doesn't compile against 2.6.24.
So what I did was essentialy take alsa 1.0.22.1 sources, apply the patches and try to backport them to alsa 1.0.21 (the last one which I could successfully compile against my 2.6.24). In the end it seems I was successful (got the HDMI audio working).
In hope to spare someone the trouble of getting through the same painful process I have, I've created a patch against alsa 1.0.21. Maybe there still is some poor soul out there stuck on an older kernel who can use it.
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
Code:
$ tar jxvf alsa-driver-1.0.21.tar.bz2
- download and apply my patch
Code:
$ wget http://www.apksoft.eu/opensource/alsa-driver-1.0.21-nvidia-ion2-hdmi.patch
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch
- compile alsa
Code:
$ ./configure
$ make
$ make install
You should now have alsa support for nVidia HDMI audio (after reboot aplay -l should contain the nVidia HDMI device). The rest should be the same as when using the original patch (setting up mixer and alsa configuration files).
SEO: nVidia ION2 HDMI audio no sound alsa linux