Hello,

sending the patch witch should fix issue with unloading sibling
modules along with a couple of patches that allow actually unloading
modules.

I can unload a wacom module when wacom tablet is unplugged.

Tested on X 1.12 as master requires some libraries I don't have to build.

The part with moving around the input global array is not really
tested because the unloaded driver was the last anyway.

There are changes which might break ABI but perhaps they would not.

The ModuleDesc size changes but that is allocated by loader anyway.

The DeleteInputModule interface changes but there are no users. AFAIK
this patch introduces the first.

Thanks

Michal

Attachment: 0001-xfree86-loader-Do-not-unload-sibling-modules.patch
Description: Binary data

Attachment: 0002-xfree86-loader-add-back-silly-referece-counting.-ABI.patch
Description: Binary data

Attachment: 0003-xfree86-unload-unused-input-drivers.patch
Description: Binary data

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to