How to migrate the X server?

Dan Nicholson dbn.lists at gmail.com
Fri Jul 31 06:33:14 PDT 2009


On Thu, Jul 30, 2009 at 6:49 PM, Peter Hutterer<peter.hutterer at who-t.net> wrote:
> On Thu, Jul 30, 2009 at 08:21:52AM -0500, Dan Nicholson wrote:
>> On Wed, Jul 29, 2009 at 11:13 PM, Peter
>> Hutterer<peter.hutterer at who-t.net> wrote:
>> > I have poked at libudev a bit today in a weak effort to look what's required
>> > to switch the X server over. I'd be happy if someone else takes over at
>> > this, but right now I don't see this happening for 1.7 anyway. Especially
>> > since the udev code I just wrote required me to put a big "i know this API
>> > will change" define in.
>>
>> Peter,
>>
>> I've been working on some patches to add an InputClass configuration
>> in the anticipation that when udev hotplugging shows up to the server
>> so we don't have to attempt to migrate people to a udev configuration.
>> Would you consider having a look at the patches before we add yet
>> another input device configuration system?
>
> sure, just send them my way. Are we talking about similar patches you did
> ages ago to get xorg.conf and HAL together?

Yes, but improved (IMO). I'm still not sure you'll like them, but this
adds an InputClass section where you can match on properties of the
device to apply settings. Basically, I think hal and udev should be
used for device notification and get out of the business of being our
configuration stores.

Have a look at these two patches. There are some of improvements I
have in mind, but this is the gist of it. Also, I just rebased them to
master, so I'm not sure they even build.

Let me know what you think.

--
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-xfree86-Introduce-InputClass-configuration.patch
Type: text/x-patch
Size: 17476 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20090731/5864dec9/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-xfree86-Use-InputDevice-configuration-for-automatic.patch
Type: text/x-patch
Size: 7181 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/devkit-devel/attachments/20090731/5864dec9/attachment-0003.bin 


More information about the devkit-devel mailing list