add sysfs support