From owner-freebsd-current@FreeBSD.ORG Thu Mar 27 19:08:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87FAA37B401 for ; Thu, 27 Mar 2003 19:08:49 -0800 (PST) Received: from mta03.fuse.net (mx3.fuse.net [216.68.1.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F05B43FCB for ; Thu, 27 Mar 2003 19:08:48 -0800 (PST) (envelope-from mistry.7@osu.edu) Received: from [10.196.68.229] ([216.196.156.33]) by mta03.fuse.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030328030846.QQUB26833.mta03.fuse.net@[10.196.68.229]> for ; Thu, 27 Mar 2003 22:08:46 -0500 From: Anish Mistry To: freebsd-current@freebsd.org Date: Thu, 27 Mar 2003 22:09:29 -0500 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303272209.29542.mistry.7@osu.edu> X-Spam-Status: No, hits=0.0 required=5.0 tests=USER_AGENT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: ACPI and USB X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.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: Fri, 28 Mar 2003 03:08:50 -0000 Hi, I finally got -CURRENT to install on my laptop as of 2003-03-25 and have been playing around with the acpi code trying to figure it out. One of the main problems is to get my USB bus to wake up after a suspend, currently all the USB devices dies when suspended and resumed. How can I tell the USB PowerResource to turn on? I've been able to access devices that have a HID and create drivers for those, but I don't know how to access resources with only _ADR addresses. The USB portion of my acpidump below: Device(USB_) { Name(_ADR, 0x00020000) Name(_PR0, Package(0x1) { USBP, }) Name(_PR1, Package(0x1) { USBP, }) Name(_PR2, Package(0x1) { USBP, }) PowerResource(USBP, 1, 0) { Name(RSTA, 0x1) Method(_STA) { Return(RSTA) } Method(_ON_) { Store(One, RSTA) } Method(_OFF) { Store(Zero, RSTA) } } } Thanks, -- Anish Mistry