On Fri, 2005-04-15 at 23:32 +0100, Roger Leigh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi folks,
> 
> Today I received an Apple 20" Cinema Display to use with my Mac Mini.
> It works great in OS X, and on the framebuffer (booting with
> "video=ofonly"), but not with X.  I'd like to get both the framebuffer
> and X set up correctly.
> 
> For the framebuffer, if I boot with
> 
>   "video=radeonfb:[EMAIL PROTECTED]"
> 
> all I get is a blank screen (powersave mode?).  AFAICT all the details
> are correct, but something is wrong.

This is fixed in 2.6.12-rc, and by the 2 patches below.

Index: linux-work/drivers/video/aty/radeon_base.c
===================================================================
--- linux-work.orig/drivers/video/aty/radeon_base.c     2005-03-13 
18:23:14.000000000 +1100
+++ linux-work/drivers/video/aty/radeon_base.c  2005-03-13 18:43:58.000000000 
+1100
@@ -1743,8 +1743,7 @@
                } else {
                        /* DFP */
                        newmode->fp_gen_cntl |= (FP_FPON | FP_TMDS_EN);
-                       newmode->tmds_transmitter_cntl = (TMDS_RAN_PAT_RST | 
TMDS_ICHCSEL) &
-                                                        ~(TMDS_PLLRST);
+                       newmode->tmds_transmitter_cntl &= ~(TMDS_PLLRST);
                        /* TMDS_PLL_EN bit is reversed on RV (and mobility) 
chips */
                        if (IS_R300_VARIANT(rinfo) ||
                            (rinfo->family == CHIP_FAMILY_R200) || 
!rinfo->has_CRTC2)
Index: linux-work/drivers/video/aty/radeon_i2c.c
===================================================================
--- linux-work.orig/drivers/video/aty/radeon_i2c.c      2005-03-11 
15:37:08.000000000 +1100
+++ linux-work/drivers/video/aty/radeon_i2c.c   2005-03-11 16:44:03.000000000 
+1100
@@ -236,6 +236,12 @@
                if (edid)
                        break;
        }
+       /* Release the DDC lines when done or the Apple Cinema HD display
+        * will switch off
+        */
+       OUTREG(reg, INREG(reg) & ~(VGA_DDC_CLK_OUT_EN | VGA_DDC_DATA_OUT_EN));
+       (void)INREG(reg);
+
        if (out_edid)
                *out_edid = edid;
        if (!edid) {

> For X, I have a similar problem.  X starts without errors (in the
> logs), but the screen turns off and I have to power cycle the system
> to use it again.  Has anyone got an example XF86Config-4 I could use?
> Currently, I'm using this:

X need a similar patch to the second one, though it _might_ work on the
mini as I think X doesn't even try to DDC on that one. Just use
"UseFBDev" and eventually give X a modeline obtained from fbset.



> Section "Device"
>       Identifier      "Radeon 5962"
>       Driver          "ati"
>       BusID           "PCI:0:16:0"
>       Option          "UseFBDev"              "false"
>       Option          "ConnectedMonitor"      "DFP"
> EndSection
> 
> Section "Monitor"
>          Identifier "Apple Cinema Display"
>          VendorName "Apple Inc."
>          ModelName "Apple Cinema Display 20"
>          HorizSync 28-90
>          VertRefresh 43-72
>          #Option "DPMS"
> EndSection
> 
> Section "Screen"
>          Identifier "Default Screen"
>          Device     "Radeon 5962"
>          Monitor    "Apple Cinema Display"
>          DefaultDepth 24
>          SubSection "Display"
>                  Depth     24
>                  Modes "1680x1050"
>          EndSubSection
> EndSection
> 
> Section "ServerLayout"
>       Identifier      "Default Layout"
>       Screen          "Default Screen"
>       InputDevice     "Generic Keyboard"
>       InputDevice     "Configured Mouse"
> EndSection
> 
> Section "DRI"
>       Mode    0666
> EndSection
> 
> 
> Many thanks,
> Roger
> 
> - -- 
> Roger Leigh
>                 Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
>                 Debian GNU/Linux        http://www.debian.org/
>                 GPG Public Key: 0x25BFB848.  Please sign and encrypt your 
> mail.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
> 
> iD8DBQFCYEDtVcFcaSW/uEgRAo8BAJ0aVS8Jql4ZzV8sUeOckxGLry8oqQCfdhb9
> DPd4S04Y/heoGKSfuYlAxX8=
> =KRCz
> -----END PGP SIGNATURE-----
> 
> 
-- 
Benjamin Herrenschmidt <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to