Please send your configure line you used to build directfb.  Was it compiled 
with tslib support?

Craig

On Friday 11 January 2008 11:36:36 am som j wrote:
> Thanks for that info.jsut wanted to share my log of the df_window
>
> [EMAIL PROTECTED]:/# dfbinfo
>
>
>
>      =======================|  DirectFB 1.1.1  |=======================
>
>           (c) 2001-2007  The DirectFB Organization (directfb.org)
>
>           (c) 2000-2004  Convergence (integrated media) GmbH
>
>         ------------------------------------------------------------
>
>
>
> (*) DirectFB/Core: Multi Application Core. (2008-01-09 03:18)
>
> (*) Fusion/SHM: NOT using MADV_REMOVE (2.6.19.0 < 2.6.19.2)! [0x02061300]
>
> (*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 325)...
>
> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 330)...
>
> Couldnt load module pthres
>
> Couldnt load module pthres
>
> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 331)...
>
> (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
>
> (!) Direct/Modules: Could not open module directory
> `/usr/lib/directfb-1.1-0 /gfx
>
> drivers'!
>
>     --> No such file or directory
>
> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
>
> (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
>
>  (*) FBDev/Surface: Allocated 800x480 32bit RGB32 buffer at offset 0 and
> pitch 32
>
> 00.
>
> (*) FBDev/Mode: (Post)Setting 800x480 RGB32
>
> (*) FBDev/Mode: Switched to 800x480 (800x480) at 32 bit RGB32 (wanted
> RGB32).
>
> (*) FBDev/Mode: Testing 800x480 RGB32
>
> (*) FBDev/Mode: Preparing switch to 800x480 RGB32
>
> (*) FBDev/Mode: (Post)Setting 800x480 RGB32
>
>
>
>
>
> Screen (00) FBDev Primary Screen            (primary screen)
>
>    Caps: VSYNC POWER_MANAGEMENT
>
>
>
>      Layer (00) FBDev Primary Layer             (primary layer)
>
>         Type:    GRAPHICS
>
>         Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION
>
>
>
>
>
> Input (00) Keyboard                        (primary keyboard)
>
>    Type: KEYBOARD
>
>    Caps: KEYS
>
>
>
>  (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
> [../../../lib/fusion/object.c:241 in fusion_object_pool_destroy()]
>
> (!) Fusion/Call: invalid call
>
> (!) DirectFB/FBDev: Could not restore variable screen information! Invalid
> argument
>
>
>
>
>
> ###########################################################################
>############
>
>
>
>    1. Firstly the application takes a long time to execute. Am I missing
>    some options in the directfbrc file?
>    2. Secondly I see some messages like "Couldn't load module pthres"  ..
>    How can I overcome this error?
>    3. Warnings from fusion modules??
>    4. DirectFB not able to restore the Screen Info??
>    5. Any issue with the. /configure options ??
>    6. There is no Touch input registered with the DirectFB. ??
>
> Regards
> Som
>
> On Jan 11, 2008 10:21 AM, Craig Matsuura <[EMAIL PROTECTED]> wrote:
> > 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

Reply via email to