added sysfs support