Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-10-2012, 05:35 PM   #1
LQ Newbie
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy ts_lib in mini2440 Cannot find Pkg Libraries

I am installing tslib onto my mini2440 and havining issues.

The build on my development unit is working perfectly. I am getting no errors. I am able to setup all my needed files onto my mini2440 by using a thumbdrive and copying the files to the needed locations.

my tslib files are located under /usr/local/tslib and I have subndirectories bin lib etc and include

my pkgs library is located under my lib directory and named ts.

my profile file under /etc/ is as follows:

# Ash profile
# vim: syntax=sh

# No core files by default
#ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
PS1='[\u@\h \W]# '


export TSLIB_ROOT=/usr/local/tslib
export LD_LIBRARY_PATH=/usr/local/Qt/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/tslib/lib:$LD_LIBRARY_PATH
export QTDIR=/usr/local/Qt
export QWS_MOUSE_PROTO=tslib:/dev/event0
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_PLUGINDIR=/usr/local/tslib/lib/ts
export TSLIB_TSDEVICE=/dev/event0
export QWS_DISPLAY=LinuxFB:mmWidth=105:mmHeight=140

my ts.conf file under /etc/ is as follows:

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie

# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
# module_raw corgi

# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
# module_raw ucb1x00

# Uncomment if you're using an HP iPaq h3600 or similar
# module_raw h3600

# Uncomment if you're using a Hitachi Webpad
# module_raw mk712

# Uncomment if you're using an IBM Arctic II
# module_raw arctic2

module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear


When I run ts_calibrate, i am getting the following error:

[root@(none) bin]# ts_calibrate
Couldnt load module input
No raw modules loaded.
ts_config: Success
[root@(none) bin]#

From debugging we know that ts_open is finding the ts stream and ts_config is startin but can't find the raw input routines ts_load_raw. I think that the package libraries are not being mapped correctly since ts_config could not load the routine.

I just need help on how to resolve this issue. Any ideas???
Old 05-24-2012, 05:15 AM   #2
LQ Newbie
Registered: May 2012
Posts: 5

Rep: Reputation: Disabled
Hello, you could come here to cross-compile Tslib


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with libraries pkg-config lite123 Red Hat 9 01-27-2009 02:23 PM
pkg-config usage to find libraries mtdew3q Linux - General 2 05-04-2008 02:11 PM
pkg-config won't find .pc files achemdion Linux From Scratch 6 09-30-2006 08:32 AM
pkg-config cannot find gtkglext siht Linux - Software 3 07-15-2005 08:17 PM
how can I find the file belong to what pkg? jiawj Slackware 9 03-07-2005 08:16 PM

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration