Unable to get Finger Touch working on Hp-2760p (wacom)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to get Finger Touch working on Hp-2760p (wacom)

Bhasker C V
Hi all

I have  a HP-2760p tablet.
May I request some inputs/help please ?

  My xinput reports this:


⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                          id=11    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                  id=12    [slave  pointer  (2)]
⎜   ↳ Wacom Serial Penabled 2FG Touchscreen Pen    id=13    [slave
pointer  (2)]
⎜   ↳ Wacom Serial Penabled 2FG Touchscreen Finger    id=14    [slave
pointer  (2)]
⎜   ↳ PixArt Microsoft USB Optical Mouse          id=16    [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)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ HP HD Webcam [Fixed]                        id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=10    [slave  keyboard (3)]
    ↳ HP WMI hotkeys                              id=15    [slave  keyboard (3)]


I am able to use the wacom touch pen without any issues.
However, the finger touch does not work.
I tried to put this file in /etc/X11/xorg.conf.d/02-wacom.conf

$ cat 02-wacom.conf
Section "InputDevice"
    Driver        "wacom"
    Identifier    "Finger"
    Option        "Device"       "/dev/input/event18"   # or the
corresponding event?? for a static setup
    Option        "Type"         "cursor"
    Option        "Mode"         "Relative"            # other option:
"Absolute"
    Option        "Vendor"       "WACOM"
EndSection

However, the Xorg.0.conf does not even show loading wacom driver.
Attached is Xorg.0.log

evtest shows that /dev/input/event18 is touch and evtest works (I can
see events coming when I touch the screen), but X does not show any
signs when I touch the screen.
attached is output of xorg and also evemu-describe command

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

evemu.txt (3K) Download Attachment
xorg-log.txt (24K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to get Finger Touch working on Hp-2760p (wacom)

Ping Cheng-2
We (Andrew Cohen reported the issue on July 2nd) actually found a bug for 2FG touch in wacom_w8001.c, which is the kernel driver for your device. It is a simple fix. But, the patch isn't ready yet.

If you are running a kernel 3.17 or newer and you can not wait for the patch to be accepted upstream, you can update wacom_w8001.c yourself then compile and update the driver on your system. Just clone the input-wacom from <a style="background:url(&quot;&quot;)" href="git://git.code.sf.net/p/linuxwacom/input-wacom" rel="nofollow">git://git.code.sf.net/p/linuxwacom/input-wacom and switch to dtor/for-4.7 branch. Then, in 3.17/wacom_w8001.c, add      
                input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch);
after
                input_mt_slot(dev, i);

A diff would look like the following:

---
@@ -155,6 +155,7 @@
                bool touch = data[0] & (1 << i);

                input_mt_slot(dev, i);
+               input_mt_report_slot_state(dev, MT_TOOL_FINGER, touch);
                if (touch) {
                        x = (data[6 * i + 1] << 7) | data[6 * i + 2];
                        y = (data[6 * i + 3] << 7) | data[6 * i + 4];

follow the steps at http://linuxwacom.sourceforge.net/wiki/index.php/Input-wacom to compile and install the driver.

Ping

On Thu, Jul 7, 2016 at 9:36 PM, Bhasker C V <[hidden email]> wrote:
Hi all

I have  a HP-2760p tablet.
May I request some inputs/help please ?

  My xinput reports this:


⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                          id=11    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                  id=12    [slave  pointer  (2)]
⎜   ↳ Wacom Serial Penabled 2FG Touchscreen Pen    id=13    [slave
pointer  (2)]
⎜   ↳ Wacom Serial Penabled 2FG Touchscreen Finger    id=14    [slave
pointer  (2)]
⎜   ↳ PixArt Microsoft USB Optical Mouse          id=16    [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)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ HP HD Webcam [Fixed]                        id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard                id=10    [slave  keyboard (3)]
    ↳ HP WMI hotkeys                              id=15    [slave  keyboard (3)]


I am able to use the wacom touch pen without any issues.
However, the finger touch does not work.
I tried to put this file in /etc/X11/xorg.conf.d/02-wacom.conf

$ cat 02-wacom.conf
Section "InputDevice"
    Driver        "wacom"
    Identifier    "Finger"
    Option        "Device"       "/dev/input/event18"   # or the
corresponding event?? for a static setup
    Option        "Type"         "cursor"
    Option        "Mode"         "Relative"            # other option:
"Absolute"
    Option        "Vendor"       "WACOM"
EndSection

However, the Xorg.0.conf does not even show loading wacom driver.
Attached is Xorg.0.log

evtest shows that /dev/input/event18 is touch and evtest works (I can
see events coming when I touch the screen), but X does not show any
signs when I touch the screen.
attached is output of xorg and also evemu-describe command

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss



------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Linuxwacom-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss
Loading...