General wrapper for all linux device with gpio ports.