From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 3 22:53:40 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BAB116A4E0 for ; Sun, 3 Sep 2006 22:53:40 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE6F543D46 for ; Sun, 3 Sep 2006 22:53:39 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 2655 invoked from network); 3 Sep 2006 17:53:38 -0500 Received: from andromeda.lef.com.au (HELO localhost) (210.8.93.2) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Sep 2006 17:53:38 -0500 Date: Mon, 4 Sep 2006 08:53:33 +1000 From: Norberto Meijome To: Fabian Keil Message-ID: <20060904085333.26290317@localhost> In-Reply-To: <20060901123741.26016b68@localhost> References: <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> <20060825190556.0e913ec5@localhost> <20060828141712.47b20866@localhost> <20060829001531.4bf13da2@localhost> <20060828163738.3b53601a@localhost> <20060829145427.1b6cf811@localhost> <20060901123741.26016b68@localhost> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: AGP ACPI kernel patch ...( was Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) ) 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 Sep 2006 22:53:40 -0000 On Fri, 1 Sep 2006 12:37:41 +0200 Fabian Keil wrote: > Norberto Meijome wrote: > > > On Mon, 28 Aug 2006 16:37:38 +0200 > > Fabian Keil wrote: > > > > > After the last cvsup I didn't > > > apply the patch to use acpi_video and radeon at the same time and thus > > > Xorg currently doesn't use DRI > > > > where did u get the patch for acpi_video + radeon from? I think that's what > > I should be testing next... > > http://www.fabiankeil.de/sourcecode/freebsd/agp_patch_6.1.patch > > The code comes from Current (via jhb's agp patch). I posted the > link before and at least for me it doesn't change the > "suspend with DRI" issue. Thanks Fabian :) I had found that link from the mailing list. I tried it, and this is what I found: - still no agp0 device found. My kernel conf contains: -- [...] device agp # support several AGP chipsets #device drm #device radeondrm [...] --- but dmesg showed nothing when booting with that kernel. I was loading drm and radeon.ko via boot/loader.conf.local. dmesg showed: [...] Aug 31 08:55:00 ayiin kernel: vgapci0: port 0x2000-0x20ff mem 0xc8000000-0xcfffffff,0xb0100000-0xb010ffff irq 11 at device 0.0 on pci1 Aug 31 08:55:00 ayiin kernel: acpi_video0: on vgapci0 Aug 31 08:55:00 ayiin kernel: drm0: on vgapci0 Aug 31 08:55:00 ayiin kernel: info: [drm] Initialized radeon 1.24.0 20060225 [...] --- When loading X with Load "dri" enabled, it just locks up. I used to have drm package installed , and the results were the same wrt. locking up. I now realise that when I run the kernel with your patch, i only had libdrm installed... i guess it is not a valid test for the X part (though I would have hoped agp0 to be detected... pciconf -lv [...] none1@pci1:0:0: class=0x030000 card=0x058e1014 chip=0x31501002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'M24 1P Radeon Mobility X600' class = display subclass = VGA [...] any suggestions and/or comments are greatly appreciated :) Cheers, _________________________ {Beto|Norberto|Numard} Meijome Lack of planning on your part does not constitute an emergency on ours. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.