Hello,
I'm facing to a problem with DirectFB and tslib module linear which 
doesn't work.
I built tslib with --enable-debug to see if touchscreen works.
I calibrate my touchscreen with ts_calibrate and get the following settings:

# cat /etc/pointercal
-1265 5527 632612 -3622 1468 9748670 65536

Then if I launch a test application it works, I can see graphics on the 
screen and I see touch in debug console and icons moving on the target 
screen too.

# cat /etc/ts.conf
module_raw input
#module pthres pmin=1
#module variance delta=30
#module dejitter delta=100
#module linear


# df_input &
      =======================|  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-03-09 10:24)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 356)...
Loading module /usr/lib/ts/input.so
Loading module /usr/lib/ts/input.so
Loading module /usr/lib/ts/input.so
(*) Direct/Thread: Running 'tslib Input' (INPUT, 357)...
(*) DirectFB/Input: tslib touchscreen 0 (1) 0.1 (tslib)
Loading module /usr/lib/ts/input.so
(*) Direct/Thread: Running 'tslib Input' (INPUT, 358)...
(*) DirectFB/Input: tslib touchscreen 1 (2) 0.1 (tslib)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 359)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
...

When I enable coordinates linearization like this, touchscreen stop 
working and I see no messages from tslib debug in console.

# cat /etc/ts.conf
module_raw input
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear


# df_input &
      =======================|  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-03-09 10:24)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 369)...
Loading module /usr/lib/ts/input.so
Loading module /usr/lib/ts/pthres.so
Couldnt load module pthres
Loading module /usr/lib/ts/input.so
Loading module /usr/lib/ts/pthres.so
Couldnt load module pthres
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 370)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
...

I noticed some weird messages loading modules, I verified files 
permissions but I have no more ideas about what to do now

I also tried applying patch from syrjala without success
https://lists.berlios.de/pipermail/tslib-general/2007-February/000002.html

What is going wrong ?
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

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to