Initial code release
authorZhang Qiang <qiang.z.zhang@intel.com>
Fri, 18 May 2012 11:55:30 +0000 (19:55 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Sat, 19 May 2012 05:22:06 +0000 (13:22 +0800)
60-cando-mtev.conf [new file with mode: 0644]
60-mxt224-mtev.conf [new file with mode: 0644]
70-sitronix-mtev.conf [new file with mode: 0644]
80-Hanvon-mtev.conf [new file with mode: 0644]
90-ILI-mtev.conf [new file with mode: 0644]
92-exopc-mtev.conf [new file with mode: 0644]
packaging/device-config-touch.spec [new file with mode: 0644]

diff --git a/60-cando-mtev.conf b/60-cando-mtev.conf
new file mode 100644 (file)
index 0000000..becbdbd
--- /dev/null
@@ -0,0 +1,7 @@
+Section "InputClass"
+        Identifier              "Cando Multi Touch Panel"
+        MatchVendor            "Cando"
+        MatchDevicePath        "/dev/input/event*"
+        Driver                  "mtev"
+        Option                  "Ignore"                "off"
+EndSection
diff --git a/60-mxt224-mtev.conf b/60-mxt224-mtev.conf
new file mode 100644 (file)
index 0000000..2948e54
--- /dev/null
@@ -0,0 +1,7 @@
+Section "InputClass"
+        Identifier              "Atmel maXTouch mXT224"
+        MatchProduct           "mxt224_touchscreen"
+        MatchDevicePath        "/dev/input/event*"
+        Driver                  "mtev"
+        Option                  "Ignore"                "off"
+EndSection
diff --git a/70-sitronix-mtev.conf b/70-sitronix-mtev.conf
new file mode 100644 (file)
index 0000000..147af80
--- /dev/null
@@ -0,0 +1,7 @@
+Section "InputClass"
+        Identifier              "Sitronix Technology Corp"
+        MatchVendor            "Sitronix"
+        MatchDevicePath        "/dev/input/event*"
+        Driver                  "mtev"
+        Option                  "Ignore"                "off"
+EndSection
diff --git a/80-Hanvon-mtev.conf b/80-Hanvon-mtev.conf
new file mode 100644 (file)
index 0000000..a08a287
--- /dev/null
@@ -0,0 +1,7 @@
+Section "InputClass"
+        Identifier              "Hanvon touchscreen"
+       MatchIsTouchscreen      "on"
+        MatchProduct           "Hanvon"
+        MatchDevicePath        "/dev/input/event*"
+        Driver                  "mtev"
+EndSection
diff --git a/90-ILI-mtev.conf b/90-ILI-mtev.conf
new file mode 100644 (file)
index 0000000..fe5e85a
--- /dev/null
@@ -0,0 +1,8 @@
+Section "InputClass"
+        Identifier              "ILITEK Multi Touch Panel"
+        MatchVendor             "ILITEK"
+        MatchDevicePath         "/dev/input/event*"
+        Driver                  "mtev"
+        Option                  "Ignore"                "off"
+EndSection
+
diff --git a/92-exopc-mtev.conf b/92-exopc-mtev.conf
new file mode 100644 (file)
index 0000000..2a302b6
--- /dev/null
@@ -0,0 +1,8 @@
+Section "InputClass"
+        Identifier              "eGalax Touchscreen"
+        MatchVendor            "eGalax"
+        MatchDevicePath        "/dev/input/event*"
+        Driver                  "mtev"
+        Option                 "SwapAxes"              "True"
+       Option                  "InvertX"       "True"
+EndSection
diff --git a/packaging/device-config-touch.spec b/packaging/device-config-touch.spec
new file mode 100644 (file)
index 0000000..4628479
--- /dev/null
@@ -0,0 +1,60 @@
+Name:           device-config-touch
+Version:        1
+Release:        1
+Summary:        Device specific configurations for Touch
+Group:          System/Hardware
+License:        GPLv2+
+Source0:       %{name}-%{version}.tar.bz2
+# >> gbp-patch-tags         # auto-added by gbp
+# << gbp-patch-tags         # auto-added by gbp
+BuildArch: noarch
+
+%description
+Device specific configurations for Touch.
+
+%define touch_package(n:) \
+%package %1\
+Summary:       Touch configuration files for %1\
+Group:         System/Hardware\
+%description %1\
+Touch configuration files for %1.\
+%{nil}
+
+
+%prep
+%setup -q
+# >> gbp-apply-patches    # auto-added by gbp
+# << gbp-apply-patches    # auto-added by gbp
+%build
+
+%install
+
+mkdir -p %{buildroot}/opt/etc/X11/xorg.conf.d
+for f in `ls -1`; do
+       install -m 0644 $f %{buildroot}/opt/etc/X11/xorg.conf.d/
+done
+
+%touch_package cando
+%files cando
+/opt/etc/X11/xorg.conf.d/60-cando-mtev.conf
+
+%touch_package mxt224
+%files mxt224
+/opt/etc/X11/xorg.conf.d/60-mxt224-mtev.conf
+
+%touch_package sitronix
+%files sitronix
+/opt/etc/X11/xorg.conf.d/70-sitronix-mtev.conf
+
+%touch_package Hanvon
+%files Hanvon
+/opt/etc/X11/xorg.conf.d/80-Hanvon-mtev.conf
+
+%touch_package ILI
+%files ILI
+/opt/etc/X11/xorg.conf.d/90-ILI-mtev.conf
+
+%touch_package eGalax
+%files eGalax
+/opt/etc/X11/xorg.conf.d/92-exopc-mtev.conf
+