Justin Clacherty wrote:
> Yes, I was aware of this. I was intending to run at 100 mA and then
> bump it up to 500 mA when vbus_draw is called.
>
I've implemented this and it seems to work nicely (turning on the
charger anyway). Now how do I go about reducing the draw back to 100 mA
when I'm disconnected so that I'm not still in 500 mA mode when USB is
plugged in again?
I was initially expecting that vbus_draw would be called with a mA value
of 100 or less when disconnecting but this doesn't seem to be the case.
I can't use vbus_session as we don't monitor vbus on our product. Is
there some other function that's likely to be called on disconnect that
can be used to trigger a reduction in current draw?
Justin.
-------------------------------------------------------------------------
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]