- Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
Try the following to rule out a software problem
- Reset the iPod. Nothing will be lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup
- Restore to factory settings/new iPad. ( I think you do this restore)
- Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
Apple will exchange your iPad for a refurbished one for this price. They do not fix yours.
iPad model Out-of-Warranty Service Fee iPad mini $219 iPad 3rd, 4th generation $299 iPad 2, iPad $249
A third-party place like the following will replace the jack for less. Google for more.
Replace the jack yourself