evdev devices in xorg.conf
Dan Nicholson
dbn.lists at gmail.com
Tue May 3 05:54:40 PDT 2011
On Mon, May 2, 2011 at 11:50 PM, Zoltan Szecsei <zoltans at geograph.co.za> wrote:
> On 2011-05-03 08:21, Peter Hutterer wrote:
>>
>> On Tue, May 03, 2011 at 07:47:24AM +0200, Zoltan Szecsei wrote:
>>
>> that just means that the device didn't get added for some reason. Nothing
>> that should affect the working of the server (other than that you
>> obviously
>> can't use this device). If you ssh in before, you'll probably notice that
>> this line is already in the log while you're logging in. from your last
>> backtrace, it's the graphics driver that hangs.
>>
>>
>
> Hi Peter,
> Nope - I have had the machine on for a while this morning, and not logged in
> via the consoe.
>
> I've just dived in over ssh and extracted these files:
[ 12.888] (II) Using input driver 'evdev' for 'Mousetop'
[ 12.888] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 12.888] (**) Option "CorePointer"
[ 12.888] (**) Mousetop: always reports core events
[ 12.888] (EE) Mousetop: No device specified.
[ 12.888] (EE) PreInit returned 2 for "Mousetop"
As the log suggests, you're not specifying a device for Mousetop since
it's commented out:
Section "InputDevice"
Identifier "Mousetop"
# Driver "mouse"
# Option "Phys" "usb-0000:00:1d.7-4.3/input1"
Driver "evdev"
Option "Phys" "pci-0000:00:1d.1-usb-0:2:1.1-event-mouse"
# Option "Device" "/dev/input/event3"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
On the one hand, you can fix it, but you'll probably get duplicate
devices since the server is adding devices automatically. Here's your
keyboard getting added:
[ 12.977] (II) config/udev: Adding input device Logitech USB
Receiver (/dev/input/event2)
[ 12.977] (**) Logitech USB Receiver: Applying InputClass "evdev
keyboard catchall"
[ 12.977] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 12.977] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
Unless you have a good reason to keep the static InputDevice sections,
you may just want to comment them out and let the server add the
devices as it finds them. If you find that you prefer to keep the
static device configuration for one reason or another, I suggest
adding Option "AutoAddDevices" "false" to your server flags.
However, Peter's right that your freeze was caused by the nvidia
driver. Fixing these PreInit errors won't change that situation.
--
Dan
More information about the xorg
mailing list