added fd value, direction for GPIO