My I pod is a 2nd generation that was given to me by a family friend, I put a passcode to open it, it has never been syncronized to the computer, now I am locked out.
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
Retrieving data ...