Two touchscreens problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I am running two touchscreen with elographics driver under vanilla 
Fedora Core 1 Linux with Matrox G450 card. Both touchscreens are running 
fine with one exception. When I am touching on the first touchscreen, 
everything is fine, but then when I touch in the second, the cursor ends 
up on the left edge of the first touchscreen. When I move it with mouse 
to the second touchscreen, everything works fine and I can even touch 
back in the first touch screen. But the again, I cannot switch to the 
second touchscreen by touching, only by moving mouse to that touchscreen.

Any idea how to solve the problem?

Miro

Here is my XG86Config file

Section "ServerLayout"
	Identifier     "Matrox PowerDesk configured."
	Screen      0  "Display 1" LeftOf "Display 2"
	Screen         "Display 2" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "DevInputMice" "AlwaysCore"
	InputDevice    "touchscreen0" "SendCoreEvents"
	InputDevice    "touchscreen1" "SendCoreEvents"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
EndSection

Section "ServerFlags"
	Option "Xinerama"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option      "XkbRules" "xfree86"
	Option      "XkbModel" "pc105"
	Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "IMPS/2"
	Option      "Device" "/dev/psaux"
	Option      "ZAxisMapping" "4 5"
	Option      "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option      "Protocol" "IMPS/2"
	Option      "Device" "/dev/input/mice"
	Option      "ZAxisMapping" "4 5"
	Option      "Emulate3Buttons" "no"
EndSection


Section "InputDevice"
	Identifier  "touchscreen0"
	Driver      "elographics"
	Option      "Device" "/dev/ttyS1"
	Option      "AlwaysCore"
	Option      "screenno" "0"
	Option      "MinX" "350"
	Option      "MaxX" "3700"
	Option      "MinY" "600"
	Option      "MaxY" "3600"
	Option      "UntouchDelay" "3"
	Option      "ReportDelay" "1"
EndSection

Section "InputDevice"
	Identifier  "touchscreen1"
	Driver      "elographics"
	Option      "Device" "/dev/ttyS4"
	Option      "AlwaysCore"
	Option      "screenno" "1"
	Option      "MinX" "350"
	Option      "MaxX" "3700"
	Option      "MinY" "600"
	Option      "MaxY" "3600"
	Option      "UntouchDelay" "3"
	Option      "ReportDelay" "1"
EndSection

Section "Monitor"
	Identifier   "Display 1"
	VendorName   "Monitor Vendor"
	ModelName    "710A"
	DisplaySize  300	230
	HorizSync    30.0 - 81.0
	VertRefresh  40.0 - 76.0
	Option       "dpms"
EndSection

Section "Monitor"
	Identifier   "Display 2"
	VendorName   "Monitor Vendor"
	ModelName    "710A"
	DisplaySize  300	230
	HorizSync    30.0 - 81.0
	VertRefresh  40.0 - 76.0
EndSection

Section "Device"
	Identifier  "MATROX CARD 1"
	Driver      "mga"
	VendorName  "Videocard vendor"
	BoardName   "Matrox Millennium G450"
	BusID       "PCI:2:0:0"
EndSection

Section "Device"
	Identifier  "MATROX CARD 2"
	Driver      "mga"
	VendorName  "Videocard vendor"
	BoardName   "Matrox Millennium G450"
	BusID       "PCI:2:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "Display 1"
	Device     "MATROX CARD 1"
	Monitor    "Display 1"
	DefaultDepth     24
	SubSection "Display"
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Display 2"
	Device     "MATROX CARD 2"
	Monitor    "Display 2"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
		Modes    "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1024x768"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1024x768"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection





_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux