Building a device driver using exisitng hardware

Hi,

I'm building a vision based system but I need a way to interact with the camera I am using. As it is a microscope, its application is very specific for my purposes. I decided a good way to build the device driver so that I could use it on a linux machine is to use a USB sniffer application to sniff out the bits being sent in and out of the device on a window's based machine (as the windows based machine already has the supported device driver). My only issue is that I'm jumping the gun on the project as I don't know what I'll do once I sniff out the bits. I simply don't know enough about the bits I sniff out and how do I use that to build controls for the camera. I would appreciate if someone could set me in the right direction to some resources that is relevant to my project. Thank you very much for you help.