On my Fujitsu T4410 tablet PC, FUJ02e7 serial device is recognized only
as eraser an stylus but it also has touch capabilities. Executing
"xinput --list" I only see earser and stylus.

After a lot of testing I got touch working. Seems that device is not
properly recognized by xf86-input-wacom-0.10.8.

Y have added one line to xf86-input-wacom source code and, after
recompiling wacom_drv.so and restarting X, "xinput --list" shows the new
device and touch is working now.

jju...@fujitsu:~$ xinput --list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer
(2)]
⎜   ↳ ImPS/2 Generic Wheel Mouse                id=14   [slave  pointer
(2)]
⎜   ↳ Serial Wacom Tablet eraser                id=15   [slave  pointer
(2)]
⎜   ↳ Serial Wacom Tablet touch                 id=16   [slave  pointer
(2)]
⎜   ↳ Serial Wacom Tablet stylus                id=17   [slave  pointer
(2)]
⎜   ↳ Macintosh mouse button emulation          id=18   [slave  pointer
(2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard
(3)]
    ↳ Power Button                              id=6    [slave  keyboard
(3)]
    ↳ Fujitsu FUJ02E3                           id=7    [slave  keyboard
(3)]
    ↳ Video Bus                                 id=8    [slave  keyboard
(3)]
    ↳ Fujitsu FUJ02B1                           id=9    [slave  keyboard
(3)]
    ↳ Power Button                              id=10   [slave  keyboard
(3)]
    ↳ Sleep Button                              id=11   [slave  keyboard
(3)]
    ↳ FJ Camera                                 id=12   [slave  keyboard
(3)]
    ↳ AT Translated Set 2 keyboard              id=13   [slave  keyboard
(3)]


This is the change that I have made:

r...@fujitsu:/usr/local/src/xf86-input-wacom-0.10.8# diff -aur
src/wcmISDV4.c src/wcmISDV4.c.orig
--- src/wcmISDV4.c      2010-08-23 01:21:32.484231001 +0200
+++ src/wcmISDV4.c.orig 2010-07-26 06:33:10.000000000 +0200
@@ -873,7 +873,6 @@
        /* default to penabled */
        SETBIT(common->wcmKeys, BTN_TOOL_PEN);
        SETBIT(common->wcmKeys, BTN_TOOL_RUBBER);
-       SETBIT(common->wcmKeys, BTN_TOOL_DOUBLETAP);

        /* id < 0x008 are only penabled */
        if (id > 0x007)


I think that a possible solution is to check device name on
isdv4ProbeKey and set BTN_TOOL_DOUBLETAP if name is FUJ02e7:

r...@fujitsu:~# cat /sys/class/tty/ttyS0/device/id
FUJ02e7

After this, I have to enable gestures manually with
"/usr/bin/xsetwacom --set 16 "gesture" on"

On Xorg.0.log FUJ02e7 is recogniced as 0xE3



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to