well, after a LOT more digging.. I came across libusb (which I couldn't get to work) then I found what libusb is based on.. LibUdev... which actually worked out pretty well!

Tutorial: How to use libudev and Sysfs in Linux