From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Wed, 05 Jun 2002 21:48:08 +0000 Subject: Re: [linux-usb-devel] Re: hotplugging to deal with firmware download Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Am Mittwoch, 5. Juni 2002 16:54 schrieb David Brownell: > >>>OK, but where do we handle the case where resumption is impossible > >>>because the device has been unplugged ? > >> > >>If that's not already handled, it'd be a bug in the hub driver. > > > > Well, how will we handle it with respect to the resume function ? > > Do we report failure if there's no longer a device at the physical > > location ? IMHO we do. > > Report it to what? And in what sense would it ever be an "error" > to remove a device -- even during suspend? The genric layer that did request the resumption must be told that this was impossible and the device should be purged. > > Now I am puzzeled. There must be some misunderstanding. > > Could you please outline, how we deal with a resumption > > if the devices lost power under the new scheme ? > > By definition, this is "(re)enumeration", not resumption. But how is the state restored ? Regards Oliver _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel