[meta-freescale] [meta-fsl-arm-extra][PATCH 1/2] xinput-calibrator: add calibration for cfa10057 and cfa10058

Alexandre Belloni alexandre.belloni at free-electrons.com
Wed Sep 11 01:48:20 PDT 2013


Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
 .../xinput-calibrator/pointercal-xinput/cfa10057/pointercal.xinput      | 2 ++
 .../xinput-calibrator/pointercal-xinput/cfa10058/pointercal.xinput      | 2 ++
 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend       | 2 ++
 3 files changed, 6 insertions(+)
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10057/pointercal.xinput
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10058/pointercal.xinput
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend

diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10057/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10057/pointercal.xinput
new file mode 100644
index 0000000..e222372
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10057/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "mxs-lradc" "Evdev Axis Calibration" 32 330 3925 173 4092
+xinput set-int-prop "mxs-lradc" "Evdev Axes Swap" 8 1
diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10058/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10058/pointercal.xinput
new file mode 100644
index 0000000..445863a
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/cfa10058/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "mxs-lradc" "Evdev Axis Calibration" 32 1373 1381 3391 3348
+xinput set-int-prop "mxs-lradc" "Evdev Axes Swap" 8 0
diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend b/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend
new file mode 100644
index 0000000..a9c60f3
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend
@@ -0,0 +1,2 @@
+# Append path for freescale layer to include bsp pointercal.xinput
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-- 
1.8.1.2




More information about the meta-freescale mailing list