Discussion:
MeeGo Tablet UX and ActionStar multi-touch screen
Rudolf Streif
2011-04-20 19:05:13 UTC
Permalink
I got an Intel Pinetrail (Atom N450) based tablet with a 10.1" ActionStar
multi-touch screen. Needless to say that it does not work with the MeeGo
Tablet UX. The pointer moves to the position but touches don't work and
worse, since it is picked up by the generic-usb driver, it interferes with a
mouse so that the mouse cannot be used anymore (the pointer moves but the
button clicks don't work anymore after the touch screen was used for the
first time).

Nevertheless, I used a stock 2.6.37 kernel and patched hid-multitouch. Now
the touch screen gets handled by hid-multitouch and does not interfere with
the mouse anymore. Mouse pointer moves correctly to the position when
touching the screen. However, tapping and dragging etc. does not work.

I used evtest to analyse the events generated by the driver:

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x2101 product 0x1011 version 0x111
Input device name: "NAS 10.1 "
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 330 (Touch)
Event type 3 (Absolute)
Event code 0 (X)
Value 13827
Min 0
Max 19967
Event code 1 (Y)
Value 9611
Min 0
Max 11263
Event code 47 (?)
Value 1
Min 0
Max 1
Event code 53 (Position X)
Value 0
Min 0
Max 19967
Event code 54 (Position Y)
Value 0
Min 0
Max 11263
Event code 57 (Tracking ID)
Value 0
Min 0
Max 65535

The driver correctly creates a touch event 330, value 1 when a finger is on
the screen and a touch event 330, value 0 when it's taken off:

Event: time 1303351812.420515, type 1 (Key), code 330 (Touch), value 1

Event: time 1303351812.480574, type 1 (Key), code 330 (Touch), value 0

It looks that the touch screen is working correctly but the touch events 330
are not picked up by the UX/Qt/QML. Eventually, the UX only responds to
mouse button events e.g. left button 272. Could somebody please shed some
light onto this?

Thanks,
Rudi
Gabriel M. Beddingfield
2011-04-20 19:10:50 UTC
Permalink
Hi Rudolf,
Post by Rudolf Streif
Input device ID: bus 0x3 vendor 0x2101 product 0x1011 version 0x111
Input device name: "NAS 10.1 "
You'll need to add a file in /etc/X11/xorg.conf.d/ to map
your touchscreen to the mtev (or mtdev... can never remember
which) driver in Xorg. Look at
/etc/X11/xorg.conf.d/60-cando-mtev.conf for an example.

-gabriel
Rudolf Streif
2011-04-20 21:11:28 UTC
Permalink
Thank you, Gabriel. That works after I figured the right vendor name. I
appreciate it.
Rudi

On Wed, Apr 20, 2011 at 12:10 PM, Gabriel M. Beddingfield <
Post by Gabriel M. Beddingfield
Hi Rudolf,
Input device ID: bus 0x3 vendor 0x2101 product 0x1011 version 0x111
Post by Rudolf Streif
Input device name: "NAS 10.1 "
You'll need to add a file in /etc/X11/xorg.conf.d/ to map your touchscreen
to the mtev (or mtdev... can never remember which) driver in Xorg. Look at
/etc/X11/xorg.conf.d/60-cando-mtev.conf for an example.
-gabriel
Loading...