Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

It looks like X has this new approach of working without a xorg.conf and instead letting udev do all the configuration. Is there a nice description of this out there?

More specifically I installed nvidia drivers and they created a x-config file. Now if I want to remove this config file. What to I have to set up in udev to get Xorg automatically choose the nvidia driver?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Xorg only uses udev for input devices. Graphics device configuration is still handled via xorg.conf if the autoconfiguration defaults do not work for you.

share|improve this answer
    
Is there a wiki or something, which explains how to configure input devices with udev? And which options there are for which input device etc. –  user75250 Apr 13 '11 at 8:22
    

What distribution are you using? With Debian, for example, you'll have to create an xorg.conf. First do the following:

apt-get install module-assistant nvidia-kernel-common

m-a auto-install nvidia-kernel-source

Then make an xorg.conf that contains the following:

Section "Module"
    Load        "glx"
EndSection

Section "Device"
    Identifier  "Video Card"
    Driver      "nvidia"
EndSection

You can find more details here.

share|improve this answer
    
Yes such a file was created, when I installed the nvidia. I thought the new way of configuring X was to use udev. But this only works for input devices (see other answer). –  user75250 Apr 13 '11 at 8:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.