Bug 103156 - Disable While Typing (dwt) doesn't work on razer blade stealth
Summary: Disable While Typing (dwt) doesn't work on razer blade stealth
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 06:32 UTC by Kit Yuen
Modified: 2018-09-26 04:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
libinput debug-events (3.48 KB, text/plain)
2017-10-09 06:32 UTC, Kit Yuen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kit Yuen 2017-10-09 06:32:04 UTC
Created attachment 134758 [details]
libinput debug-events

i have installed libinput on a razer blade stealth which is running archlinux. The "dwt" and "tap to click" are enabled as shown below.

	libinput Tapping Enabled (296):	1
	libinput Tapping Enabled Default (297):	0
	libinput Disable While Typing Enabled (307):	1
	libinput Disable While Typing Enabled Default (308):	1 

linux kernel: linux-lts 4.9.52-1
libinput: 1.8.3-1

Everything works well except the dwt is not really working (i could keep moving the mouse pointer using the touchpad even if i keep pressing a key on the keyboard). and so while i am typing, the cursor will move away as it looks like a tap is detected accidentally.

At first i was thinking if it is the same issue with this bug 102649. But as Peter mentioned, it should be more likely that the dwt didn't get paired with the laptop keyboard as there are two internal keyboards with exactly the same identifiers exist in the razer laptop bug 102039, comment 16.

From the attached output log, of my laptop it seems that the dwt didn't get activated with the keyboard. and event 5 & 9 are the devices with the same identifier.
Comment 2 Peter Hutterer 2017-10-31 23:24:08 UTC
commit 4d7592066a120b00386283ebcbb7503296720626 
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Oct 23 14:34:47 2017 +1000

    touchpad: allow for multiple paired keyboards
Comment 3 Kit Yuen 2017-11-17 07:44:07 UTC
I have updated the libinput to 1.9.2 and it is working much better now. Thanks for fixing it. =D
Comment 4 Peter Hutterer 2017-11-17 09:12:06 UTC
excellent, thanks for testing
Comment 5 Sencer 2018-09-21 00:19:39 UTC
I am using libinput 1.10.4 in Ubuntu 18.04 on a Razer Blade 2017 device - not Stealth. Disable while typing is on as indicated by debug-events:

-event21  DEVICE_ADDED     Synaptics TM2438-005              seat0 default group8  cap:pg  size 102x60mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on


But it is not working.
Comment 6 Sencer 2018-09-21 01:12:44 UTC
This is the output of xinput list

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech M510                           	id=11	[slave  pointer  (2)]
⎜   ↳ Razer Razer Blade                       	id=14	[slave  pointer  (2)]
⎜   ↳ Razer Razer Blade                       	id=15	[slave  pointer  (2)]
⎜   ↳ Synaptics TM2438-005                    	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)]
    ↳ Video Bus                               	id=8	[slave  keyboard (3)]
    ↳ Power Button                            	id=9	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=10	[slave  keyboard (3)]
    ↳ USB Camera: USB Camera                  	id=12	[slave  keyboard (3)]
    ↳ Razer Razer Blade                       	id=13	[slave  keyboard (3)]
    ↳ AT Raw Set 2 keyboard                   	id=17	[slave  keyboard (3)]
    ↳ Razer Razer Blade                       	id=18	[slave  keyboard (3)]
Comment 7 Peter Hutterer 2018-09-26 04:25:42 UTC
fwiw, bugzilla is deprecated, please open a bug in the libinput gitlab instance so we can track it there: https://gitlab.freedesktop.org/libinput/libinput/. See also https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html for a list of likely bits I'll need to debug this.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.