From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751466AbWFBT5G (ORCPT ); Fri, 2 Jun 2006 15:57:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751470AbWFBT5G (ORCPT ); Fri, 2 Jun 2006 15:57:06 -0400 Received: from weber.sscnet.ucla.edu ([128.97.42.3]:10415 "EHLO weber.sscnet.ucla.edu") by vger.kernel.org with ESMTP id S1751466AbWFBT5E (ORCPT ); Fri, 2 Jun 2006 15:57:04 -0400 Message-ID: <44809653.9010203@cogweb.net> Date: Fri, 02 Jun 2006 12:49:39 -0700 From: David Liontooth User-Agent: Thunderbird 1.5.0.2 (X11/20060517) MIME-Version: 1.0 To: Alan Stern CC: Greg KH , Andrew Morton , linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net Subject: Re: USB devices fail unnecessarily on unpowered hubs References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Alan Stern wrote: > Trying to draw too much current from an unpowered hub can and does cause > data loss. > I consider this issue closed; thank you for looking at it. The workaround is reasonably simple for the common situation of mounting a USB stick on a keyboard, perhaps with a mouse attached in a second port: NUM="$(dmesg | tail -n 3 | grep -r 'new full speed USB device' | cut -b 5-9)" echo -n 1 >/sys/bus/usb/devices/$NUM/bConfigurationValue with the understanding this breaks USB power rules and can lead to data loss. Dave