From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 24 22:00:49 2005 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FF1516A42C; Thu, 24 Nov 2005 22:00:49 +0000 (GMT) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1063D43FAE; Thu, 24 Nov 2005 20:37:35 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id IBA74465; Thu, 24 Nov 2005 12:37:31 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id C9F235D09; Thu, 24 Nov 2005 12:37:31 -0800 (PST) To: Mathieu Prevot In-reply-to: Your message of "Thu, 24 Nov 2005 13:05:47 +0100." <74C4FED8-AFD1-4375-A875-438827BECC57@club-internet.fr> Date: Thu, 24 Nov 2005 12:37:31 -0800 From: "Kevin Oberman" Message-Id: <20051124203731.C9F235D09@ptavv.es.net> Cc: Doug Poland , acpi@freebsd.org, FreeBSD Current Subject: Re: Build just one module (was Re: [Fwd: cvs commit: src/sys/dev/acpica acpi_cmbat.c]) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2005 22:00:49 -0000 > From: Mathieu Prevot > Date: Thu, 24 Nov 2005 13:05:47 +0100 > Sender: owner-freebsd-acpi@freebsd.org > > > Le 23 nov. 05 à 15:48, Doug Poland a écrit : > > > On Wed, Nov 23, 2005 at 11:49:20AM +0100, Mathieu Prevot wrote: > >> > >> Le 23 nov. 05 ? 03:49, Doug Poland a ?crit : > >> > >>>> Nate Lawson wrote: > >>>>> Here is a patch that should fix the battery hangs on RELENG_6. It > >>>>> was tested to work fine, although I need testing from an affected > >>>>> user to verify it fixes the problem. It was committed to HEAD and > >>>>> will be MFCed if it fixes the problem. > >>>>> > >>> My Dell C600 is affected by this problem. I'm running 6.0-STABLE > > >>> and > >>> would be glad to test the patch. Since I don't run patches > >>> often, if > >>> someone could point me to a doc on how to apply the patch, I'd > >>> appreciate it. > >> You should think man 'subject', Unix for the impatient or google and > >> find things like: > >> > >> patch -i patchfile filetopatch > >> patch >> > > Thank you, that part is fairly obvious. What I'm unsure of is > > where in > > the source tree do I apply that patch from, and, must I to rebuild > > world, or just the affected part of sys/dev. > > Try and see for the patch. 'patch -i patchfile filetopatch' works > from anywhere. > I don't think you need to rebuild world. I think you can just build > acpi module but I don't know how. > You may glance at /usr/src/Makefile* ... While reading /usr/src/Makefile* should get you there, those with limited make-foo should go to /sys/modules/acpi and: make obj make clean make depend make make install This will only take a couple of minutes, then reboot your system. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634