evdev hacks
Daniel Stone
daniel at fooishbar.org
Thu Apr 19 04:05:59 PDT 2007
On Thu, Apr 19, 2007 at 07:36:10PM +0930, Peter Hutterer wrote:
> The current evdev driver shoots the server when you hotplug devices
> (sigaborts on double free, segfaults when you fix that, etc.) The
> following patch fixes these problems and hotplugging works reliably.
> But it changes the behaviour of the driver slightly.
>
> Previously evdev kept watching the device file until something
> happened, and then bypassed all the dbus hotplugging and added the
> device itself. So it was basically two separate hotplugging
> mechanisms that didn't know about each other. One inside the driver
> and one inside the server.
>
> If you try to add a device that doesn't exist, nothing will happen,
> and you will have to try again later when the device actually exists.
> Hotplugging devices _always_ has to be initiated by a dbus command.
>
> If there's no complaints about this, I'll push it in the next few days.
Holy bajesus. Is it not better to just rip the entire hotplugging
infrastructure out?
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070419/69d77bf0/attachment.pgp>
More information about the xorg
mailing list