I have exported all of the TSLIB variables. Also, touchscreen0 specified in
TSLIB_TSDEVICE links to event0.

I am using bitbake with the following recipe:
______________________________
require gumstix-minimal-image.bb

IMAGE_INSTALL += " \
    cron \
    ntp \
    ntpdate \
    boa \
    motd \
    www-content \
    mtd-utils \
    mgetty \ 
    picocom \
    ppp \
    logrotate \
    openssh \
    openssh-sftp-server \
    bash \
    inetutils \
    net-tools \
    net-snmp-server \
    net-snmp-mibs \
    net-snmp-libs \
    sqlite3 \
    libsqlite-dev \
    openssl \
    portmap \
    procps \
    grep \
    directfb \
    directfb-examples \
    resched \"
______________________________

and within my directfb_1.1.0.bb recipe file:
______________________________
DESCRIPTION = "DirectFB is a thin library that provides developers \
with hardware graphics acceleration, input device handling and \
abstraction, an integrated windowing system with support for \
translucent windows and multiple display layers on top of the \
Linux framebuffer device."
SECTION = "libs"
LICENSE = "LGPL"
HOMEPAGE = "http://directfb.org";
DEPENDS = "jpeg libpng freetype zlib tslib"
PR = "r2"
RV = "1.1-0"

SRC_URI = " \
    http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
    file://fix-pkgconfig-cflags.patch;patch=1 \
    file://fix-font-missing-char.patch;patch=1 \
    file://getpagesize.patch;patch=1 \
    file://fix-includes.patch;patch=1 \
          file://mkdfiff.patch;patch=1 \
   "

S = "${WORKDIR}/DirectFB-${PV}"

LDFLAGS_append =" -lts -lm"

inherit autotools pkgconfig

EXTRA_OECONF = " \
    --with-gfxdrivers=none \
    --with-inputdrivers=tslib \
                --enable-libmpeg3=no \
                --enable-freetype=yes \
                --enable-sdl=no \
    --enable-vnc=no \
                --disable-x11 \
    TSLIB_CFLAGS=\"-I${INSTALL_PATH}/include\" \
    TSLIB_LIBS=\"${INSTALL_PATH}/lib\" \
                "

do_stage() {
        autotools_stage_all
}

do_install() {
        oe_runmake 'DESTDIR=${D}' install
}

PACKAGES_DYNAMIC = "directfb-inputdrivers-*"

#python populate_packages_prepend () {
#       import os.path
#       inputdrivers_libdir    =
bb.data.expand('${libdir}/directfb-${RV}/inputdrivers', d)
#        do_split_packages(d, inputdrivers_libdir, '*.so$',
'directfb-inputdrivers-%s', 'Directfb plugin for %s')
#}
FILES_directfb-dbg_append = " ${libdir}/directfb-${RV}/*/*/.debug/*.so \
                              ${libdir}/directfb-${RV}/*/.debug/*.so \
                          "

FILES_directfb-dev_append = " ${libdir}/directfb-${RV}/systems/*.la \
                              ${libdir}/directfb-${RV}/inputdrivers/*.la \
                              ${libdir}/directfb-${RV}/interfaces/*/*.la \
                              ${libdir}/directfb-${RV}/wm/*.la \
                        "


FILES_directfb_append = " ${libdir}/directfb-${RV}/systems/*.so \
        #                  ${libdir}/directfb-${RV}/inputdrivers/*.so \
        #                  ${libdir}/directfb-${RV}/interfaces/*/*.so \
                          ${libdir}/directfb-${RV}/wm/*.so \
                          ${datadir}/directfb-1.1.0 \
                          "
______________________________

Thanks


Denis Oliver Kropp wrote:
> 
> cdaviduik wrote:
>> It is clear that tslib is not being used despite having configured
>> directfb
>> with tslib input drivers. I am unable to figure out how to resolve this
>> problem as well as how to procede.
>> 
>> Any help would be very much appreciated.
> 
> Did you export TSLIB_TSDEVICE?
> 
> -- 
> Best regards,
>    Denis Oliver Kropp
> 
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/                 |
> "------------------------------------------"
> 
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Specifying-tslib-for-DirectFB-touchscreen-input-driver-tp17327192p17603969.html
Sent from the DirectFB Users mailing list archive at Nabble.com.


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to