The PS2 EyeToy does not work with PS3 games. Designed for PlayStation 2, it uses different technology/protocols than the later PS3 Eye camera.
You can use a PS2 EyeToy on PS3, but only with PS2 games that support it. For PS3 games, you need the PS3 Eye camera (PlayStation Eye).