Kudzu and automatic detection
Hans de Goede
j.w.r.degoede at hhs.nl
Wed Dec 8 07:35:45 UTC 2004
<snip>
About the serial mouse probing, I had a bright moment yesterday. This is
actually quite easy.
1) We're moving to a hotplug world, users buy lotts of gadgets and plug
them in and out of something which runs Fedora when they feel like it.
2) Afaik we already handle hotplugging of ps/2 and usb mice (although
badly see below)
3) afaik X will also start if /dev/input/mice doesn't actually has any
mice behind it.
4) So the solution to slow legacy serial mouse probing is todo it
asynchroniously, so that the rest of the boot can continue, and generate
a "fake" hotplug event when a mouse is found.
About doing handling multiple mice wrong. Currently X uses
/dev/input/mice and all mice attached control the core pointer, there is
no way for apps like the gimp or non networked simultanious mutiplayer
games to see that there are 3 mice and use them as 3 seperate mice.
This can be done in X by setting up Xinput, but this doesn't get done
automaticly, and X can't add an xinput device after a hotplug, this
requires a X restart.
Regards,
Hans
More information about the devel
mailing list