Yes, these are very old systems.
You're correct: it's not openSUSE, but SUSE Linux Enterprise Server 11, both with SP3, the one with "regular" support, the other with LTSS.
The configuration is done in the following way:
/etc/X11/xorg.conf
Code:
[…]
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
[...]
InputDevices "/dev/trackball"
EndSection
Section "ServerFlags"
Option "DontZap" "on"
Option "DontVTSwitch" "on"
Option "ZapWarning" on"
Option "AllowMouseOpenFail" "on"
EndSection
Section "Module"
Load "xag"
Load "freetype"
Load "dbe"
Load "dri"
Load "glx"
Load "extmod"
EndSection
Section “InputDevice”
Driver “kbd”
Identifier “keyboard1”
Option “Protocol” “Standard”
Option “xkbLayout” “us”
Option “xkbModel” “microsoftpro”
Option “xkbRules” “xfree86”
EndSection
Section “InputDevice”
Driver “mouse”
Identifier “mouse1”
Option “Buttons” “9”
Option “Device” “/dev/input/mouse0”
Option “Name” “ImExPS/2 Generic Explorer Mouse”
Option “Protocol” “explorerps/2”
Option “ZAxisMapping” "4 5”
EndSection
Section “InputDevice”
Driver “mouse”
Identifier "trackball1"
Option “Device” “/dev/input/trackball”
Option “Protocol” “explorerps/2”
Option “ZAxisMapping” “4 5”
Option “SendCoreEvents” “off”
EndSection
Section "Monitor"
[...]
EndSection
Section "Screen"
[...]
EndSection
Section "Modes"
Identifier "Mode0"
EndSection
Section "ServerLayout"
Identifier "Layout"
InputDevice "keyboard1" "CoreKeyboard"
InputDevice "mouse1" "CorePointer"
InputDevice "trackball1"
Option "Clone" "off"
Option "Xinerama" "off"
Option "Screen" "Screen1"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
[…]
The only thing from this configuration that looks really strange to me is the line with InputDevices in the Files-Section.
The rest is a static configuration which doesn't allow for any other devices as one mouse.
Here is the udev-rule in /etc/udev/rules.d/10-mouse.rules:
Code:
KERNEL=="mouse*", SUBSYSTEMS=="USB", ATTRS{product}=="*Mouse", MODE="0660", NAME="input/mouse0", SYMLINK+="mouse“, RUN+=“/bin/sh –c ‘/usr/bin/killall -12 Xorg’”
That's a snippet from the Xorg-log:
Code:
(==) Log file: "/var/log/Xorg.0.log", Time: ...
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout"
(**) |--> Screen "Screen1" (0)
(**) | |-->Monitor "Monitor1"
(**) | |-->Device "Device1"
(**) |-->Input Device "keyboard1"
(**) |-->Input Device "mouse1"
(**) |-->Input Device "trackball1"
(**) Option "DontVTSwitch" "on"
(**) Option "DontZap" "on"
(**) Option "ZapWarning" "on"
(**) Option "AllowMouseOpenFail" "on"
(**) Option "Xinerama" "off"
(==) Not automatically adding devices
(==) Automatically enabling devices
[..]
(II) config/hal: Adding input device Raritan KVM
(EE) config/hal: NewInputDeviceRequest failed (8)
This makes all (newly) connected USB mice with Mouse in the product-name to be named /dev/input/mouse0 so that it's usable via the xorg.conf.
On PC1 this is exactly how it behaves.
On PC2 all USB input devices are available to be used in X, no matter the name, e.g. Raritan KVM.