Skip to contentSkip to conversation

Hotplugs and [input] dev links.

DISCUSSION David Brownell 1 participant 1 message Jan 17, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

I believe that it's the job of the hotplug system to do the links dynamically from (openned)/dev/(usb|input)/device to /dev/device, like cardmgr do for /dev/modem.

I'm not so sure that's even desirable. But wouldn't that be a job for "devfsd", if it were?

Quoted 2 lines

The problem is that i don't see no ways to
detect where the devices has been openned.

You mean "device has been connected", right?

Quoted 10 lines

For example if i have a (usb) mouse and a (usb) keyboard, if i load the mousedev and usbmouse i get the mouse working on :

/dev/input/mouse0

if i load before the keyboard i get the keyboard on /dev/input/mouse0 and after the mouse on /dev/input/mouse1, so how could we get an information where to setup the link ?

[Maybe it should be Cc'ed to usb-devel]

If this is your combined keyboard/mouse device, I'm not sure I see what the problem is. /dev/input/mice should handle things.

- Dave

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel