Re: [PATCH 2/2] xfree86: handle xorg.conf devices with logind

2014-03-11 Thread Hans de Goede
Hi, On 03/11/2014 05:32 AM, Peter Hutterer wrote: Only devices from the config backend have their attributes set, devices from the xorg.conf only have Option Device. That option is also set by the config backend, so use it. And since the config backend sets our major/minor but xorg.conf

Re: [PATCH 2/2] xfree86: handle xorg.conf devices with logind

2014-03-11 Thread Laércio de Sousa
Hi there! Could this other one by Oleg Samarin be related (except for the xf86Bus.c patch, which I've sent previously and is already under review)? http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/37377 CANTATE DOMINO CANTICUM NOVUM QUIA MIRABILIA FECIT Laércio 2014-03-11 4:09

Re: [PATCH 2/2] xfree86: handle xorg.conf devices with logind

2014-03-11 Thread Peter Hutterer
On Tue, Mar 11, 2014 at 07:37:24AM -0300, Laércio de Sousa wrote: Hi there! Could this other one by Oleg Samarin be related (except for the xf86Bus.c patch, which I've sent previously and is already under review)? http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/37377 not

[PATCH 2/2] xfree86: handle xorg.conf devices with logind

2014-03-10 Thread Peter Hutterer
Only devices from the config backend have their attributes set, devices from the xorg.conf only have Option Device. That option is also set by the config backend, so use it. And since the config backend sets our major/minor but xorg.conf devices don't have that set, make sure we try to stat it