Return-Path: Subject: Re: [rfc/rft]power management for btusb From: Marcel Holtmann To: Oliver Neukum Cc: Pavel Machek , Stefan Seyfried , linux-bluetooth@vger.kernel.org, linux-usb@vger.kernel.org In-Reply-To: <200808201511.30258.oliver@neukum.org> References: <200808201142.52620.oliver@neukum.org> <200808201505.21996.oliver@neukum.org> <1219237554.7591.330.camel@violet.holtmann.net> <200808201511.30258.oliver@neukum.org> Content-Type: text/plain Date: Wed, 20 Aug 2008 15:13:04 +0200 Message-Id: <1219237984.7591.332.camel@violet.holtmann.net> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Oliver, > > > > > > I tried to run this on my Quad G5, but I never see suspend() or resume() > > > > > > called. Do I have to do something to make autosuspend work? > > > > > > > > > > echo "auto" > $(directry in sysfs for device)/power/level > > > > > And you'll see power events in syslog only if you compile with > > > > > CONFIG_USB_DEBUG > > > > > > > > I only seem to see power/wakeup entries. I don't have power/level. Am I > > > > missing some configuration option? > > > > > > Probably CONFIG_USB_SUSPEND > > > > that one is on of course. Do you think it makes a difference that it is > > PowerPC system I am testing this with? > > If it does make a difference, that's a bug. Runtime PM should work > anyway. I really don't see any calls to suspend() and I am missing the power/level option. This is the latest 2.6.27-rc3-git tree from Linus. Regards Marcel