Skip to content
mkorenkov edited this page Jun 3, 2012 · 13 revisions

ipad_charge for Ubuntu

For charing iPad via USB ports in Ubuntu Linux there’s a program created by Ondrej Zary from Rainbow-Software.


Installation

sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev
git clone https://github.com/mkorenkov/ipad_charge.git
cd ./ipad_charge
make
sudo make install

This installs ipad_charge to /usr/bin and 95-ipad_charge.rules to
/etc/udev/rules.d.
The udev rule automatically enables charging when an iPad is connected.

Simply running ipad_charge with no arguments enables charging on all connected
iPads. Running with argument —off disables charging. If you want to control
only one device, set environment variables BUSNUM and DEVNUM, e.g.:
$ BUSNUM=004 DEVNUM=014 ipad_charge —off


Original discussion available here: http://ubuntuforums.org/showthread.php?t=1504845

Packaging

sudo apt-get install -y checkinstall build-essential libusb-1.0-0 libusb-1.0-0-dev vim git-core git-doc
git clone https://github.com/mkorenkov/ipad_charge.git
cd ./ipad_charge
make
sudo checkinstall
Clone this wiki locally