This is a simplified version of sd-mux-ctrl program from Tizen repository: https://git.tizen.org/cgit/tools/testlab/sd-mux/