To elaborate, upon running my application I receive the following output:

     =======================|  DirectFB 1.1.0  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-05-16 20:41)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 13377)...
(*) Direct/Thread: Running 'Linux Input' (INPUT, 13382)...
(*) DirectFB/Input: tsc2003 0.1 (directfb.org)
(!) Direct/Modules: Could not open module directory
`/usr/lib/directfb-1.1-0/gfxdrivers'!
    --> No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Switched to 480x272 (480x272) at 16 bit RGB16 (wanted
RGB16).
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
    --> Invalid argument
(*) FBDev/Surface: Allocated 480x272 16bit RGB16 buffer at offset 0 and
pitch 960.
(*) FBDev/Mode: (Post)Setting 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: (Post)Setting 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Testing 480x272 RGB16
(*) FBDev/Mode: Preparing switch to 480x272 RGB16
(*) FBDev/Mode: Switched to 480x272 (480x272) at 16 bit RGB16 (wanted
RGB16).
(!) DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
    --> Invalid argument
(*) FBDev/Surface: Allocated 480x272 16bit RGB16 buffer at offset 0 and
pitch 960.
(*) FBDev/Mode: (Post)Setting 480x272 RGB16
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.

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.


cdaviduik wrote:
> 
> Hello,
> I am using a bitbake to compile modules onto some gumstix running DirectFB
> and attached to a Samsung 4.3" touchscreen LCD. Currently when starting a
> program on the gumstix I receive (among other messages):
> 
> (*) Direct/Thread: Running 'Linux Input' (INPUT, 2263)...
> (*) DirectFB/Input: tsc2003 0.1 (directfb.org)
> 
> Instead of Linux Input I would prefer instead to use tslib. Right now the
> touchscreen's user input is not calibrated and I am receiving a steady
> stream of axis events but would like to have 'mouse' click events instead.
> From my understanding, using tslib would likely solve this problem.
> 
> I have configured DirectFB using --inputdrivers=tslib and when I view
> /usr/lib/directfb-1.1-0/inputdrivers/ there exists shared libraries for
> both linux_input and tslib. I have also set various TSLIB environment
> variables based on previous posts to:
> 
> TSLIB_TSDEVICE=/dev/input/touchscreen0
> TSLIB_CONFFILE=/etc/ts.conf
> TSLIB_PLUGINDIR=/usr/lib/ts
> TSLIB_CALIBFILE=/etc/pointercal
> 
> At this point I am supposing I need to somehow specify to DirectFB to use
> tslib instead of Linux Input for the touchscreen input driver however I am
> not sure how to go about doing this. In the ts.conf file I have tried
> having the "module input grab_events=0" as well as "module tslib" (i am
> not sure if that exists) but it does not appear to effect the behavior of
> the program I run.
> 
> Thanks
> 

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


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

Reply via email to