Segmentation Fault running Qt and Tslib

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Segmentation Fault running Qt and Tslib

2,463件の閲覧回数
GiovanniFoiani
Contributor I

Hi,

I successfully build Qt embedded on my iMX 53 QSB with qt-mouse-tslib support and installed tslib.

Using Tslib from debian repository (version libts0.0-0) I can run Qt demo applications but I can't calibrate my MCIMX LVDS capacitive touchscreen and the pointer doesn't work inside the applications.

After the installation of libts1.0 from https://github.com/kergoth/tslib I can successfully calibrate the touchscreen but when I run any demo application I get a "Segmentation Fault" error.

Any idea about the reason?

Thanks

Giovanni

タグ(2)
0 件の賞賛
返信
4 返答(返信)

1,107件の閲覧回数
sumeetdube
Contributor III

Can i use tslib for non x11 systems. I am running qt-embedded built from ltib.I want to enable touch support for my application. Can i use tslib fo this purpose?There is no x11 server running on my system

0 件の賞賛
返信

1,107件の閲覧回数
winstonrodrigue
Contributor IV

Hey Giovani,

      You need to disable Multi touch support in IMX53 BSP.

   open ltib/rpm/BUILD/linux/drivers/input/touchscreen/egalax_ts.c file

and add the following line : #define FORCE_SINGLE_POINTER_SUPPORT

then recompile the kernel and make the SD card.... root it..

then go to /usr/bin

run ./ts_calibrate

follow the onscreen instructions.... done.

Regards,

     Winston.

0 件の賞賛
返信

1,107件の閲覧回数
GiovanniFoiani
Contributor I

Any Idea?

0 件の賞賛
返信

1,107件の閲覧回数
GiovanniFoiani
Contributor I

This is my .bashrc  configuration:

export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/local/lib/ts
export LD_LIBRARY_PATH=/usr/local/Qt/lib:/usr/local/lib
export QTDIR=/usr/local/Qt
export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190

0 件の賞賛
返信