[RFC PATCH] Initial libudev input-hotplug support
pinglinux at gmail.com
Wed Oct 7 18:19:10 PDT 2009
On Wed, Oct 7, 2009 at 5:02 PM, Peter Hutterer <peter.hutterer at who-t.net>wrote:
> not for the faint of heart.
> when cleaning up you have to make sure you're only cleaning up those
> that you've initialized yourself, otherwise you're going to top the server.
> i'm not sure if I can recommend the above at all, mjg59's HAL trickery was
> lot nicer but then again, udev.
Then, my question is: can we assume, with xserver 1.8 and later,
xf86WcmInit (the device initialization routine) will only be called by your
libudev input-hotplug mechanism? Or in another phase: do you still allow
users to define input devices through xorg.conf?
If xf86-input-wacom will only be Init'ed by libudev input-hotplug, I can
"fix" my driver by creating all devices inside the Init. Then the driver
will cleanup itself in UnInit. I think I like this approach if you guys are
willing to take the risk of Wacom blowing up the server :).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg-devel