mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] HID: roccat: Achieve userspace notification on sysfs attribute creation
@ 2010-11-26 19:57 Stefan Achatz
  2010-12-09 13:30 ` Jiri Kosina
  2010-12-09 13:44 ` Aw: " Stefan Achatz
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Achatz @ 2010-11-26 19:57 UTC (permalink / raw)
  To: Randy Dunlap, Greg Kroah-Hartman, Jiri Kosina, Stefan Achatz,
	linux-doc, linux-kernel, linux-input, netdev

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-09 13:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-26 19:57 [PATCH 0/5] HID: roccat: Achieve userspace notification on sysfs attribute creation Stefan Achatz
2010-12-09 13:30 ` Jiri Kosina
2010-12-09 13:44 ` Aw: " Stefan Achatz
2010-12-09 13:52   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®