[RFC PATCH] Initial libudev input-hotplug support

Ping 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:

>
>
> http://cvs.fedoraproject.org/viewvc/rpms/linuxwacom/devel/linuxwacom-0.8.2.2-HAL.patch?revision=1.1&view=markup
> not for the faint of heart.
>
> when cleaning up you have to make sure you're only cleaning up those
> devices
> 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
> a
> 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 :).

Ping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20091007/0140cebb/attachment.htm 


More information about the xorg-devel mailing list