On Sunday 19 November 2006 12:38, Oliver Neukum wrote:
> > So is there a way to modify the configuration descriptor to allow a
> > current of 500mA even though the device reports that it only needs
> > 100mA?
> The actual power consumption is not monitored by the OS.
> At some point the hub will be overloaded, but the OS relies on
> the power consumption figures to be accurate. Linux will not choose
> any configuration outside the power budget, but that's it.

I'm not sure if you got me right.
I don't want to monitor the actual power consumption. I just want to 
switch the port where the BlackBerry device is connected to 500mA mode. 
Linux sets the port to 100mA mode because the BlackBerry says it just 
wants 100mA (regarding to the lsusb output).

The BlackBerry just has one configuration, there's no alternate one with 
500mA I could select (using usb_set_configuration).

Hmm... if I think about that, I'm not sure if the MaxPower value 
reported by the devices changes any hardware setting.
Is MaxPower just a reported value or does it change the maximum power a 
device actually can draw on the connected port?

Is it possible to draw the full 500mA of the port even if the MaxPower 
value is way below this value? Or does the MaxPower value limit the 
current flow in hardware?

regards,
Christoph

P.S.: Please CC me.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to