[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using a cinema display



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

> 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:1680x1050-32@60"
>> 
>> 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
> Index: linux-work/drivers/video/aty/radeon_i2c.c

Thanks.  I applied these to 2.6.11.7, and it works perfectly.

>> 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.

Hmm, I did this, and I still can't succeed.  I've tried quite a number
of configurations, but all turn off the monitor.  In the end I've had
to use the plain FBDev driver, so I can now at least use the system!
I've attached by config below.


Thanks,
Roger


Section "Device"
	Identifier	"Radeon 5962"
	Driver		"ati"
	BusID		"PCI:0:16:0"
	Option		"SWcursor"		"true"
	Option		"UseFBDev"		"true"
	Option		"DDCMode"		"false"
	Option		"MonitorLayout"		"TMDS"
	Option		"PanelSize"		"1680x1050"
EndSection

Section "Device"
	Identifier "FB 0"
	Driver "fbdev"
	BusID  "PCI:0:16:0"
	Option "fbdev" "/dev/fb/0"
EndSection

Section "Monitor"
	Identifier "Apple Cinema Display"
	VendorName "Apple Inc."
	ModelName "Apple Cinema Display 20"
	HorizSync 28-90
	VertRefresh 43-72
	DisplaySize 434 270
	#Option "DPMS"

	Mode "1680x1050"
		# D: 119.005 MHz, H: 64.677 kHz, V: 59.886 Hz
		DotClock 119.006
		HTimings 1680 1728 1760 1840
		VTimings 1050 1053 1059 1080
		Flags    "-HSync" "+VSync"
	EndMode
EndSection

Section "Screen"
         Identifier "Default Screen"
         Device     "FB 0"
         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


- -- 
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/>

iD8DBQFCYRMzVcFcaSW/uEgRAhtDAJ9rG7E+krwyPH4IXuEn+4/Gpg104ACgkhkZ
kFWa7Bc8wHiGoxtq4L2JzGs=
=Uut7
-----END PGP SIGNATURE-----



Reply to: