From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:09:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B32E16A402 for ; Mon, 30 Apr 2007 17:09:00 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id CAA4613C448 for ; Mon, 30 Apr 2007 17:08:59 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by mu-out-0910.google.com with SMTP id g7so9296muf for ; Mon, 30 Apr 2007 10:08:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=GN8kdKco0gMijm0TzM6AYf65YMAFX42eoFEApylEnkAdwHY+CYgFUC7W/883UZtJEF9yhfQwVQ3DNBrQpmu2vAColaeXfH3+XkHLT3j+sTQXFOb0bUl/uFEHW1trFVdDLrun9k1QzY/CV1Z04kNMIv6N1xuiPyuANaeLYTV4DBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=Cs8EPnYo4FIlYSPW7F6M3n7eIDsGZOr2mqP2b/QQJv0eQk/2kX6QP7KVyg9qMILvryqo8vTTmuYLyEpg23etfNG8pJ9yVt0oVeE9VLBJc4IJPQOWEXoSomjON7MoloA0Ax+fCFnD9wsyS/1XHydnb5xRHGgmfYGWqFtBqEEXhEQ= Received: by 10.82.184.2 with SMTP id h2mr12229898buf.1177952937965; Mon, 30 Apr 2007 10:08:57 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTP id c22sm12993229ika.2007.04.30.10.08.56; Mon, 30 Apr 2007 10:08:57 -0700 (PDT) From: Tom Evans To: Victor Engmark In-Reply-To: <7d4f41f50704300202y366d468cu61a81b27786130c8@mail.gmail.com> References: <7d4f41f50704300202y366d468cu61a81b27786130c8@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FHiQ4o+FlsZQntsHW0np" Date: Mon, 30 Apr 2007 18:08:54 +0100 Message-Id: <1177952934.1319.8.camel@zoot.mintel.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.0 FreeBSD GNOME Team Port Cc: FreeBSD Questions Subject: Re: How to find HorizSync / VertRefresh rates? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 17:09:00 -0000 --=-FHiQ4o+FlsZQntsHW0np Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2007-04-30 at 11:02 +0200, Victor Engmark wrote: > Hi all, >=20 > I'm trying to create a pristine xorg.conf, but I've been unable to > find proper values for HorizSync and VertRefresh for my Dell Latitude > D610. Don't bother trying. If it works when you leave them unspecified, don't think any more about it. If it still doesn't work however, the easiest way is to construct a valid modeline specific to your monitor. Xorg can actually tell you what to put into your xorg.conf, see section 5.4.3.2 of the FreeBSD Handbook [1] The quickest way to get these values out is to grep your Xorg log (even from a failed run of Xorg). Eg (quoting from the Handbook) : $ grep -A 4 'Supported additional Video Mode' /var/log/Xorg.0.log (II) I810(0): Supported additional Video Mode: (II) I810(0): clock: 108.0 MHz Image Size: 340 x 270 mm (II) I810(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end 1688 h_border: 0 (II) I810(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking: 1066 v_border: 0 (II) I810(0): Serial No: ETL5108015 This information is called EDID information. Creating a ModeLine from this is just a matter of putting the numbers in the correct order: ModeLine <4 horiz. timings> <4 vert. timings> Heres one I made earlier (unfortunately, not the one from the log, that one works 'out-of-the-box') ModeLine "1680x1050" 146.0 1680 1784 1960 2240 1050 1053 1059 1089 Cheers Tom [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html --=-FHiQ4o+FlsZQntsHW0np Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGNiKjlcRvFfyds/cRAuRLAKCSSkAtNTtkiKFvGk+hqVdx9SZH5gCfd4tU lg0f7DdLQMqN7R41ZyK4zdM= =QvBH -----END PGP SIGNATURE----- --=-FHiQ4o+FlsZQntsHW0np--