Difference between revisions of "Talk:Linux on Apple TV"

From AwkwardTV
Jump to: navigation, search
m (cleaning up)
Line 42: Line 42:
  
 
Analog sound output is still weak but much better. The ALC885 pin def needs some work.
 
Analog sound output is still weak but much better. The ALC885 pin def needs some work.
 +
 +
A patch for analog audio has been created, see the forum (http://forum.awkwardtv.org/viewtopic.php?f=23&t=167&hilit=&start=70)

Revision as of 19:39, 8 July 2007

kad77:

Let's discuss the direction of the Linux page; how it should be organized and updated, etc.

Many bits of interesting info have been removed, because they aren't directly relevant to using gimli's loader method.


Christian:

My ATV is set up w/ gentoo. Alsa is installed, but the volume is extremely low, almost no sound at all. I tried compiling ALSA as part of the kernel or modules, I tried loading the ALSA modules w/ the four or five options for the ALC882 given at the alsa-project.org website - nothing.

If anyone has succeeded w/ sound on our little box - please tell everyone how, maybe post your kernel .config? Thanks...

Patch From Mythic-Beasts.com

--- linux-2.6.20.6/sound/pci/hda/patch_realtek.c.orig	2007-04-26 13:28:30.000000000 +0100
+++ linux-2.6.20.6/sound/pci/hda/patch_realtek.c	2007-04-26 13:48:35.000000000 +0100
@@ -4584,7 +4584,10 @@
 
 	codec->spec = spec;
 
-	board_config = snd_hda_check_board_config(codec, alc882_cfg_tbl);
+	/*XXX: Hack for Apple TV - breaks other things */
+	board_config = ALC882_3ST_DIG;
+	/*board_config = snd_hda_check_board_config(codec, alc882_cfg_tbl);*/
+	/*XXX: End hack */
 
 	if (board_config < 0 || board_config >= ALC882_MODEL_LAST) {
 		printk(KERN_INFO "hda_codec: Unknown model for ALC882, "

davilla:

For 2.6.20.6 kernel, the easier way (no patching required) it to add to /etc/modprobe.d/alsa-base

options snd-hda-intel model=3stack-dig

If you are running the most recent alsa release, it has ALC885 additions (for the MacPro) so use

options snd-hda-intel model=macpro

Analog sound output is still weak but much better. The ALC885 pin def needs some work.

A patch for analog audio has been created, see the forum (http://forum.awkwardtv.org/viewtopic.php?f=23&t=167&hilit=&start=70)