[KLUG Members] Dual-Head KDE, Mouse and Touchscreen

John Pesce members@kalamazoolinux.org
Wed, 13 Feb 2002 15:23:37 -0500 (EST)


Hello,

I have two video cards
(screen0 = 3dfx) (screen1 = Matrox)

I have three input devices
(Mouse0 = a mouse) (kyboard0 = keyboard)
(touch0 = touch screen on screen1)

I have Mouse0 as the CorePointer and Touch0 as SendCoreEvents

If I startx then KDE comes up on both screens with four desktops each.
The mouse pointer shows up on Screen0 but not on Screen1.
The Mouse0 and Touch0 both control the pointer on Screen0.

1) I don't know how to get over to Screen1 to do something.

2) What I really need is the Mouse0 to work with Screen0
   and Touch0 to work with Screen1, because I need to have a
   program running full screen on each monitor.

Please help. I have included my XF86Config-4 file below.
This is my first post, so I don't know where to expect a response.
Does some email back a response?

Thanks,
John


------------------------

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice     "Touch0" "SendCoreEvents"
        InputDevice     "TouchCalibrate0"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "unix/:7100"
#	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
#	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "GLcore"
	Load  "dri"
	Load  "extmod"
	Load  "v41"
	Load  "glx"
#	Load  "pex5"
#	Load  "record"
#	Load  "xie"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "auto"
	Option      "Device" "/dev/mouse"
EndSection

Section "InputDevice"
        Identifier  "Touch0"
        Driver      "mmmtouch"
        Option "DeviceName" "SC3"
        Option "Device"     "/dev/ttyS1"
        Option "CalibrationFile" "/etc/touch.dat"
        Option "ButtonNumber" "1"
        Option "ScreenNumber" "0"
        Option "BaudRate"     "2400"
        Option "StopBits"   "1"
        Option "DataBits"   "8"
        Option "Parity"     "None"
        Option "FlowControl"   "None"
EndSection

Section "InputDevice"
        Identifier "TouchCalibrate0"
        Driver "mmmcalibrate"
        Option "Devive"  "/tmp/touch.cal"
        Option "TouchIdent" "Touch0"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 31.5 - 48.5
        VertRefresh 50-70
        Option "dpms"
EndSection

Section "Monitor"
        Identifier "Monitor1"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 31.5 - 48.5
        VertRefresh 50-70
        Option "dpms"
EndSection

Section "Device"
	### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "UsePIO"             	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "NoSLI"              	# [<bool>]
        #Option     "TexturedVideo"      	# [<bool>]
        #Option     "DRI"                	# [<bool>]
	Identifier  "Card0"
	Driver      "tdfx"
	VendorName  "3dfx Interactive"
	BoardName   "Voodoo3"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "PciRetry"           	# [<bool>]
        #Option     "SyncOnGreen"        	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "Overlay"            	# [<str>]
        #Option     "MGASDRAM"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "SetMclk"            	# <freq>
        #Option     "OverclockMem"       	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "Rotate"             	# [<str>]
        #Option     "TexturedVideo"      	# [<bool>]
        #Option     "Crtc2Half"          	# [<bool>]
        #Option     "Crtc2Ram"           	# <i>
        #Option     "Int10"              	# [<bool>]
        #Option     "AGPMode"            	# <i>
        #Option     "DigitalScreen"      	# [<bool>]
        #Option     "TV"                 	# [<bool>]
        #Option     "TVStandard"         	# [<str>]
        #Option     "CableType"          	# [<str>]
        #Option     "NoHal"              	# [<bool>]
        #Option     "SwappedHead"        	# [<bool>]
        #Option     "DRI"                	# [<bool>]
	Identifier  "Card1"
	Driver      "mga"
	VendorName  "Matrox"
	BoardName   "MGA 2164W"
	BusID       "PCI:0:10:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
        DefaultDepth 16
        Subsection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
        Subsection "Display"
                Depth 16
                Modes "1024x768"
        EndSubSection
        Subsection "Display"
                Depth 8
                Modes "1024x768"
        EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
        DefaultDepth 16
        Subsection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
        Subsection "Display"
                Depth 16
                Modes "1024x768"
        EndSubSection
        Subsection "Display"
                Depth 8
                Modes "1024x768"
        EndSubSection
EndSection