# \[PATCH 0/5\] HID: roccat: Achieve userspace notification on sysfs attribute creation

- From: Stefan Achatz \<erazor\_de@users.sourceforge.net\>
- Date: 2010-11-26 19:57:28 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2010/11/8915519
- Thread: https://ratatoskr.run/linux-input/2010/11/8915519/t.md

```text
Adding sysfs attributes to an already created device raises no userland
notification.

Instead of fiddling around in the depths of busses and devices I reuse the
event char device (module hid-roccat). This device gets now created with
a hardware specific class that contains the device attributes.

For this I had to introduce support for binary attributes into struct class.

This is afaik the easiest way to achieve said goal. If these patches get
applied I can upload a new version of my userland tools that is compatible
with old and new drivers in an instant.

As there are quite a couple of unapplied patches flying around, I decided
to base these patches on 2.6.37-rc2 and designed them to contain everything
pending and so make all unapplied patches obsolete.

```
