From owner-freebsd-x11@FreeBSD.ORG Wed Jan 21 20:15:40 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 910571065C0F; Wed, 21 Jan 2009 20:15:40 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from mx.isc.org (mx.isc.org [IPv6:2001:4f8:0:2::1c]) by mx1.freebsd.org (Postfix) with ESMTP id 7045E8FC16; Wed, 21 Jan 2009 20:15:40 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "farside.isc.org", Issuer "ISC CA" (verified OK)) by mx.isc.org (Postfix) with ESMTPS id DD67B1140D8; Wed, 21 Jan 2009 20:15:32 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "drugs.dv.isc.org", Issuer "ISC CA" (not verified)) by farside.isc.org (Postfix) with ESMTP id C933EE6074; Wed, 21 Jan 2009 20:15:29 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.3/8.14.3) with ESMTP id n0LKFRxE005242; Thu, 22 Jan 2009 07:15:27 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200901212015.n0LKFRxE005242@drugs.dv.isc.org> To: Robert Noland From: Mark Andrews In-reply-to: Your message of "Wed, 21 Jan 2009 10:51:16 CDT." <1232553076.1832.4.camel@wombat.2hip.net> Date: Thu, 22 Jan 2009 07:15:27 +1100 Sender: Mark_Andrews@isc.org X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mx.isc.org Cc: freebsd-x11@FreeBSD.org Subject: Re: How do I get the xf86-video-intel to work on a DELL D610 under FreeBSD 6.4? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 20:15:41 -0000 In message <1232553076.1832.4.camel@wombat.2hip.net>, Robert Noland writes: > > --=-5JLkN8bb09w9VkB4uSdG > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > > On Thu, 2009-01-22 at 01:23 +1100, Mark Andrews wrote: > > In message <1232507970.1860.9.camel@wombat.2hip.net>, Robert Noland write= > s: > > >=20 > > > --=3D-vgnUuZBqAt2Vb45jVePh > > > Content-Type: text/plain > > > Content-Transfer-Encoding: quoted-printable > > >=20 > > > On Wed, 2009-01-21 at 13:59 +1100, Mark Andrews wrote: > > > > In message <200901210247.n0L2l7qw002241@drugs.dv.isc.org>, Mark Andre= > ws w=3D > > > rites: > > > > >=3D20 > > > > > In message <200901210237.n0L2bgIj002006@drugs.dv.isc.org>, Mark And= > rews=3D > > > write > > > > > s: > > > > > > > On Wed, 2009-01-21 at 13:19 +1100, Mark Andrews wrote: > > > > > > > > > Ok, I think maybe I see what is going on. Try not loading > > > > > > > > acpi_video. > > > > > > > > > 6 doesn't appear to have vgapci which iirc, is needed for b= > oth =3D > > > acpi > > > > > > > > and > > > > > > > > > agp to attach to the device. > > > > > > > > >=3D3D20 > > > > > > > > > robert. > > > > > > > >=3D3D20 > > > > > > > > That did it. Thanks. > > > > > > > >=3D3D20 > > > > > > > > Now where is the best place to record this bit of inf= > orma=3D > > > tion > > > > > > > > for others to find? > > > > > > >=3D20 > > > > > > > Looking at the tree, acpi_video looks like it has been in 6 for= > a l=3D > > > ong > > > > > > > time... at least 2 years. I'm not sure why vgapci was never MF= > C'd. > > > > > > > This is only an issue on 6. 7 and 8 will allow both to attach = > via > > > > > > > vgapci. > > > > > > >=3D20 > > > > > > > robert. > > > > > >=3D20 > > > > > > Do I need to file a PR for this? > > > > > =3D20 > > > > > I knew I had acpi_video in there for a reason. > > > > > Shutting the lid gives a blank screen otherwise. > > > > >=3D20 > > > > > #!/bin/sh > > > > > # deal with lid switch events > > > > >=3D20 > > > > > if [ "x$1" =3D3D x0x00 ]; then > > > > > /usr/bin/logger -t Lid Closed at `/bin/date` > > > > > /sbin/sysctl hw.acpi.video.lcd0.active=3D3D0 > > > > > else > > > > > /usr/bin/logger -t Lid Opened at `/bin/date` > > > > > /sbin/sysctl hw.acpi.video.lcd0.active=3D3D1 > > > > > fi > > > >=3D20 > > > > Should I just copy the driver from 7 or will it need to be > > > > modified? I'm willing to test. > > >=20 > > > You could try it, I can't think of anything off hand that would prevent > > > it from working, but in order to MFC it, I would have to pull 6 trees > > > and at least build test as well. > > >=20 > > > robert. > >=20 > > I got it working using the following changes and > > $FreeBSD: src/sys/dev/pci/vga_pci.c,v 1.3 2005/12/20 22:41:33 jhb Exp$. > >=20 > > I havn't tested to see if I can get away without the change to drm_pciids= > .h. > > That was mention in some email to stable as getting agp to work with the > > same chipset on a different Dell box. > > The change to drm_pciids.h is purely cosmetic. This wasn't MFC due to > the abi change for device attachment, which we aren't supposed to break. > I'm glad that you got it going, but I'd still recommend stepping up to 7 > at a convenient time. Understand. Thanks for your help and time. It's nice to have the fullscreen back with the intel driver. Mark > robert. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org