The file /sys/bus/usb/devices/2-3/idProduct lists the ID "0x12a9", while ipad_charge.c states that the ID is "0x129f". The Linux USB Database (http://www.linux-usb.org/usb.ids) states that both are valid ID's for iPad 2's, and I had to change ipad_charge.c to get the device to charge.
The file
/sys/bus/usb/devices/2-3/idProduct
lists the ID "0x12a9", whileipad_charge.c
states that the ID is "0x129f". The Linux USB Database (http://www.linux-usb.org/usb.ids) states that both are valid ID's for iPad 2's, and I had to changeipad_charge.c
to get the device to charge.