This simple and brief tutorial is going to show you how to charge Apple devices in Ubuntu system via USB port. There’s a project ipad_charge that provides USB charging control utility used to enable/disable charging of an Apple device connected to USB port.
This tutorial works on all Ubuntu releases (not only Ubuntu 13.04, 12.10 as the title said), Linux Mint and even other Linux.
List of supported devices:
iPod Touch 2G
iPod Touch 3G
iPod Touch 4G
Install ipad_charge in Ubuntu Linux:
Hit “ctrl+alt+t” to open terminal, then run this command to install required packages:
sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev
Then get the source code:
git clone https://github.com/mkorenkov/ipad_charge.git
Finally, install ipad_charge to
/etc/udev/rules.d via following 3 commands:
cd ipad_charge/ make sudo make install
After installation, reboot. The udev rule automatically enables charging when an iPad is connected.
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.
$ BUSNUM=004 DEVNUM=014 ipad_charge --off