Nagesh A

Xfbdev with mouse and tslib is not working simultaneously

Discussion created by Nagesh A on Nov 28, 2011
Latest reply on Apr 17, 2012 by Maciej Suminski

Hi,

I am working on the board i.mx53 SMD tablet, booted with 11.05 build
images.

Touch pad with Xfbdev is working fine with the below Xfbdev command.

Xfbdev -screen 1024x768 -mouse tslib,,device=/dev/input/ts0  &

When I use with -mouse option (as given below) to work mouse simultaneously with the touch screen,
touch screen is not working properly. Means,
for the contact on touchpad - the cursor points to wrong coordinates.
and for the release of contact - the cursor came to right coordinate (where the contact happened).

Xfbdev -mouse tslib,,device=/dev/input/ts0 -mouse mouse,2,device=/dev/input/mice&

When I use the mouse, its changing to mouse protocol, as shown in below message.

Switching to mouse protocol "imps/2"
Switching to mouse protocol "exps/2"
Switching to mouse protocol "bus"
Switching to mouse protocol "ps/2"


After this, once I do ts_calibrate again, the touch is working fine.

Is it possible to use touch and mouse simultaneously with Xfbdev server ?

Please suggest me in a way forward.

 

-Nagesh A

Outcomes