From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 15:35:24 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFF21B0A for ; Wed, 13 Aug 2014 15:35:23 +0000 (UTC) Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com [IPv6:2607:f8b0:4002:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A115126DB for ; Wed, 13 Aug 2014 15:35:23 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id t59so8869191yho.39 for ; Wed, 13 Aug 2014 08:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Ov//eLE//ggSg+jxAa99vvamoEqWpyb7W+iNIPv7syM=; b=DUKlGXGUrvNuJsQ6DyVQkPr4ur19rUxMkO4fb9XM0qzuxgKz0tbGcagkqCzWzEbqe0 eJ+EgR33VYKBkpu3IwRwpzZiwOrxlf94UYF6tMUUBT/B3FXCiEakG1Lm1o+e2KjjxK/9 5xx/iBO5uSbytylxqMxBEiAx0RF0sd/RGOd3Bv6pPG0TUlxne0GFPgn69+i5t/CoOxvK PhSj2SUlMbrysWemva5I9IgVME3EJs1lsvZG2quLifoDw9H0OmpoNX66I4ALZx1lX93h +jGEjnR4JnrSj0s9ND0qEiRltA+0XxsxsmMrxtzcPm9scDtmm29oHOlE5tS9TrgjJFfr M84A== X-Received: by 10.236.32.227 with SMTP id o63mr7586308yha.31.1407944122836; Wed, 13 Aug 2014 08:35:22 -0700 (PDT) Received: from zhabar.att.net (107-222-186-3.lightspeed.sntcca.sbcglobal.net. [107.222.186.3]) by mx.google.com with ESMTPSA id e24sm4685688yhb.0.2014.08.13.08.35.22 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 13 Aug 2014 08:35:22 -0700 (PDT) Date: Wed, 13 Aug 2014 08:35:18 -0700 From: Justin Hibbits To: Alexandr Krivulya Subject: Re: Child suspend/resume Message-ID: <20140813083518.3f2d0580@zhabar.att.net> In-Reply-To: <53EB02F4.1020704@shurik.kiev.ua> References: <20140810223030.479badbc@zhabar.att.net> <53E9CDD5.6020507@shurik.kiev.ua> <20140812070616.62c66567@zhabar.att.net> <53EB02F4.1020704@shurik.kiev.ua> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 15:35:24 -0000 That's odd, because another tester reported everything worked correctly for him. Could you send me the output of a verbose boot dmesg (boot -v), devinfo -rv, and pciconf -lv? Thanks, Justin On Wed, 13 Aug 2014 09:17:24 +0300 Alexandr Krivulya wrote: > Now laptop resumes, screen turned on and I see in dmesg "acpi: resumed > at ...", but neither keyboard nor mouse don't work and host is not > accessible from network. >=20 > 12.08.2014 17:06, Justin Hibbits =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hi Alexandr, > > > > Thanks. I got another confirmation that it didn't work, and may > > have found the cause. I have another patch that you can find at > > https://phabric.freebsd.org/D590 which fixes a typo that I had made. > > Could you try that? > > > > (Added current@ so everyone else sees this as well). > > > > Thanks! > > > > - Justin > > > > On Tue, 12 Aug 2014 11:18:29 +0300 > > Alexandr Krivulya wrote: > > > >> Hi, Justin > >> After applying your patch my thinkpad e530 (FreeBSD 11.0-CURRENT, > >> amd64) doesn't resume any more - screen remains black. > >> > >> 11.08.2014 08:30, Justin Hibbits (by way of Justin Hibbits > >> ) =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>> Hi all, > >>> > >>> The attached patch is completely untested, due to lack of existing > >>> suspendable hardware (no x86 machines). It does compile cleanly > >>> against head, though. I don't think it should change any behavior, > >>> I tried to keep the essence of the code path the same. > >>> > >>> It was suggested that I break up my multipass suspend/resume code > >>> into incremental parts, so this is part one. It adds a > >>> BUS_SUSPEND_CHILD/BUS_RESUME_CHILD, as well as helper functions, > >>> bus_generic_suspend_child()/bus_generic_resume_child(), and > >>> modifies the PCI driver to use this new facility. > >>> > >>> I'd like some feedback, and testing of this, to make sure I didn't > >>> break anything. > >>> > >>> Thanks, > >>> Justin > >>> > >>> > >>> _______________________________________________ > >>> freebsd-current@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >>> To unsubscribe, send any mail to > >>> "freebsd-current-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" >=20