Date: Thu, 22 Jan 2009 07:15:27 +1100 From: Mark Andrews <Mark_Andrews@isc.org> To: Robert Noland <rnoland@FreeBSD.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? Message-ID: <200901212015.n0LKFRxE005242@drugs.dv.isc.org> In-Reply-To: Your message of "Wed, 21 Jan 2009 10:51:16 CDT." <1232553076.1832.4.camel@wombat.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901212015.n0LKFRxE005242>