Am Mittwoch 28 November 2007 schrieb Justin Clacherty:
> Hi,
>
> We've got a PXA27x system using the pxa27xudc driver to talk to a
> desktop via CDC. The device also recharges its battery using USB power
> and requires more than 100mA to do this.
>
> The CDC driver reports that it is using/requires 100mA. Looking through
> the code I haven't been able to find out how I tell the host I want more
> power. I also can't find anywhere that tells me that the host can
> supply 500mA (ie. I'm not on an unpowered hub).
The power needs are listed in a descriptor per configuration.
> How do I tell the host I want more? I could hack the configuration in
> ether.c but I figured this really wasn't a nice way to do it and that
> there was most likely a better way.
>
> How do I tell if the host can supply more than 100mA?
You cannot. The canonical way to support this is to provide two
configurations, identical except for power use.
Regards
Oliver
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home]
[Video for Linux]
[Photo]
[Yosemite Forum]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[Free Dating]