[PATCH] config/udev: get driver suggestions from udev
Aaron Plattner
aplattner at nvidia.com
Wed Oct 17 16:15:01 PDT 2012
On 10/17/2012 04:12 PM, Peter Hutterer wrote:
> On Wed, Oct 17, 2012 at 03:02:53PM -0700, Aaron Plattner wrote:
>> If the udev device corresponding to a platform drm device has an "xorg_drivers"
>> property associated with it, treat that as a comma-separated list of driver
>> suggestions to use. Otherwise, fall back to the existing PCI ID table.
>>
>> This lets people create a udev rule to associate an X driver with a given drm
>> device using rules that look like this:
>>
>> SUBSYSTEM=="drm", DRIVERS=="i915", ENV{xorg_drivers}="intel"
>>
>> Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
>
> we had a similar suggestion for input drivers when we added udev support.
> but to keep the xorg configuration in X, we then added InputClass and
> xorg.conf.d snippets. With this patch, you'd have xorg configuration in
> udev. Is this really what you want, or is it worth investigating VideoClass
> support?
Hmm, maybe. That would be a lot more work, but might be more flexible in the
long run. I'll see if I can find some time to work on that.
-- Aaron
More information about the xorg-devel
mailing list