Messages in this thread | | | Subject | [PATCH 0/5] HID: roccat: Achieve userspace notification on sysfs attribute creation | From | Stefan Achatz <> | Date | Fri, 26 Nov 2010 20:57:24 +0100 |
| |
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.
| |