Bug 88623 - Apple Cinema Display - Xorg - ATI causes unrecoverable sleep mode
Summary: Apple Cinema Display - Xorg - ATI causes unrecoverable sleep mode
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-07 20:40 UTC by John O'Brien
Modified: 2005-11-11 22:39 UTC (History)
0 users

See Also:


Attachments
xorg-server-applecinema.patch (1.50 KB, patch)
2005-11-08 00:51 UTC, Dejan Lesjak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John O'Brien 2005-11-07 20:40:21 UTC
When attempting to start X (xorg-server 6.8.2_6) with a Apple Cinema Display 20", it is immediately put into Sleep mode... This is only fixed by restarting the computer. The detailed explanation is as follows:

              - First, a weird one (somebody with some DDC HW spec ?): The monitor
switches to power managed state after the DDC probing done by radeonfb
or X.org. After tweaking around, it seems that our DDC code will leave
the clock and data lines "asserted" to low state. (The DDC GPIO
registers containing 0x00030000). Just "releasing" them (writing 0) and
suddently, the monitor comes back... (and we read 0x00000300 in there).
So I wonder if there is something wrong in our i2c DDC code...

http://lists.freedesktop.org/pipermail/xorg/2005-March/006641.html

This has apparently been merged into Xorg 6.9/7.0 as seen from this link.
http://cvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c?r1=1.48&r2=1.49

It is a quick two line fix that corrects the problem.

Fix: 

http://cvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c?r1=1.48&r2=1.49
How-To-Repeat: Startx using a new Apple Display.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-07 20:44:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->x11

Over to maintainer
Comment 2 Dejan Lesjak 2005-11-08 00:51:12 UTC
The following patch for x11-servers/xorg-server port should do then. Can you 
please confirm that?
Comment 3 John O'Brien 2005-11-08 01:17:41 UTC
I've applied it on my system and it works perfectly.

J


On 11/7/05, Dejan Lesjak <dejan.lesjak@ijs.si> wrote:
> The following patch for x11-servers/xorg-server port should do then. Can =
you
> please confirm that?
>
>
>
Comment 4 Dejan Lesjak 2005-11-09 01:10:34 UTC
Thanks for report, the solution and testing!
I'll just check if it doesn't break something on other platforms/versions and 
commit it to port.
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2005-11-11 20:24:18 UTC
Responsible Changed
From-To: x11->freebsd-x11

Canonicalize assignment.
Comment 6 lesi freebsd_committer freebsd_triage 2005-11-11 22:38:43 UTC
State Changed
From-To: open->closed

Committed. Thanks!