<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12147</bug_id>
          
          <creation_ts>2017-09-30 21:11:58 +0000</creation_ts>
          <short_desc>Packages tslib-conf, tslib-tests and tslib-calibrate do not get installed in root filesystem.</short_desc>
          <delta_ts>2017-10-01 22:11:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>2.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Clay Montgomery">clay</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77248</commentid>
    <comment_count>0</comment_count>
    <who name="Clay Montgomery">clay</who>
    <bug_when>2017-09-30 21:11:58 +0000</bug_when>
    <thetext>I am building and testing Pyro for the Freescale i.MX6 Wandboard, but I suspect this issue affects all platforms using the tslib touch-screen library.

The problem is that these utils are not getting installed into the root filesystem:

ts_calibrate
ts_finddev
ts_harvest
ts_print
ts_print_mt
ts_print_raw
ts_test
ts_test_mt
ts_uinput

This is a new issue with Pyro. I know it was working correctly in Fido and Krogoth, but I have not tried Morty. With Pyro, these utils are nowhere in the root file system and the touch-screen will not function at all without running ts_calibrate at least once to create the required touch-screen calibration file (pointercal).

I have compared the old and new recipes for tslib, but I do not see the cause of the problem. The relevant lines in tslib_1.1.bb have not changed:

DEBIAN_NOAUTONAME_tslib-conf = &quot;1&quot;
DEBIAN_NOAUTONAME_tslib-tests = &quot;1&quot;
DEBIAN_NOAUTONAME_tslib-calibrate = &quot;1&quot;

RDEPENDS_${PN} = &quot;tslib-conf&quot;
RRECOMMENDS_${PN} = &quot;pointercal&quot;

FILES_${PN}-dev += &quot;${libdir}/ts/*.la&quot;
FILES_tslib-conf = &quot;${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib&quot;
FILES_${PN} = &quot;${libdir}/*.so.* ${libdir}/ts/*.so*&quot;
FILES_tslib-calibrate += &quot;${bindir}/ts_calibrate&quot;
FILES_tslib-tests = &quot;${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test&quot;

So, I&apos;m not sure if the problem is here or elsewhere.

Regards, Clay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77250</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-09-30 22:36:36 +0000</bug_when>
    <thetext>That would be because in Pyro the X touchscreen calibration support was moved to use Xinput (+xinput-calibrate) instead of tslib.

If your BSP still needs tslib, then it should be including it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77251</commentid>
    <comment_count>2</comment_count>
    <who name="Clay Montgomery">clay</who>
    <bug_when>2017-09-30 23:14:21 +0000</bug_when>
    <thetext>   Our BSP does need tslib and it does include it. The libs are built and installed. However, we do not include X11. Freescale (NXP) supports 4 distros, 2 with X11 and 2 without. I have copied the relevant lines from their documentation below from:
http://freescale.github.io/doc/release-notes/current/

The following distros are supported by FSL Community BSP:

    fslc-framebuffer: Distro for Framebuffer graphical backend. This distro doesn’t include x11 and wayland features.
    fslc-wayland: Distro for Wayland without X11. This distro include wayland feature but doesn’t has x11 support.
    fslc-x11: Distro for X11 without wayland. This distro include x11 feature and doesn’ has wayland support.
    fslc-xwayland: Distro for Wayland with X11. This distro include both wayland and x11 features.

We are using fslc-framebuffer on Pyro. We used to do this on Krogoth with:
DISTRO_FEATURES_remove = &quot;x11 wayland&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77255</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-10-01 20:01:12 +0000</bug_when>
    <thetext>This is not the main support channel for Freescale BSPs, I recommend talking to freescale directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77257</commentid>
    <comment_count>4</comment_count>
    <who name="Clay Montgomery">clay</who>
    <bug_when>2017-10-01 21:02:04 +0000</bug_when>
    <thetext>Freescale did not write the recipes for tslib. Do you think this should be fixed in their BSP distro layers? Just need to be clear about that before I take it to them.

I suspect touch-screen (tslib) support is probably not functional on any and all BSPs that do not include X11.

I can work around this issue easy enough. I just wanted to give back to the project since I do a lot of testing of Yocto on Freescale.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77258</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-10-01 22:11:54 +0000</bug_when>
    <thetext>Yes, the tslib recipes still exist but are not installed in the default images because the default images migrated to xinput+xcalibrate.  If the Freescale BSP needs tslib still, then it should be pulling the recipes in.

If Freescale doesn&apos;t always need tslib and its a feature of your peripherals that they only have tslib drivers and not kernel input drivers, then it is your responsibility to ensure your images have the drivers.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>