Error in dfu mode

While trying to jailbreak my apple tv 2 i0s 5. I am going into dfu mode and it looks like its going to go alright. then when i press menu and play/pause for the 7 seconds it says that my device isn’t compatible with the program and stops. How can I fix this? When I go into itunes my apple tv shows up as an iphone! Is it the cord im usings fault.!!

Are you sure you have an ATV2 and not an ATV3 (see my sig).  There is no jailbreak for an ATV3.

Quite why it should up as an iPhone in iTunes I have no idea.  What version of iTunes are you using - if it is not a very recent one this might be the cause?