なんででしょ?
ぐぐったらオンラインゲームの不正防止アプリが原因とか書いてあるけどそんなのインストールしていないし。
USBポートを変えたり、Apple Mobile Device Serviceのサービスを再起動したり、iTunesを再インストールしたり、色々試してみましたが駄目で結局 OSを再インストールしました。
※ Apple クソッタレ
iOS:デバイスが iTunes for Windows で認識されない
1. USB ケーブルを調べる
2. Apple Mobile Device Support がインストールされていることを確認する
3. Apple Mobile Device Service を再起動する
4. Apple Mobile Device USB Driver がインストールされていることを確認する
5. 他社製の携帯電話ソフトウェアをチェックする
6. 他社製セキュリティソフトウェアのトラブルシューティングを行う
iPhone 4 or 3GS into Device Firmware Update (DFU) mode:
1. Connect your iPhone to the computer and start iTunes.
2. Turn off your iPhone by holding down the Sleep button and slide to power off.
3. Press and hold down the Sleep button and Home button simultaneously.
4. After 10 seconds release the Sleep button but continue to hold the Home button down.
5. iTunes will pop up a window that says it has "detected an iPhone in recovery mode."
Your device is now in DFU mode and can be restored using iTunes. The iPhone screen will remain black until iTunes restores the iPhone.
Download Ultrasn0w 1.2.7 deb to Unlock iOS 5.1.1 On iPhone
Step 1:
Make sure that your iPhone is already jailbroken on iOS 5.1.1 which is required to install ultrasn0w from Cydia.
Step 2:
Ensure that you are on the supported baseband: iPhone 4 - 01.59.00; iPhone 3G/3GS ? 04.26.08, 05.11.07, 05.12.01, 05.13.04, 06.15.00.
Step 3:
Download the ultrasn0w 1.2.7 deb file from UltraSn0w.com Ultrasn0w 1.2.7 deb
Step 4:
Download iFunBox, iSpirit, DiskAid, iPhone Explorer or any other file manager which can be used to install the ultrasn0w.deb file.
Step 5:
Connect your iPhone to PC via USB cable, launch iFunBox and place the ultrasn0w.deb file in “/var/root/Media/Cydia/AutoInstall“.
Step 6:
The final step is to reboot your iPhone and once the iPhone is rebooted it will be unlocked. Now you can use any SIM card of your choice on your iPhone.