Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269736AbTGZU6h (ORCPT ); Sat, 26 Jul 2003 16:58:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269711AbTGZU6h (ORCPT ); Sat, 26 Jul 2003 16:58:37 -0400 Received: from mta7.pltn13.pbi.net ([64.164.98.8]:61896 "EHLO mta7.pltn13.pbi.net") by vger.kernel.org with ESMTP id S269736AbTGZU63 (ORCPT ); Sat, 26 Jul 2003 16:58:29 -0400 Message-ID: <3F22EFAD.4020207@pacbell.net> Date: Sat, 26 Jul 2003 14:16:29 -0700 From: David Brownell User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: Pavel Machek CC: Benjamin Herrenschmidt , Alan Stern , Dominik Brugger , kernel list , linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] Re: OHCI problems with suspend/resume References: <1059153629.528.2.camel@gaston> <3F21B3BF.1030104@pacbell.net> <20030726210123.GD266@elf.ucw.cz> In-Reply-To: <20030726210123.GD266@elf.ucw.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1406 Lines: 42 Pavel Machek wrote: > Hi! > > >>>>I'm not sure how the design is intended to work, but either way something >>>>needs to be fixed. >> >>Yes, it seems like all the HCDs (and the hub driver) need attention. > > > Why the hub driver? > > For basic functionality, you simply power it down (doing virtual > unplug), and power it back up on resume (doing virtual plug of all > devices). That should work reasonably for everything but mass-storage. For non-basic functionality such as "remote wakeup", where you can wake the system up from its suspension by doing things like typing on the USB keyboard. >>Plus, the enumeration process should respect hubs' power budgets, >>and handle overcurrent better. I had a hub re-enumerate over forty >>times not that long ago, just because it enabled too many things at >>once and the surge currents made lots of trouble. Plenty of power, >>if it got turned on carefully enough... :) > > > Havin enough juice in "common case", but not in "worst case" is not > too legal situation, is it? This was a perfectly legal configuration, with what I recall as four devices. It was pretty far from "worst case". - Dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/