Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-10 Thread Peter Hutterer
On Tue, Feb 04, 2014 at 12:49:10PM +0100, Hans de Goede wrote: With systemd-logind support, the xserver, rather then the drivers will be typo: than responsible for opening/closing the fd for input devices. This commit adds a new capabilities field to the InputDriverRec and a

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-05 Thread Mark Kettenis
Date: Tue, 04 Feb 2014 16:44:07 +0100 From: Hans de Goede hdego...@redhat.com Hi, On 02/04/2014 02:12 PM, Mark Kettenis wrote: Date: Tue, 04 Feb 2014 13:16:21 +0100 From: Hans de Goede hdego...@redhat.com The systemd-logind API uses separate major and minor numbers rather then a

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-05 Thread Hans de Goede
Hi, On 02/05/2014 12:50 PM, Mark Kettenis wrote: Date: Tue, 04 Feb 2014 16:44:07 +0100 From: Hans de Goede hdego...@redhat.com Hi, On 02/04/2014 02:12 PM, Mark Kettenis wrote: Date: Tue, 04 Feb 2014 13:16:21 +0100 From: Hans de Goede hdego...@redhat.com The systemd-logind API uses separate

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-05 Thread Mark Kettenis
Date: Wed, 05 Feb 2014 13:13:04 +0100 From: Hans de Goede hdego...@redhat.com Hi, On 02/05/2014 12:50 PM, Mark Kettenis wrote: Date: Tue, 04 Feb 2014 16:44:07 +0100 From: Hans de Goede hdego...@redhat.com Hi, On 02/04/2014 02:12 PM, Mark Kettenis wrote: Date: Tue, 04 Feb 2014

[PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-04 Thread Hans de Goede
With systemd-logind support, the xserver, rather then the drivers will be responsible for opening/closing the fd for input devices. This commit adds a new capabilities field to the InputDriverRec and a XI86_DRV_CAP_SERVER_FD flag for drivers to indicate that they support server managed fds. This

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-04 Thread Mark Kettenis
From: Hans de Goede hdego...@redhat.com Date: Tue, 4 Feb 2014 12:49:10 +0100 With systemd-logind support, the xserver, rather then the drivers will be responsible for opening/closing the fd for input devices. This commit adds a new capabilities field to the InputDriverRec and a

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-04 Thread Hans de Goede
Hi, On 02/04/2014 01:03 PM, Mark Kettenis wrote: From: Hans de Goede hdego...@redhat.com Date: Tue, 4 Feb 2014 12:49:10 +0100 With systemd-logind support, the xserver, rather then the drivers will be responsible for opening/closing the fd for input devices. This commit adds a new

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-04 Thread David Herrmann
Hi On Tue, Feb 4, 2014 at 1:16 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 02/04/2014 01:03 PM, Mark Kettenis wrote: From: Hans de Goede hdego...@redhat.com Date: Tue, 4 Feb 2014 12:49:10 +0100 With systemd-logind support, the xserver, rather then the drivers will be responsible

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-04 Thread Mark Kettenis
Date: Tue, 04 Feb 2014 13:16:21 +0100 From: Hans de Goede hdego...@redhat.com The systemd-logind API uses separate major and minor numbers rather then a dev_t. I don't think the design of the Xorg driver API should be blindly copied from Linux-specific APIs. The integration of systemd

Re: [PATCH v2 04/14] xf86Xinput: Modify API for server-managed fd support

2014-02-04 Thread Hans de Goede
Hi, On 02/04/2014 02:12 PM, Mark Kettenis wrote: Date: Tue, 04 Feb 2014 13:16:21 +0100 From: Hans de Goede hdego...@redhat.com The systemd-logind API uses separate major and minor numbers rather then a dev_t. I don't think the design of the Xorg driver API should be blindly copied from