Use sysfs macros I cooked up a while ago