Add sysfs helper functions