From owner-freebsd-acpi@freebsd.org Thu Feb 11 10:09:07 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04B59A9F697 for ; Thu, 11 Feb 2016 10:09:07 +0000 (UTC) (envelope-from julianpark90611@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C28061E36 for ; Thu, 11 Feb 2016 10:09:06 +0000 (UTC) (envelope-from julianpark90611@gmail.com) Received: by mail-ig0-x236.google.com with SMTP id hb3so31975686igb.0 for ; Thu, 11 Feb 2016 02:09:06 -0800 (PST) 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=KhqERyCjk78t2ytPAs+sUNR3hk8EZyOfa9HDLDr/d7g=; b=HwoHrkk88KBWqz3kt3S/1SLCUgH+bxWSFSremtSIiY2Gpl/x/2a7MpqWUOSlw9SY2c ZNjC1p0OzTKvQWk/DeGK2ngr9itFCHnybSTpKamBceclBHUK3sem590ljxJIk/tqR65G IDzW3vm/WIxi1CXAsmrJOJOSRIPgEG2BIbhWTfZcPIZidU0TLZAwFsoR+thXQCVGf5n8 sWIE8pY/valRXSOjuOIoXOR0l6bfvKGXeuCO+iIwvN/SykyyT3jW6VYIIIrnGj8IxU1a 9m0od/RpZZoj894zzRrrMBslcbvVVke43mCaao2GgRfGgrPb/t3Xj8cr38IHRLblFPcx 12kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=KhqERyCjk78t2ytPAs+sUNR3hk8EZyOfa9HDLDr/d7g=; b=Yi7thgbJRXcy237o91ok+PC6IrNOQFmjcwhhyNyiGeVm6b0vCMnIOaKO2y2bOkmZiu /vpMyJ0N2Q/Gd+APHZAsYSrGkrD3XJFWE5Kr0ndTECqDCirYaOU/ujcEwaP2No9YZ9gK bmm8754h6AJMEPKKLcFUIwuY2l314MdCvZjUzlKu7LkM/LpCIaeOFzehkgZTCwkYpKdc nCsm8ZWXXucOY0bGJ+/YlHsirV1sQzJbL0awEbfpKQ1prnuyRj578D5R5Mw9eKAt+nbq TVjucasMtcvfINd6290dACeAzCWlh9eWeFUlD4ctzunHBqBn2/q5p1R0UDyPa7qFiFMi H9/A== X-Gm-Message-State: AG10YORdwJC/zaHC74OGcVt/xyeLbb93j+ozodVZUhbuQ0rPPZPV0ABJe4WOm100TBxlxXNYx3PWYbjYy3u6vA== MIME-Version: 1.0 X-Received: by 10.50.134.129 with SMTP id pk1mr15761565igb.11.1455185346184; Thu, 11 Feb 2016 02:09:06 -0800 (PST) Received: by 10.36.155.137 with HTTP; Thu, 11 Feb 2016 02:09:06 -0800 (PST) In-Reply-To: <56BC31CD.2000509@selasky.org> References: <56BC289F.2070208@selasky.org> <56BC31CD.2000509@selasky.org> Date: Thu, 11 Feb 2016 19:09:06 +0900 Message-ID: Subject: Re: Regarding Wake On USB input from S3 Sleep From: Dee Zay To: Hans Petter Selasky Cc: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 10:09:07 -0000 Hello, How do I NOT put XHCI into sleep and keep standby for USB keyboard interrupts? I cannot find system tunables for this option.. As for the debugging, how do I see the interactions between the BIOS and HC? Thanks, Julian On Thu, Feb 11, 2016 at 4:01 PM, Hans Petter Selasky wrote: > On 02/11/16 07:36, Dee Zay wrote: > >> Hello, >> >> Thank you very much for the prompt reply. >> What are the issues if the HC remains powered on during suspend/resume? >> Is this something not to be resolved in the near future? >> >> > Hi, > > There is no issue with suspend as I'm aware. > > The problem is resume, that we would like to completely reset the HC and > re-start enumeration and not use the handover from the BIOS. > > You should also check what the BIOS is doing when it sees a HC which is > different modes when entering suspend. > > USB code is here: sys/dev/usb/controller/{ehci.c,uhci.c,ohci.c,xhci.c} > > --HPS > >