Attributes Attributes are files in sysfs /proc-like interface One value per file Much stuff should move here eventually To create attributes Define show() and store() functions Use DEVICE_ATTR() or DRIVER_ATTR() to set up structures Create the actual sysfs files device_create_file() driver_create_file() Lots of boilerplate involved