[PATCH] Multiseat X-server Mouse Problem

cooperxf haynesi24 at aol.com
Fri Feb 16 22:46:38 PST 2007


i`m have replace /etc/init.d/gdm with a file containing the following:

/etc/X11/X -config /etc/X11/xorg.conf_0 -sharevts :0 vt7 &
/etc/X11/X -config /etc/X11/xorg.conf_1 -sharevts :1 vt7 &
/etc/X11/X -config /etc/X11/xorg.conf_2  -sharevts :2 vt7 &


using -novtswitch does not have any effect at all on any of the versions of
X 

my xorg,conf_0 is ===>

Section "ServerFlags"
	Option "DefaultServerLayout" "Layout00"

EndSection

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
#	Load	"glx"
#	Load	"int10"
	Load	"type1"
	#Load	"vbe"
	Load  	"evdev"
	Load  	"evdev"
EndSection

Section "InputDevice"
	Identifier	"Keyboard00"
	Driver		"evdev"
	Option		"CoreKeyboard"
	Option		"Protocol"	"evdev"
	Option 		"Device"	"/dev/input/event0"
EndSection

Section "InputDevice"
	Identifier	"Mouse00"
	Driver		"evdev"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/event8"
	Option		"Protocol"		"evdev"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Device00"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	#Option		"NoInt10"
EndSection

Section "Monitor"
	Identifier	"Monitor00"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen00"
	Device		"Device00"
	Monitor		"Monitor00"
	DefaultDepth	8
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400"
"640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Layout00"
	Screen		"Screen00"
	InputDevice	"Keyboard00"
	InputDevice	"Mouse00"
EndSection

the other 2 are the same execpt for identifiers  and eventX definitions
(file was split for clairty)

xorg.conf_1 ===>

Section "InputDevice"
	Identifier	"Keyboard01"
	Driver		"evdev"
	Option 		"Device"	"/dev/input/event3"
	Option		"CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier	"Mouse01"
	Driver		"evdev"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/event7"
	Option		"Protocol"		"evdev"
	Option		"ZAxisMapping"		"4 5"
EndSection

xorg.conf_2 ===>

Section "InputDevice"
	Identifier	"Keyboard02"
	Driver		"evdev"
	Option		"CoreKeyboard"
	Option		"Protocol"	"evdev"
	Option 		"Device"	"/dev/input/event5"
EndSection

Section "InputDevice"
	Identifier	"Mouse02"
	Driver		"evdev"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/event8"
	Option		"Protocol"		"evdev"
	Option		"ZAxisMapping"		"4 5"
EndSection


the relevent output from Xorg.X.log are  ===>

Xorg.0.log

(II) evdev brain: Rescanning devices (1).
(**) Option "CoreKeyboard"
(**) Keyboard00-isa0060/serio0/input0: Core Keyboard
(II) evdev brain: Rescanning devices (2).
(**) Option "CorePointer"
(**) Mouse00-usb-0000:00:1d.0-2/input0: Core Pointer
(II) Mouse00-usb-0000:00:1d.0-2/input0: Found 3 relative axes.
(II) Mouse00-usb-0000:00:1d.0-2/input0: Configuring as pointer.
(**) Mouse00-usb-0000:00:1d.0-2/input0: WHEELRelativeAxisButtons: 4 5.
(II) Mouse00-usb-0000:00:1d.0-2/input0: Found 3 mouse buttons
(II) Mouse00-usb-0000:00:1d.0-2/input0: Configured 5 mouse buttons
(II) XINPUT: Adding extended input device
"Mouse00-usb-0000:00:1d.0-2/input0" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard00-isa0060/serio0/input0"
(type: KEYBOARD)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
    xkb_keycodes             { include "evdev+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+us" };
    xkb_geometry             { include "pc(pc104)" };
(II) Keyboard00-isa0060/serio0/input0: Init
(**) Mouse00-usb-0000:00:1d.0-2/input0: 3 valuators.
(**) ../../src/evdev_btn.c (90): Registering 5 buttons.
(II) Mouse00-usb-0000:00:1d.0-2/input0: Init
(II) evdev brain: Rescanning devices (3).
(II) Keyboard00-isa0060/serio0/input0: On
(II) Mouse00-usb-0000:00:1d.0-2/input0: On

Xorg.1.log 

(II) evdev brain: Rescanning devices (1).
(**) Option "CoreKeyboard"
(**) Keyboard01-usb-0000:00:1d.2-1/input0: Core Keyboard
(II) evdev brain: Rescanning devices (2).
(**) Option "CorePointer"
(**) Mouse01-usb-0000:00:1d.0-1/input0: Core Pointer
(II) Mouse01-usb-0000:00:1d.0-1/input0: Found 3 relative axes.
(II) Mouse01-usb-0000:00:1d.0-1/input0: Configuring as pointer.
(**) Mouse01-usb-0000:00:1d.0-1/input0: WHEELRelativeAxisButtons: 4 5.
(II) Mouse01-usb-0000:00:1d.0-1/input0: Found 3 mouse buttons
(II) Mouse01-usb-0000:00:1d.0-1/input0: Configured 5 mouse buttons
(II) XINPUT: Adding extended input device
"Mouse01-usb-0000:00:1d.0-1/input0" (type: MOUSE)
(II) XINPUT: Adding extended input device
"Keyboard01-usb-0000:00:1d.2-1/input0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
    xkb_keycodes             { include "evdev+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+us" };
    xkb_geometry             { include "pc(pc104)" };
(II) Keyboard01-usb-0000:00:1d.2-1/input0: Init
(**) Mouse01-usb-0000:00:1d.0-1/input0: 3 valuators.
(**) ../../src/evdev_btn.c (90): Registering 5 buttons.
(II) Mouse01-usb-0000:00:1d.0-1/input0: Init
(II) evdev brain: Rescanning devices (3).
(II) Keyboard01-usb-0000:00:1d.2-1/input0: On
(II) Mouse01-usb-0000:00:1d.0-1/input0: On

Xorg.2.log

(II) evdev brain: Rescanning devices (1).
(**) Option "CoreKeyboard"
(**) Keyboard02-usb-0000:00:1d.2-2/input0: Core Keyboard
(II) evdev brain: Rescanning devices (2).
(**) Option "CorePointer"
(**) Mouse02-usb-0000:00:1d.0-2/input0: Core Pointer
(II) Mouse02-usb-0000:00:1d.0-2/input0: Found 3 relative axes.
(II) Mouse02-usb-0000:00:1d.0-2/input0: Configuring as pointer.
(**) Mouse02-usb-0000:00:1d.0-2/input0: WHEELRelativeAxisButtons: 4 5.
(II) Mouse02-usb-0000:00:1d.0-2/input0: Found 3 mouse buttons
(II) Mouse02-usb-0000:00:1d.0-2/input0: Configured 5 mouse buttons
(II) XINPUT: Adding extended input device
"Mouse02-usb-0000:00:1d.0-2/input0" (type: MOUSE)
(II) XINPUT: Adding extended input device
"Keyboard02-usb-0000:00:1d.2-2/input0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "evdev brain" (type: evdev brain)
    xkb_keycodes             { include "evdev+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+us" };
    xkb_geometry             { include "pc(pc104)" };
(II) Keyboard02-usb-0000:00:1d.2-2/input0: Init
(**) Mouse02-usb-0000:00:1d.0-2/input0: 3 valuators.
(**) ../../src/evdev_btn.c (90): Registering 5 buttons.
(II) Mouse02-usb-0000:00:1d.0-2/input0: Init
(II) evdev brain: Rescanning devices (3).
(II) Keyboard02-usb-0000:00:1d.2-2/input0: On
(II) Mouse02-usb-0000:00:1d.0-2/input0: On


Any Ideas?


Yan Seiner wrote:
> 
> cooperxf napsal(a):
>> This is a simular setup to how i have had my system configured, but with
>> this
>> config, still only the last X-server to start has a working mouse/pointer
>> device. if i can`t get get the setup to work with 3 versions of ubuntu
>> i`ll
>> try a different distro. 
>>   
> Are you using a single xorg.conf file or multiple files, one for each
> head?
> 
> Also, how are you starting X?
> 
> --Yan
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 
> 

-- 
View this message in context: http://www.nabble.com/Multiseat-X-server-Mouse-Problem-tf3242720.html#a9017281
Sent from the Free Desktop - xorg mailing list archive at Nabble.com.




More information about the xorg mailing list