Mausrad geht nicht mehr (multiseat)

German Forum
Post Reply
User avatar
JeeGeek
Posts: 32
Joined: 19. Sep 2009, 15:29
Location: Unterm Schreibtisch
Contact:

Mausrad geht nicht mehr (multiseat)

Post by JeeGeek »

Hallo,
ich habe mir jetzt nach einem Fehlschlag mit OpenSuse einen Multiseat System mit Salix erfolgreich eingerichtet. Dazu habe ich eine zweite xorg.conf angelegt. Das System startet nun ohne Probleme mit 2 grafischen Oberflächen, so das man mit zwei Nutzern zur gleichen Zeit an einem System arbeiten kann. Nun habe ich jedoch das Problem das von den beiden Mäusen die Mausräder nicht mehr gehen. Ich denke es wird nur ein Detail in meiner xorg.conf sein, aber ich komme einfach nicht drauf. Kann mir da mal einer einen Tipp geben wie ich die Mausräder zum laufen bekomme?

Hier meine xorg.conf.multiseat:

Code: Select all

Section "ServerLayout"
    Identifier     "seat0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option          "AutoAddDevices"        "off"
EndSection

Section "ServerLayout"
    Identifier     "seat1"
    Screen      1  "Screen1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
    Option          "AutoAddDevices"        "off"
EndSection

Section "Files"
    ModulePath   "/usr/lib64/xorg/modules"
    FontPath     "/usr/share/fonts/local"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/OTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/CID"
    FontPath     "/usr/share/fonts/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
    Load  "dri2"
    Load  "glx"
    Load  "dri"
    Load  "dbe"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "evdev"
    Option      "Device"        "/dev/input/event1"
    Option      "XkbModel"      "evdev"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "evdev"
    Option      "Device"        "/dev/input/event5"
    Option      "XkbModel"      "evdev"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mouse1"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mouse3"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "Unknown Vendor"
    BoardName   "Unknown Board"
    BusID       "PCI:1:0:0"
EndSection

Section "Device"
    Identifier  "Card1"
    Driver      "radeon"
    VendorName  "Unknown Vendor"
    BoardName   "Unknown Board"
    BusID       "PCI:4:1:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Für alle die es interessiert noch mal die /etc/gdm/custom.conf

Code: Select all

[servers]
0=Standard0
1=Standard1

[server-Standard0]
name=Standard server
command=/usr/bin/X -nolisten tcp -novtswitch -sharevts -r -config xorg.conf.multiseat -layout seat0
flexible=true

[server-Standard1]
name=Standard server
command=/usr/bin/X -nolisten tcp -novtswitch -sharevts -r -config xorg.conf.multiseat -layout seat1
flexible=true
Grüße
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Mausrad geht nicht mehr (multiseat)

Post by thenktor »

Ich würde mal
Option "ZAxisMapping" "4 5"
probieren.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
JeeGeek
Posts: 32
Joined: 19. Sep 2009, 15:29
Location: Unterm Schreibtisch
Contact:

Re: Mausrad geht nicht mehr (multiseat)

Post by JeeGeek »

Nein, kein Erfolg :)
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Mausrad geht nicht mehr (multiseat)

Post by thenktor »

Dann weiß ich auch nicht... :?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Mausrad geht nicht mehr (multiseat)

Post by Shador »

Folgendes spuckt mir nvidia-xconfig aus:

Code: Select all

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
Image
User avatar
JeeGeek
Posts: 32
Joined: 19. Sep 2009, 15:29
Location: Unterm Schreibtisch
Contact:

Re: Mausrad geht nicht mehr (multiseat)

Post by JeeGeek »

Leider auch kein Erfolg.
Was mich etwas wundert wenn ich Xorg manuell starte mit einem "startx -- -layout seat0 -config /etc/X11/xorg.conf.multiseat" geht das Mausrad. Kann es evtl. sein das mit GDM etwas nicht stimmt?

Hier mal die Ausgabe von Xorg:

Code: Select all

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux darkstar 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686
Kernel command line: auto BOOT_IMAGE=Linux ro root=802 quiet vt.default_utf8=1
Build Date: 26 August 2010  12:40:23PM
 
Current version of pixman: 0.16.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 26 02:19:18 2010
(++) Using config file: "/etc/X11/xorg.conf.multiseat"
(++) ServerLayout "seat0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "AutoAddDevices" "off"
(**) Not automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(**) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic,
	/usr/share/fonts/TTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic
(**) ModulePath set to "/usr/lib/xorg/modules"
(II) Loader magic: 0x81e4c40
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0a65:19da:1044 rev 162, Mem @ 0xfd000000/16777216, 0xb0000000/268435456, 0xcc000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/524288
(--) PCI: (0:4:1:0) 1002:5c63:1002:0086 rev 1, Mem @ 0xd0000000/268435456, 0xfebf0000/65536, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  256.53  Fri Aug 27 21:28:41 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.5.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 2.3.3
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(II) NVIDIA dlloader X Driver  256.53  Fri Aug 27 21:05:55 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Sep 26 02:19:18 NVIDIA(0): Enabling RENDER acceleration
(II) Sep 26 02:19:18 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Sep 26 02:19:18 NVIDIA(0):     enabled.
(II) Sep 26 02:19:20 NVIDIA(0): NVIDIA GPU GeForce 210 (GT218) at PCI:1:0:0 (GPU-0)
(--) Sep 26 02:19:20 NVIDIA(0): Memory: 1048576 kBytes
(--) Sep 26 02:19:20 NVIDIA(0): VideoBIOS: 70.18.2d.00.a1
(II) Sep 26 02:19:20 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Sep 26 02:19:20 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Sep 26 02:19:20 NVIDIA(0): Connected display device(s) on GeForce 210 at PCI:1:0:0:
(--) Sep 26 02:19:20 NVIDIA(0):     HSD Hanns.G HG171 (CRT-1)
(--) Sep 26 02:19:20 NVIDIA(0): HSD Hanns.G HG171 (CRT-1): 160.0 MHz maximum pixel clock
(II) Sep 26 02:19:20 NVIDIA(0): Assigned Display Device: CRT-1
(==) Sep 26 02:19:20 NVIDIA(0): 
(==) Sep 26 02:19:20 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Sep 26 02:19:20 NVIDIA(0):     will be used as the requested mode.
(==) Sep 26 02:19:20 NVIDIA(0): 
(II) Sep 26 02:19:20 NVIDIA(0): Validated modes:
(II) Sep 26 02:19:20 NVIDIA(0):     "nvidia-auto-select"
(II) Sep 26 02:19:20 NVIDIA(0): Virtual screen size determined to be 1440 x 900
(--) Sep 26 02:19:20 NVIDIA(0): DPI set to (98, 99); computed from "UseEdidDpi" X config
(--) Sep 26 02:19:20 NVIDIA(0):     option
(==) Sep 26 02:19:20 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Sep 26 02:19:20 NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
(II) Sep 26 02:19:20 NVIDIA(0): Initialized GPU GART.
(II) Sep 26 02:19:20 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Sep 26 02:19:20 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Sep 26 02:19:20 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(**) Option "Protocol" "auto"
(**) Option "Device" "/dev/input/mouse1"
(II) Mouse0: Setting mouse protocol to "PS/2"
(**) Mouse0: Device: "/dev/input/mouse1"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/input/mouse1"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Mouse0: Sensitivity: 1
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) acceleration profile 0
(II) Mouse0: Setting mouse protocol to "PS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Keyboard0: Device: "/dev/input/event1"
(II) Keyboard0: Found keys
(II) Keyboard0: Configuring as keyboard
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "de"
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device 2.4G Cordless Mouse
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device G-Tech CHINA    USB Wireless Mouse & KeyBoard V1.01
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device Genius NetScroll + Traveler
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device Power Button
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device Power Button
(II) AutoAddDevices is off - not adding device.
(EE) config/hal: NewInputDeviceRequest failed (8)
User avatar
JeeGeek
Posts: 32
Joined: 19. Sep 2009, 15:29
Location: Unterm Schreibtisch
Contact:

Re: Mausrad geht nicht mehr (multiseat)

Post by JeeGeek »

So, das Problem ist gelöst. Im Debian multiseat Wiki ist es mir dann endlich aufgefallen. /dev/mouseX ist falsch. Es muss mit evdev /dev/input/eventX auch für die Maus verwendet werden. Nun gehen die Mausräder wie sie sollten.

Danke für eure Hilfen, manchmal steckt der Teufel eben im Detail :)

Code: Select all

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "evdev"
	#Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/event4"
	Option	    "ZAxisMapping" "4 5 6 7"
	Option      "Buttons" "12"
EndSection
Post Reply