evdev devices in xorg.conf

Zoltan Szecsei zoltans at geograph.co.za
Tue May 3 08:30:06 PDT 2011


On 2011-05-03 14:54, Dan Nicholson wrote:
> 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.
>    
I'm setting up 3 seat multiseat (I use it in my company) but getting 
things embedded down on 1 seat, then I will add the other two.
I took "Device" setting out, and tried to use "Phys" instead, as I 
wondered if /dev/input/event3 would remain event 3 if evdev was wavering 
for some reason.
Are you saying it is safe to use the event numbers? That is simpler.
I'll add in the AutoAddDevices - thanks for this.
> However, Peter's right that your freeze was caused by the nvidia
> driver. Fixing these PreInit errors won't change that situation.
>    
Drat :-(
Now to plough through nvidia drivers until it works?
I gather the nouveau drivers wont work for multiseat, so I have to use 
proprietary nvidia?
In etc/gdm/gdm.conf-custom I had to fire up 3 servers - do I need to do 
this for KDM (where?)

Thank & regards,
Zoltan



-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
P.O. Box 7, Muizenberg 7950, South Africa.

65 Main Road, Muizenberg 7945
Western Cape, South Africa.

34° 6'16.35"S 18°28'5.62"E

Tel: +27-21-7884897  Mobile: +27-83-6004028
Fax: +27-86-6115323     www.geograph.co.za
===========================================



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1209 / Virus Database: 1500/3611 - Release Date: 05/02/11




More information about the xorg mailing list