From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 7 06:58:59 2004 Return-Path: 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 ECCF616A4CF for ; Tue, 7 Dec 2004 06:58:59 +0000 (GMT) Received: from smtp9.wanadoo.fr (smtp9.wanadoo.fr [193.252.22.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id A18D443D53 for ; Tue, 7 Dec 2004 06:58:59 +0000 (GMT) (envelope-from aurelien.nephtali@wanadoo.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0907.wanadoo.fr (SMTP Server) with SMTP id BDA3F1C0016B; Tue, 7 Dec 2004 07:58:58 +0100 (CET) Received: from [192.168.2.30] (ca-sqy-11-15.w80-8.abo.wanadoo.fr [80.8.64.15]) by mwinf0907.wanadoo.fr (SMTP Server) with ESMTP id 91E521C00169; Tue, 7 Dec 2004 07:58:58 +0100 (CET) Message-ID: <41B554B1.7070508@wanadoo.fr> Date: Tue, 07 Dec 2004 07:58:57 +0100 From: Aurelien Nephtali User-Agent: Mozilla Thunderbird 0.9 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nate Lawson References: <41B4E577.9060502@root.org> <41B50754.10604@centtech.com> <41B50C12.6070103@root.org> In-Reply-To: <41B50C12.6070103@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org Subject: Re: suspend/resume improved? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 06:59:00 -0000 Nate Lawson wrote: > > It's pretty straightforward but arduous work. First strip down your > system, removing all drivers except for the hard drive and keyboard (no > USB, network, etc.) Don't run X. Try S3. If it works, add back in > drivers until it fails. > > If it fails, try to find out where it fails. Does it truly make it to > sleep or does it immediately resume? Add the beep code Warner posted a > while back to the resume code and see if you get a beep. If you get a > beep but a dead system, it's something in driver resume. Try to enable > the network driver and ssh into your system after resume. If it works, > it's a video driver problem and you need to mess with resuming the VESA > BIOS. Don't run DRM with X. > > A lot of this is in the ACPI section of the handbook (which no one > appears to have seen for some reason). More info about specific issues > can be found on my web page: > > http://www.root.org/~nate/freebsd/acpi-todo.html > I will follow this procedure since resume still doesn't work on my system (Compaq Presario 2157EA). But I have a question : the speaker is correctly detected [1] but the system never produced a "beep" and spkrtest neither. So I think using the Warner "beep-code" won't help me much ? Thanks. [1] naboo% ls -l /dev/speaker crw------- 1 root wheel 240, 0 Dec 7 07:57 /dev/speaker naboo% dmesg | grep spea speaker0: port 0x61 on acpi0 -- NEPHTALI 'dak' Aurelien