[ANNOUNCE] ipad_charge - iPad USB charging control utility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I just made a simple utility that enables charging of iPad battery when 
connected to an USB port. iPad does not charge by itself when connected to a 
PC (it displays "Not Charging"). There are some utilities to enable charging 
in Windows (like MSI i-Charger and Asus Ai Charger) but there was nothing for 
Linux...until now.

ipad_charge is based on libusb-1.0, can be either used from command line or 
called automatically by udev (rule is included).

The most interesting line in the program is "the" command
(got easily using SniffUSB, extended by me to allow disabling):
libusb_control_transfer(dev_handle, CTRL_OUT, 0x40, 0x6400, enable ? 0x6400 : 
0, NULL, 0, 2000)

ipad_charge is GPL-licensed and is available at: 
http://www.rainbow-software.org/linux/

-- 
Ondrej Zary
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux