device input/output port management
todo for outputport