#307 open
Bastien Nocera

usbmuxd should allow charging iDevices when not on Apple USB

Reported by Bastien Nocera | January 2nd, 2013 @ 05:15 PM

Currently, this is supported through a 3rd-party add-on:
https://github.com/mkorenkov/ipad_charge

It should probably be folded into usbmuxd so that the USB IDs are kept in sync. On IRC, it was said:

there is a valid technical argument for not enabling it by default though since it does mean that the iPad will try to draw over-spec current from the port which the machine may not like

Comments and changes to this ticket

  • Martin S.

    Martin S. January 7th, 2013 @ 10:11 PM

    • State changed from “new” to “open”

    This applies not only to the iPad, but other iDevices aswell.

    It also boils down to this "simple" call:

    libusb_control_transfer(dev_handle, CTRL_OUT, 0x40, 0x6400, enable ? 0x6400 : 0, NULL, 0, 2000)
    

    While we could easily enable it for every attached device, this might cause problems in relation to power management and USB bus power.

    It might for instance be interesting for the user to have charging disabled if the device is fully charged or to not charge it while on battery or similar. Other questions might rise in relation to power drawn on the USB bus.

    Ideas how to properly integrate it on the desktop/system?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Pages