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

login
register
mail settings
Submitter Alexandre Belloni
Date Sept. 11, 2013, 8:48 a.m.
Message ID <1378889301-31671-1-git-send-email-alexandre.belloni@free-electrons.com>
Download mbox | patch
Permalink /patch/57809/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Alexandre Belloni - Sept. 11, 2013, 8:48 a.m.
Signed-off-by: Alexandre Belloni <alexandre.belloni@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

Patch

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}:"