-
Notifications
You must be signed in to change notification settings - Fork 72
Home
dideler edited this page Nov 27, 2012
·
13 revisions
ipad_charge for Ubuntu
For charging 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.
For example $ 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