← Back to team overview

multi-touch-dev team mailing list archive

Re: Ubuntu Multitouch Kernel Driver Development - Details and testing

 

Hi ice,

Hi have evtest output. It looks like this:

Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 330 (Touch)
  Event type 3 (Absolute)
    Event code 0 (X)
      Value   4024
      Min        0
      Max     6300
    Event code 1 (Y)
      Value   4933
      Min        0
      Max     6300
    Event code 47 (Slot)
      Value      0
      Min        0
      Max        5
    Event code 48 (Touch Major)
      Value      0
      Min        0
      Max      255
    Event code 53 (Position X)
      Value      0
      Min        0
      Max     6300
    Event code 54 (Position Y)
      Value      0
      Min        0
      Max     6300
    Event code 57 (Tracking ID)
      Value      0
      Min        0
      Max    65535
Testing ... (interrupt to exit)
Event: time 1320923093.311855, type 3 (Absolute), code 53 (Position X), value 2093 Event: time 1320923093.311856, type 3 (Absolute), code 54 (Position Y), value 2898
Event: time 1320923093.311863, type 3 (Absolute), code 0 (X), value 2093
Event: time 1320923093.311864, type 3 (Absolute), code 1 (Y), value 2898
Event: time 1320923093.311866, -------------- Report Sync ------------
Event: time 1320923093.337603, type 3 (Absolute), code 53 (Position X), value 2217 Event: time 1320923093.337604, type 3 (Absolute), code 54 (Position Y), value 2946
Event: time 1320923093.337608, type 3 (Absolute), code 0 (X), value 2217
Event: time 1320923093.337608, type 3 (Absolute), code 1 (Y), value 2946
Event: time 1320923093.337610, -------------- Report Sync ------------
Event: time 1320923093.339363, type 3 (Absolute), code 53 (Position X), value 2279 Event: time 1320923093.339364, type 3 (Absolute), code 54 (Position Y), value 2970
Event: time 1320923093.339369, type 3 (Absolute), code 0 (X), value 2279
Event: time 1320923093.339370, type 3 (Absolute), code 1 (Y), value 2970
Event: time 1320923093.339372, -------------- Report Sync ------------
Event: time 1320923093.341104, type 3 (Absolute), code 53 (Position X), value 2310 Event: time 1320923093.341105, type 3 (Absolute), code 54 (Position Y), value 2982
Event: time 1320923093.341109, type 3 (Absolute), code 0 (X), value 2310
Event: time 1320923093.341110, type 3 (Absolute), code 1 (Y), value 2982
Event: time 1320923093.341112, -------------- Report Sync ------------
Event: time 1320923093.342854, type 3 (Absolute), code 53 (Position X), value 2325 Event: time 1320923093.342855, type 3 (Absolute), code 54 (Position Y), value 2988
Event: time 1320923093.342859, type 3 (Absolute), code 0 (X), value 2325
Event: time 1320923093.342859, type 3 (Absolute), code 1 (Y), value 2988
Event: time 1320923093.342861, -------------- Report Sync ------------
Event: time 1320923093.344480, type 3 (Absolute), code 53 (Position X), value 2333 Event: time 1320923093.344480, type 3 (Absolute), code 54 (Position Y), value 2991
Event: time 1320923093.344485, type 3 (Absolute), code 0 (X), value 2333
Event: time 1320923093.344485, type 3 (Absolute), code 1 (Y), value 2991
Event: time 1320923093.344487, -------------- Report Sync ------------
Event: time 1320923093.346229, type 3 (Absolute), code 53 (Position X), value 2337 Event: time 1320923093.346230, type 3 (Absolute), code 54 (Position Y), value 2992
Event: time 1320923093.346234, type 3 (Absolute), code 0 (X), value 2337
Event: time 1320923093.346235, type 3 (Absolute), code 1 (Y), value 2992
Event: time 1320923093.346237, -------------- Report Sync ------------
Event: time 1320923093.347978, type 3 (Absolute), code 53 (Position X), value 2339 Event: time 1320923093.347979, type 3 (Absolute), code 54 (Position Y), value 2993
Event: time 1320923093.347984, type 3 (Absolute), code 0 (X), value 2339
Event: time 1320923093.347984, type 3 (Absolute), code 1 (Y), value 2993
Event: time 1320923093.347986, -------------- Report Sync ------------
Event: time 1320923093.349729, type 3 (Absolute), code 53 (Position X), value 2340
Event: time 1320923093.349733, type 3 (Absolute), code 0 (X), value 2340
Event: time 1320923093.349736, -------------- Report Sync ------------
Event: time 1320923093.365104, type 3 (Absolute), code 53 (Position X), value 2400 Event: time 1320923093.365104, type 3 (Absolute), code 54 (Position Y), value 3082
Event: time 1320923093.365108, type 3 (Absolute), code 0 (X), value 2400
Event: time 1320923093.365108, type 3 (Absolute), code 1 (Y), value 3082
Event: time 1320923093.365111, -------------- Report Sync ------------
Event: time 1320923093.366854, type 3 (Absolute), code 53 (Position X), value 2430 Event: time 1320923093.366855, type 3 (Absolute), code 54 (Position Y), value 3126
Event: time 1320923093.366859, type 3 (Absolute), code 0 (X), value 2430
Event: time 1320923093.366860, type 3 (Absolute), code 1 (Y), value 3126
Event: time 1320923093.366862, -------------- Report Sync ------------
Event: time 1320923093.368605, type 3 (Absolute), code 53 (Position X), value 2445 Event: time 1320923093.368606, type 3 (Absolute), code 54 (Position Y), value 3148
Event: time 1320923093.368610, type 3 (Absolute), code 0 (X), value 2445
Event: time 1320923093.368611, type 3 (Absolute), code 1 (Y), value 3148
Event: time 1320923093.368613, -------------- Report Sync ------------
Event: time 1320923093.370231, type 3 (Absolute), code 53 (Position X), value 2453 Event: time 1320923093.370231, type 3 (Absolute), code 54 (Position Y), value 3159
Event: time 1320923093.370236, type 3 (Absolute), code 0 (X), value 2453
Event: time 1320923093.370237, type 3 (Absolute), code 1 (Y), value 3159
Event: time 1320923093.370239, -------------- Report Sync ------------
Event: time 1320923093.371980, type 3 (Absolute), code 53 (Position X), value 2457 Event: time 1320923093.371981, type 3 (Absolute), code 54 (Position Y), value 3165
Event: time 1320923093.371985, type 3 (Absolute), code 0 (X), value 2457
Event: time 1320923093.371986, type 3 (Absolute), code 1 (Y), value 3165
Event: time 1320923093.371988, -------------- Report Sync ------------
Event: time 1320923093.373729, type 3 (Absolute), code 53 (Position X), value 2459 Event: time 1320923093.373730, type 3 (Absolute), code 54 (Position Y), value 3168
Event: time 1320923093.373734, type 3 (Absolute), code 0 (X), value 2459
Event: time 1320923093.373735, type 3 (Absolute), code 1 (Y), value 3168
Event: time 1320923093.373737, -------------- Report Sync ------------
Event: time 1320923093.375479, type 3 (Absolute), code 53 (Position X), value 2460 Event: time 1320923093.375480, type 3 (Absolute), code 54 (Position Y), value 3169
Event: time 1320923093.375484, type 3 (Absolute), code 0 (X), value 2460
Event: time 1320923093.375485, type 3 (Absolute), code 1 (Y), value 3169
Event: time 1320923093.375487, -------------- Report Sync ------------
Event: time 1320923093.377107,

I have o


On 11/09/2011 07:48 PM, ice wrote:
Hi Nuno,

- How can I test user side multitouch input? I'm trying to see if xinput
lists my device as a multitouch device. No success. I'm also trying an
example from qt4-demos, finger paint which always gives me nothing. Is
there any "oficial" tool for ubuntu multitouch input testing?
The qt4 fingerpaint application is the best tool for quickly testing
multitouch input because it shows what the device is emitting in a
graphical way.
You should also be able to use xinput test-xi2, but it might be broken
at the moment.
Before X, I suggest you test if your driver is okay for Linux kernel, you
can test it using evtest, for example $evtest /dev/input/event4>
/tmp/multitouch.txt

-ice




References