From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 29 21:20:47 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BF6AA4DF for ; Sat, 29 Jun 2013 21:20:47 +0000 (UTC) (envelope-from stefan.horomnea@gmail.com) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 8411B16A8 for ; Sat, 29 Jun 2013 21:20:47 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id e11so2074976qcx.24 for ; Sat, 29 Jun 2013 14:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XR+BzmWabrqaKg+FTTAW+So/2LWrZGVpusbpcLuqx7w=; b=xioilTV0Y2JFoqBIPM1SJRXZKWRXwyOICnaWCxNJ3DrYj2Ev14ZoQTDAJ5NatO/A25 Omz5Z4uBUG+e1sAWIooCPFM1O+kSUtfR1FlRVjBRsGDH67KTJ2GRYiusxtJQ6FrDXAB/ eltSeIp/4u665wt9IbEjxEjBQhPTE5Ovb9LHTvuVBXIaddtwEOwIo6KX2N51AUfHSkFJ EblhFPXrcqFQD/fLCGM00SRPu+HF16mg0SkWUHe+RKmHfER1tMDYRKkv2eVs9bEm2SDR Csm9JPj7h5ysPIpc48AUuaAgzuS8+qgnLlt615wBYUkWsTOx3/o8pApPR8jwUvxAFGYx lZZg== MIME-Version: 1.0 X-Received: by 10.49.12.114 with SMTP id x18mr24503315qeb.25.1372540847060; Sat, 29 Jun 2013 14:20:47 -0700 (PDT) Received: by 10.49.75.38 with HTTP; Sat, 29 Jun 2013 14:20:46 -0700 (PDT) In-Reply-To: <20130630021916.G81017@sola.nimnet.asn.au> References: <51C7AF45.1000303@gmail.com> <51CE677E.2060508@gmail.com> <20130630021916.G81017@sola.nimnet.asn.au> Date: Sat, 29 Jun 2013 23:20:46 +0200 Message-ID: Subject: Re: Resume on a Thinkpad L512 From: Stefan Horomnea To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 21:20:47 -0000 Hi, My first test was with debug.acpi.resume_beep=1 in /etc/sysctl.conf and /boot/loader.conf. I didn't know which is the right file to set this, so I set it in both. No debug beep. According to this: https://wiki.freebsd.org/SuspendResumethis means that the wake up code in the kernel doesn't even begin. Anyway, I tested also with a stripped down kernel, made no difference. It had no usb, no network...I commented out everything I could. I tried another thing, which I have no idea if it makes any sense at all, or if it was correct/relevant what I was trying, but I generated an DSDT.aml file on Ubuntu, and copied to my FreeBSD system, and added this in /boot/loader.conf on FreeBSD: acpi_dsdt_load="YES" acpi_dsdt_name="/boot/DSDT.aml" Nothing changed. Still when I resume it happens the same: I hear the dvd-rom making a sound, then the fan goes crazy, no screen, no other lights, completely frozen, I have to turn-it off with a long press on the power button. Best, Stefan On Sat, Jun 29, 2013 at 6:40 PM, Ian Smith wrote: > On Fri, 28 Jun 2013 21:50:06 -0700, matt wrote: > > > Try kldunloading any loaded kernel modules including usb. You may need > > to compile a more modular kernel. > > On 8 (.1 and .2) I only had to leave uhci, ohci and ehci (not usb) out > of kernel and load / unload those around suspend/resume, but that's no > longer needed on 9 here. > > > Does suspend/resume work for anyone? > > Likely not very exciting news for most, but my '02 Thinkpad T23 reliably > suspends and resumes since 9.1-R with zero configuration. Haven't tried > it yet with X, might need hw.syscons.sc_no_suspend_vtswitch=1 for that > as 6.x, 7.x and 8.x always required, but that's an old S3 Savage video, > with working IBM-written ACPI/BIOS. > > More modern video chips and drivers seem to be far more problematic, not > to mention slightly dodgy ACPI code .. > > cheers, Ian > > > Matt > > > > On 06/28/13 15:19, Stefan Horomnea wrote: > > > Yes, I did try, didn't help. > > > > > > > > > On Mon, Jun 24, 2013 at 4:30 AM, matt > > > wrote: > > > > > >> > > >>> which I think are after I manually power-off and power-on the > > >>> laptop. If this info helps, Ubuntu is able to suspend/resume > > >>> properly. I also did a recent upgrade of BIOS. > > >>> > > >>> Can anyone help me make progress here ? > > >>> > > >>> Thank you, Stefan > > >>> _______________________________________________ > > >>> freebsd-acpi@freebsd.org mailing list > > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To > > >>> unsubscribe, send any mail to > > >>> "freebsd-acpi-unsubscribe@freebsd.org" > > >>> > > >> > > >> Have you tried twiddling the values at hw.pci.do_power_resume > > >> and hw.pci.do_power_suspend? > > >> > > >> Rarely, this helps. > > >> > > >> Matt >