linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Input sysbsystema and hotplug
@ 2005-06-13 21:07 Dmitry Torokhov
  2005-06-13 21:26 ` Kay Sievers
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Dmitry Torokhov @ 2005-06-13 21:07 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

Hi,

I am trying to convert input systsem to play nicely with sysfs and I am
having trouble with hotplug agent. The old hotplug mechanism was using
"input" as agent/subsystem name, unfortunately I can't simply use "input"
class because when Greg added class_simple support to input handlers
(evdev, mousedev, joydev, etc) he used that name. So currently stock
kernel gets 2 types of hotplug events (from input core and from input
handlers) with completely different arguments processed by the same
input agent.

So I guess my question is: is there anyone who uses hotplug events
for input interface devices (as in mouseX, eventX) as opposed to
parent input devices (inputX). If not then I could rename Greg's class
to "input_dev" and my new class to "input" and that will be compatible
with older installations. 

Also, in the long run I would probably want to see something like this:

/sys/class/input---input0
		 |
		 |-input1
		 |
		 |-input2
		 |
		 |-mouse---mouse0
		 |	 |
		 |	 |-mouse1
		 |	 |
		 |	 --mice
		 |
		 |-event---event0
			 |
			 |-event1
			 |
			 |-event2

where inputX are class devices, mouse and event are subclasses of input
class and mouseX and eventX are again class devices.

Objections, suggestions, etc? 
	 
Thank you!

-- 
Dmitry

[-- Attachment #2: Type: text/html, Size: 1747 bytes --]

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

end of thread, other threads:[~2005-06-19 14:46 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 21:07 Input sysbsystema and hotplug Dmitry Torokhov
2005-06-13 21:26 ` Kay Sievers
2005-06-13 21:38   ` Dmitry Torokhov
2005-06-13 22:17     ` Greg KH
2005-06-14  6:14       ` Dmitry Torokhov
2005-06-13 21:58   ` Dmitry Torokhov
2005-06-13 22:05     ` Dmitry Torokhov
2005-06-13 22:15       ` Greg KH
2005-06-14  6:08         ` Dmitry Torokhov
2005-06-13 22:21       ` Kay Sievers
2005-06-14  7:32       ` Hannes Reinecke
2005-06-14  7:42         ` Dmitry Torokhov
2005-06-14  7:47           ` Hannes Reinecke
2005-06-14  7:56             ` Dmitry Torokhov
2005-06-19 14:46             ` David Brownell
2005-06-13 22:16 ` Greg KH
2005-06-14  4:26   ` Dmitry Torokhov
2005-06-14  6:21   ` Jon Smirl
2005-06-14  6:38     ` Greg KH
2005-06-14 13:41       ` Jon Smirl
2005-06-14 15:02       ` Jon Smirl
2005-06-14 18:16         ` Dmitry Torokhov
2005-06-14  7:43 ` Hannes Reinecke
2005-06-14  7:52   ` Dmitry Torokhov
2005-06-14  8:00     ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).