sysfs API

Signed-off-by: jonnyhsy <jonnyhsy@foxmail.com>