Looks like you are trying the "old" way using the ov51_jpeg module. Things have moved on and you should be getting it to work with gspca.
Look a little bit back in this thread here:
and see if you can get success. it should work out of the box, but with a little tweak