touchscreen doesn't work properly after stylus detection

Bug #1768169 reported by Favio D'Ercole
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
xinput (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a HP Pavilion x360 convertible 15 br0xx. This laptop has a multitouch touchscreen and an active pen/stylus.

On ubuntu 16.04, the touchscreen used with fingers and the pen/stylus work properly. The touchscreen was identified as «ELAN0732:00 04F3:24B8» as slave pointer and the pen as «ELAN0732:00 04F3:24B8 Pen» as slave pointer too.

But, on ubuntu 18.04 bionic with gnome shell, the pen/stylus is identified «ELAN0732:00 04F3:24B8 Pen» as slave keyboard instead as slave pointer. Touchscreen work well until pen/stylus is used. At this point, a new device «ELAN0732:00 04F3:24B8 Pen Pen (0)» is enabled. The touchscreen stops working and the pen/styles works but with some issues.

    ~$ xinput --list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ ETPS/2 Elantech Touchpad id=15 [slave pointer (2)]
    ⎜ ↳ ELAN0732:00 04F3:24B8 id=10 [slave pointer (2)]
    ⎜ ↳ ELAN0732:00 04F3:24B8 Pen Pen (0) 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)]
        ↳ Video Bus id=7 [slave keyboard (3)]
        ↳ Power Button id=8 [slave keyboard (3)]
        ↳ HP Wide Vision HD Camera: HP Wi id=9 [slave keyboard (3)]
        ↳ Intel Virtual Button driver id=12 [slave keyboard (3)]
        ↳ Intel Virtual Button driver id=13 [slave keyboard (3)]
        ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
        ↳ HP WMI hotkeys id=16 [slave keyboard (3)]
        ↳ HP Wireless hotkeys id=17 [slave keyboard (3)]
        ↳ ELAN0732:00 04F3:24B8 Pen id=11 [slave keyboard (3)]

After disable devices id=11 and id=18, touchscreen recovers its multitouch feature.
There is no combination enabling/disabling ids 10, 11 and 18, to get multitouch and pen working together.

On Wayland session, I get the same behavior.

Note: Ubuntu 18.04 LTS clean installation with «minimal install option» and no other customization.

Revision history for this message
Pitrack (pitrackster) wrote :

By disabling the Gesture parameter for my touchscreen multitouch is working. But no more pinch to zoom or to finger to scroll ... no more Gestures !

Both should be able to work together.

Should I open an issue ?

Revision history for this message
Pitrack (pitrackster) wrote :

oups sorry wrong place...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xinput (Ubuntu):
status: New → Confirmed
Revision history for this message
Ian Douglas Scott (ids1024) wrote :

I had a similar issue with my HP Spectre laptop, and submitted a bug to libinput: https://gitlab.freedesktop.org/libinput/libinput/issues/261

So with libinput, it seems this can be addressed with the "ModelTabletNoProximityOut" quirk; though libinput needs a more general solution to not require explicit per-device patching.

Revision history for this message
Vigas Deep (vigasdeep) wrote :

I have HP Spectre X360 13" 2019 Model, and have the same problem.

After the touch pen/stylus is detected, finger touch stops working. Is there any workaround or command to get it working again?

Revision history for this message
Ian Douglas Scott (ids1024) wrote :

The problem should be fixed in git, and available in the 1.14.0.

I don't think there's a workaround other than building from source; but it should be possible to address it that way.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.