From owner-freebsd-mobile@FreeBSD.ORG Sun Dec 3 23:56:22 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A592816A412 for ; Sun, 3 Dec 2006 23:56:22 +0000 (UTC) (envelope-from aelmore@interwoven.com) Received: from smtp02corp.interwoven.com (smtp02corp.interwoven.com [65.161.4.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BFF043CAC for ; Sun, 3 Dec 2006 23:55:51 +0000 (GMT) (envelope-from aelmore@interwoven.com) Received: from exbesv01.Interwoven.com (localhost [127.0.0.1]) by smtp02corp.interwoven.com (8.12.10/8.12.10) with ESMTP id kB3NuIQv012723 for ; Sun, 3 Dec 2006 15:56:18 -0800 (PST) Received: from relax.amer.interwoven.com ([10.192.11.188]) by exbesv01.Interwoven.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 3 Dec 2006 15:56:18 -0800 Received: from relax.amer.interwoven.com (localhost [127.0.0.1]) by relax.amer.interwoven.com (8.13.6/8.13.6) with ESMTP id kB3NuIdQ042260 for ; Sun, 3 Dec 2006 15:56:18 -0800 (PST) (envelope-from aelmore@relax.amer.interwoven.com) Received: (from aelmore@localhost) by relax.amer.interwoven.com (8.13.6/8.13.6/Submit) id kB3NuI9O042259 for freebsd-mobile@freebsd.org; Sun, 3 Dec 2006 15:56:18 -0800 (PST) (envelope-from aelmore) Date: Sun, 3 Dec 2006 15:56:18 -0800 From: Andrew Elmore To: freebsd-mobile@freebsd.org Message-ID: <20061203235618.GC32516@interwoven.com> References: <861wnt9sbo.fsf@tim.hack.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 03 Dec 2006 23:56:18.0483 (UTC) FILETIME=[A0163030:01C71736] Subject: Re: [NewBye] External monitor on IBM T40 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 23:56:22 -0000 On Fri, Nov 24, 2006 at 09:19:11AM +0000, Maurizio Benedetti wrote: > If I attach the external monitor before starting X I can switch between > embedded and external monitor. If I then start X I can work on both of > them. > > If I attach the external monitor after I started X then there is no way > to enable the external monitor. > > Do you have any clue on how to enable it in X? I was trying to do the same thing recently, and finally got it to work fairly well. I have a T42P, with the 1600x1200 LCD. Eventually what I came up with was using the MergedFB feature in X.org, along with the xrandr tool. Here are relevant bits from xorg.conf: Section "Device" Option MergedFB "true" Option "MonitorLayout" "LVDS, CRT" Option "MetaModes" "1600x1200-1600x1200 1600x1200" Option "CRT2Postion" "LeftOf" Identifier "Card0" Driver "ati" VendorName "ATI Technologies Inc" BoardName "Unknown Board" BusID "PCI:1:0:0" EndSection Here's the output of xrandr with the machine disconnected to the 2nd monitor: SZ: Pixels Physical Refresh 0 3200 x 1200 ( 813mm x 305mm ) 0 *1 1600 x 1200 ( 813mm x 305mm ) *0 Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - none With this config in place, I'm able to activate or deactivate the 2nd panel at will, using the xrandr command. I'm really quite impressed with the RANDR extension and its capabilities. Good luck! AE