Multiseated madness

Peter Brooks peter at theneb.co.uk
Sun Dec 7 10:37:47 PST 2008


Hi all,
I'm using multiseating on an Ubuntu 8.06 Install with X.Org X Server
1.4.0.90.

There is currently an issue with Seat1, whereas the screen will appear like
this:
http://www.flickr.com/photos/7714957@N04/3077260588/

This usually occurs after some key presses on the keyboard associated with
the screen.
With this setup, seat0 is a touchscreen with an egalax controller and any
mouse plugged into the machine will move the touchscreen pointer. Is there
any way to blacklist a mouse from controlling a screen?

I am running two sessions with the following graphics cards:

00:0e.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2064W
[Millennium] (rev 01) [Seat 1, PCI, VGA Interface]
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200]
(rev a1) [Seat 0 AGP, DVI Interface]


xorg.conf

###############
# Common

Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
Load "glx"
EndSection

###############
# Seat 0

Section "ServerLayout"
Identifier "Seat0"
Screen "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "EETI" "SendCoreEvents"
#InputDevice "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "CoreKeyboard"
Option "Device" "/dev/input/event0"
##Option "Device" "/dev/input/event6"
#Option "Device" "/dev/input/by-path/pci-0000:00:10.0-usb-0:1:1.0-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
	Identifier 	"EETI"
	Driver		"egalax"
	Option	"Device" "usbauto"
	Option  "Parameters" "/var/lib/eeti.param"
	Option  "ScreenNo"   "0"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Deivce" "/dev/input/mouse1"
#Option "Device" "/dev/input/by-path/pci-0000:00:10.0-usb-0:2:1.0-mouse"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection

Section "Device"
Identifier "nvidia-geforce"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
EndSection

Section "Screen"
Identifier "Screen0"
Device "nvidia-geforce"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

###############
# Seat 1

Section "ServerLayout"
Identifier "Seat1"
Screen "Screen1" 0 0
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "CoreKeyboard"
##Option "Device" "/dev/input/event9"
Option "Device" "/dev/input/by-path/pci-0000:00:10.4-usb-0:4.1:1.0-event-kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "evdev"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/by-path/pci-0000:00:10.4-usb-0:3.4.1:1.0-mouse"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection

Section "Device"
Identifier "matrox-mga"
Driver "vesa" #Mga driver is buggy! Vesa works fine
BusID "PCI:0:14:0"
EndSection

Section "Monitor"
Identifier "Monitor1"
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
EndSection

Section "Screen"
Identifier "Screen1"
Device "matrox-mga"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection




gdm.conf-custom

[servers]
0=seat0
1=seat1

[server-seat0]
name=Seat0
command=/usr/X11R6/bin/X0 -isolateDevice PCI:1:0:0 -sharevts -layout Seat0
flexible=false

[server-seat1]
name=Seat1
command=/usr/X11R6/bin/X1 -isolateDevice PCI:0:14:0 -sharevts -layout Seat1
flexible=false

[greeter]
DefaultFace=
GlobalFaceDir=/usr/share/pixmaps/

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=djtouch



*lsusb*
Bus 005 Device 010: ID 062a:0201 Creative Labs Defender Office
Keyboard (K7310) S Zodiak KM-9010
Bus 005 Device 009: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 005 Device 008: ID 0409:005a NEC Corp.
Bus 005 Device 007: ID 0409:005a NEC Corp.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20081207/8f9aa7db/attachment.html>


More information about the xorg mailing list