This simple tutorial will show you how to charge ipad, iTouch, iPhone (4s) in Ubuntu via USB port. I’ve written a post about charging ipad on Ubuntu, that’s only for ipad and ipad2. There’s a project ipad_charge on that provides charging control utility to enable/disable charging of an Apple device connected to USB port. Here are the supported devices:

  • iPad
  • iPad2
  • iPad3
  • iPod Touch 2G
  • iPod Touch 3G
  • iPod Touch 4G
  • iPhone 3GS
  • iPhone 4
  • iPhone 4S


Hit Ctrl+Alt+T to launch a terminal window, paste following command and press enter to install the dependencies:

sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev git git-core

Install ipad_charge:

First execute this command to get the source:

git clone

Navigate to the folder and install:

cd ./ipad_charge
make install

Now plug in your Apple device via USB port and it should start charging!