Re: finding out the attached device current requirement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 03, 2011 at 02:22:34PM +0530, Pavan Kondeti wrote:
> Hi
> 
> I am adding ACA (Accessory Charger Adapter) detection support for MSM
> OTG driver. Battery charging spec introduced ACA to facilitate charging
> when acting as a host. The host does not have to supply power on VBUS
> when ACA is connected. Host device can also draw some amount of current.
> The amount of current is determined by subtracting the attached
> peripheral current requirement from the charger rating current. I am
> looking for a way to find out the attached peripheral's current
> requirement. We already DEVICE_ADD and DEVICE_REMOVE notifications. But

bMaxPower from the device descriptor ??

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux