[meta-freescale] tslib not working with daisy

Marco koansoftware at gmail.com
Thu Jun 12 07:35:27 PDT 2014


Note: This thread was "[meta-freescale] tslib calibration issue"

Hi
I am building minimal-image for imx6dlsabresd.

Build Configuration:
BB_VERSION        = "1.22.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6dlsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6"
TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto
meta-yocto-bsp    = "daisy:62b1fef7875a6f9c55344fa6bcc7d4b6672eac1f"
meta-oe           = "daisy:dca466c074c9a35bc0133e7e0d65cca0731e2acf"
meta-fsl-arm      = "daisy:f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b"
meta-fsl-demos    = "daisy:27fdb2f2642ecd55d5633bde880dd4c37acd0d42"

When I used branch dora the tslib and ts_calibrate worked.
Now using daisy ts_calibrate doesn't work, ts_print doesn't work, only
ts_print_raw is working.
It has set by default TSLIB_TSDEVICE=/dev/input/touchscreen0

I added some debug information into tslib and discovered that the 
pressure signal is missing so probably the problem is the kernel 
settings (maybe a misconfiguration in DT).

root at imx6dlsabresd:~# ts_print_raw
1402072658.126525:  20368  15584      0
1402072658.137927:  20368  15584      0
1402072658.149310:  20368  15584      0


root at imx6dlsabresd:~# ts_print
LINEAR ts_input_read
RAW ts_input_read
RAW---------------------> 21360 22528 0 1402072702.766665
LINEAR ts_input_read
RAW ts_input_read
RAW---------------------> 21360 22528 0 1402072702.778067
LINEAR ts_input_read
RAW ts_input_read
RAW---------------------> 21360 22528 0 1402072702.789462


What have you changed in daisy or linux-3.10.17 that broke the touchscreen?
Anybody tested the new image with a imx6dlsabresd?
What do you think?

TIA
-- 
Marco Cavallini | KOAN sas | Bergamo - Italia
  embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
       http://www.KoanSoftware.com


More information about the meta-freescale mailing list