Skip to contentSkip to conversation

Hotplugs and dev links.

DISCUSSION Chmouel Boudjnah 1 participant 1 message Jan 17, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

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. The problem is that i don't see no ways to detect where the devices has been openned.

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]

Signature · 7 lines
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel

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