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

From AwkwardTV
Jump to: navigation, search
m (no HDMI sound)
m (no HDMI sound)
Line 65: Line 65:
 
*When I boot the appletv with HDMI disconnected, I get sound via RCA.
 
*When I boot the appletv with HDMI disconnected, I get sound via RCA.
 
*When I boot the appletv with HDMI disconnected, I get sound via RCA. When I connect HDMI afterwards, I get no video output, but sound. When starting X, I get video output, but sound stops working.
 
*When I boot the appletv with HDMI disconnected, I get sound via RCA. When I connect HDMI afterwards, I get no video output, but sound. When starting X, I get video output, but sound stops working.
Anybody any ideas on this? I'm using debian unstable with custom 2.6.22.1 kernel plus linux-2.6.22.1-appletv-combo patch. -- [[User:the_sven|the_sven]] 11:40, 19 December 2007 (CEST)
+
Anybody any ideas on this? I'm using debian unstable with vanilla 2.6.22.1 kernel plus linux-2.6.22.1-appletv-combo patch. -- [[User:the_sven|the_sven]] 11:40, 19 December 2007 (CEST)

Revision as of 03:43, 19 December 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)


Gnomeza 03:20, 17 October 2007 (CEST) :

The section on IR support still mentions patching the kernel module. This should be replaced with the HIDDEV method.

My installation notes using Debian etch.

They're *very* rough logs I'm making as I go along. I'm cross-compiling packages (like lirc-0.8.2) for AppleTV on an amd64 host.

no HDMI sound

My appleTV is connected via HDMI to the TV. No sound is going via HDMI, and other avenues are not possible at the moment... I tried decyphering /proc/asound/Intel/codec#0 to patch patch_realtek.c but without success.

Detail: the RCA seems to be disabled by the presence of the HDMI cable... :-(

  • Yep, no audio on HDMI. But I'm currently using HDMI video and RCA audio. Did you apply the RCA patch? And also check the ALSA volume levels? And set your TV to use analog audio instead of HDMI audio? -- Gnomeza 01:55, 25 October 2007 (CEST)

Additional info:

  • When I boot the appletv with HDMI connected, I get NO sound via RCA.
  • When I boot the appletv with HDMI disconnected, I get sound via RCA.
  • When I boot the appletv with HDMI disconnected, I get sound via RCA. When I connect HDMI afterwards, I get no video output, but sound. When starting X, I get video output, but sound stops working.

Anybody any ideas on this? I'm using debian unstable with vanilla 2.6.22.1 kernel plus linux-2.6.22.1-appletv-combo patch. -- the_sven 11:40, 19 December 2007 (CEST)