check device-specific sysfs directory.