Alright, Im not sure if Im in the right place, so if Im not please move me.

I have an embedded linux machine running Voyage, which to my knowledge is a version of debian. Anyways, I recently had to reformat this and saved a bunch of files off the machine, including the files needed to read and save information coming in from a USB card swiper. I have the files, but I'm having a hard time understanding how the swiper sends the data to the machine. Its running some bash command that I've never heard of called FG. We are scanning drivers id's in this swiper so I don't know if that has any relevence. My question is how do I get the swiper to run a script and/or send information to a script? Any help or direction on this would be appreciated!