Did you compile directfb for tslib support?
If you get an error like the following:
=======================| DirectFB 1.1.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-01-08 15:22)
(!) [11981: 0.000] --> Caught signal 11 (at 0xb530e7dc, invalid address)
<--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
*** glibc detected *** free(): invalid pointer: 0x080589a0 ***
(!) [11981: 0.001] --> Caught signal 6 (sent by pid 11981, uid 0) <--
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 10056)...
(!) Direct/Modules: Unable to dlopen
`/mnt/internal/opt/lib/directfb-1.1-0/inputdrivers/libdirectfb_tslib.so'!
--> /mnt/internal/opt/lib/directfb-1.1-0/inputdrivers/libdirectfb_tslib.so:
undefined symbol: ts_close
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10057)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10058)...
(*) DirectFB/Input: Power Button (FF) (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10059)...
You can use LD_PRELOAD to make sure the libts library is loaded.
You should see something like this:
/mnt/internal/opt/bin# ./df_window
=======================| DirectFB 1.1.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-01-08 15:22)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 10592)...
(*) Direct/Thread: Running 'tslib Input' (INPUT, 10593)...
(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10594)...
(*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10595)...
(*) DirectFB/Input: Power Button (FF) (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10596)...
(*) DirectFB/Input: Power Button (CM) (3) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 10597)...
(*) DirectFB/Input: Sleep Button (CM) (4) 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
Craig
On Friday 11 January 2008 10:55:24 am som j wrote:
> Thanks for the help
>
> i have these set but the issue is touch doent seem to work with the
> DirectFB application.
>
> This is my env settings
>
> export TSLIB_TSDEVICE=/dev/input/event1
> export TSLIB_CONFFILE=/etc/ts.conf
> export TSLIB_PLUGINDIR=/usr/lib/ts
> export TSLIB_CALIBFILE=/etc/pointercal
> export TSLIB_FBDEVICE=/dev/fb/0
> export TSLIB_CONSOLEDEVICE=/dev/tty
>
> I'm able see the TS_calibrate and TS_test working.But i try the df_window
> application which requires a input like a mouse or touch , nothin seems to
> go ahead.
>
> Any inputs on this...
>
> Som
>
> On Jan 9, 2008 6:13 PM, Craig Matsuura <[EMAIL PROTECTED]> wrote:
> > You need to setup the Environment variables for tslib. Also you need to
> > have
> > built directfb to support tslib.
> >
> >
> > export TSLIB_CALIBFILE='/etc/pointercal.tslib'
> > export TSLIB_CONFFILE='/etc/ts.conf'
> > export TSLIB_TSDEVICE='/dev/ttyS0'
> >
> > Your TSLIB_TSDEVICE will probably be different from my example.
> >
> > also the /etc/ts.conf should have the correct module_raw uncommented.
> >
> > Craig
> >
> > On Wednesday 09 January 2008 4:16:15 pm som j wrote:
> > > Hello all,
> > >
> > > Currently i have the DirectFB 1.1.1 and tslib 1.0.0 working fine
> > > seperatly.But when i am trying to get the touch support enabled for the
> > > DirectFB Application (df_winodw), i seem to have no clue as how to
> >
> > enable
> >
> > > the support in the directfbrc file.
> > >
> > > Any inputs on the same will be really appreciated.
> > >
> > > Thanks in advance
> > >
> > > Regards
> > > Som
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users