Setting max 500 mA (Was Re: [new-usb] - USB_ERR_NO_POWER on keyboard hub)

From: Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de>
Date: Mon, 18 May 2009 18:58:38 +0200
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: <Alcor Micro> at usbus0
> > ums0: <Alcor Micro USB Mouse, class 0/0, rev 1.10/51.27, addr 3> on usbus0
> > ums0: 3 buttons and [XYZ] coordinates ID=0
> > ugen0.4: <Sun Microsystems> at usbus0
> > ukbd0: <Sun Microsystems Type 7 USB keyboard, class 0/0, rev
> > 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: <ALi Corp.> at usbus0
> > pid 3705 (hald-probe-usb2-dev), uid 0: exited on signal 11
> > ugen0.5: <ALi Corp.> 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: <ALi Corp.> at usbus0
> > pid 3886 (hald-probe-usb2-dev), uid 0: exited on signal 11
> > ugen0.5: <ALi Corp.> 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.
Received on Mon May 18 2009 - 14:58:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC