From owner-freebsd-current@FreeBSD.ORG Mon May 18 16:58:41 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86E131065677 for ; Mon, 18 May 2009 16:58:41 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id F134E8FC08 for ; Mon, 18 May 2009 16:58:40 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 5BCE7199087; Mon, 18 May 2009 18:58:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 4D789199081; Mon, 18 May 2009 18:58:39 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 37A3C199074; Mon, 18 May 2009 18:58:39 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2FP1HF166) with ESMTP id 2009051818583809-3692 ; Mon, 18 May 2009 18:58:38 +0200 Received: by wep4035 (sSMTP sendmail emulation); Mon, 18 May 2009 18:58:38 +0200 Date: Mon, 18 May 2009 18:58:38 +0200 From: Alexey Shuvaev To: Hans Petter Selasky Message-ID: <20090518165838.GA8670@wep4035.physik.uni-wuerzburg.de> References: <747dc8f30905180627h25c83dbt8b5fd8527bad6f15@mail.gmail.com> <200905181546.02302.hselasky@c2i.net> MIME-Version: 1.0 In-Reply-To: <200905181546.02302.hselasky@c2i.net> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.19 (2009-01-05) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2FP1HF166 | March 12, 2009) at 05/18/2009 06:58:38 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2FP1HF166 | March 12, 2009) at 05/18/2009 06:58:38 PM, Serialize complete at 05/18/2009 06:58:38 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Setting max 500 mA (Was Re: [new-usb] - USB_ERR_NO_POWER on keyboard hub) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 16:58:42 -0000 On Mon, May 18, 2009 at 03:46:01PM +0200, Hans Petter Selasky wrote: > On Monday 18 May 2009, Renato Botelho wrote: > > I have a Sun USB Type 7 keyboard, and this keyboard has an USB hub > > with 3 ports on it. I'm using one of those 3 ports to plug the mouse and > > it's working fine. > > > > uhub5: 4 ports with 3 removable, bus powered > > ugen0.3: at usbus0 > > ums0: on usbus0 > > ums0: 3 buttons and [XYZ] coordinates ID=0 > > ugen0.4: at usbus0 > > ukbd0: > 2.00/1.04, addr 4> on usbus0 > > kbd2 at ukbd0 > > > > When I tried to plug a pen drive on anothe one, I got this: > > > > usb2_set_config_index:531: power exceeded 500 > 100 > > usb2_set_config_index:531: power exceeded 500 > 100 > > usb2_alloc_device:1755: Failure selecting configuration index 0: > > USB_ERR_NO_POWER, port 2, addr 5 (ignored) > > ugen0.5: at usbus0 > > pid 3705 (hald-probe-usb2-dev), uid 0: exited on signal 11 > > ugen0.5: at usbus0 (disconnected) > > > > usb2_set_config_index:531: power exceeded 500 > 100 > > usb2_set_config_index:531: power exceeded 500 > 100 > > usb2_alloc_device:1755: Failure selecting configuration index 0: > > USB_ERR_NO_POWER, port 1, addr 5 (ignored) > > ugen0.5: at usbus0 > > pid 3886 (hald-probe-usb2-dev), uid 0: exited on signal 11 > > ugen0.5: at usbus0 (disconnected) > > > > I'm using FreeBSD 8.0-current r192140. > > > > Let me know if there is more information i need to provide. > > > > Thanks > > Hi, > > Your Keyboard HUB technically does not allow current consumption above 100mA > per port. Your memstick reports it needs 500mA. Probably you can hack around > it, but then your hardware might break ... > Hello! Somewhat not directly related. Is it possible (in a not too intrusive way) to allow max 500mA current for a device on a root HUB? This is to allow fast charging of mini-usb connected handy. (If something dies, I knew what I was doing :) Thanks, Alexey.