http://www.wowotech.net/gpio_subsystem/io-port-control.html