From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754612AbZESJGX (ORCPT ); Tue, 19 May 2009 05:06:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752701AbZESJGP (ORCPT ); Tue, 19 May 2009 05:06:15 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:49176 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752108AbZESJGO (ORCPT ); Tue, 19 May 2009 05:06:14 -0400 Date: Tue, 19 May 2009 10:06:12 +0100 From: Matthew Garrett To: Marcel Holtmann Cc: Mario Limonciello , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Explicitly disable BT radio using rfkill interface on suspend Message-ID: <20090519090610.GA29967@srcf.ucam.org> References: <4A11C126.1000704@dell.com> <20090518210241.GA17755@srcf.ucam.org> <4A11D4E8.1020807@dell.com> <20090519050327.GA22637@srcf.ucam.org> <1242710064.3147.4.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1242710064.3147.4.camel@localhost.localdomain> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@codon.org.uk X-SA-Exim-Scanned: No (on vavatch.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2009 at 10:14:24PM -0700, Marcel Holtmann wrote: > Hi Matthew, > > Ok. I don't think the right way to implement this is forcing dell-laptop > > to simulate an unplug. The HCI driver should be responsible for saving > > and restoring state of the device in its suspend/resume method. > > what do you expect the generic USB driver to do? I don't see anything we > can do about it, if the device gets removed from underneath us. If the device is getting removed from underneath you, why isn't hid2hci being run again when it reappears as the hid device? -- Matthew Garrett | mjg59@srcf.ucam.org