[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #25 from Dave  ---
Created attachment 138149
  --> https://bugs.freedesktop.org/attachment.cgi?id=138149&action=edit
output of hid-record of the touchpad on custom kernel

Still no return of the deadzone, it's much more usable now.

I haven't noticed any issues with palm detection, but if there's anything you
want me to test just let me know.

One thing I have noticed, is that movement through the former "deadzone", is
that the movement seems off, in almost a "jumpy" manner. It seems like while
passing through the former zone, the cursor stops moving, but after exiting the
zone the cursor jumps to the current position of my finger.

I've attached the output of hid-record while making circles on the touchpad
that pass through the zone. Maybe this will provide some insight.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #24 from Dave  ---
So far so good, will keep you posted

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #23 from Dave  ---
Created attachment 138118
  --> https://bugs.freedesktop.org/attachment.cgi?id=138118&action=edit
output of evemu-describe when no deadzone was observed

I haven't had a chance to try the patch yet, but I've noticed that the issue
isn't present 100% of the time anymore. After resuming from suspend, there was
no apparent deadzone for a couple minutes, but it eventually returned.
I ran evenmu-describe when it was working, to highlight what changes have been
made, hoping it might point to something.

Since the issues has returned, I'll try the patch now.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #22 from Benjamin Tissoires  ---
Created attachment 138113
  --> https://bugs.freedesktop.org/attachment.cgi?id=138113&action=edit
kernel patch to remove the deadzone and palm detection

Would it be possible for you to try the attached patch on a recent kernel?
I locally tested it with your recording, and I now see all of the events.

However, the things I am not so sure are for the reporting of the buttons, and
if disabling the device palm detection is worse than having it (like if you get
ghosts events).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #21 from Dave  ---
Just to confirm, after my finger passes through the deadzone, only
MSC_TIMESTAMP records appear, even when I continue moving it.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #20 from Peter Hutterer  ---
oh, right, confidence bit. Forgot to look at that. Anyway, even with a perfect
userspace it wouldn't really fix the issue because we'd just be ignoring a palm
touch anyway... So IMO this is something the kernel needs to sort out

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #19 from Benjamin Tissoires  ---
The problem here is that the touchpad sends events with a confidence of 0. This
usually means the touchpad considers the touch to be a palm.
Currently hid-multitouch ignores such events so that's why the kernel filter
them out.

Theoretically, we could forward such events with the tool MT_TOOL_PALM, but
IIRC we already discussed about that and this might break user space which
doesn't expect the ABS_MT_TOOL to change.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #18 from Peter Hutterer  ---
Weird, there certainly are events coming out of the device and the coordinates
move slightly. Benjamin, any guess?

Dave, can you confirm with evemu-record that whenever the finger stops moving,
you only get MSC_TIMESTAMP but not x/y updates?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #17 from Dave  ---
Created attachment 138056
  --> https://bugs.freedesktop.org/attachment.cgi?id=138056&action=edit
hid-record output take 2

Here's a longer hid-record output, this time I made an S shape that passed
through the deadzone, and a counter-clockwise half-circle around the touchpad.
The cursor stops moving at approximately 5.5s, which was at the end of the S
shape, and did not track the half-circle afterwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #16 from Peter Hutterer  ---
How long did you keep you the finger there? The events stop at 1.84s and there
are a few events that have the same coordinates and would thus be filtered. But
afaict the recording stops 300ms after you say you entered the deadzone?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #15 from Dave  ---
Created attachment 138052
  --> https://bugs.freedesktop.org/attachment.cgi?id=138052&action=edit
hid-recorder output for touchpad

Here's the hid-recorder output for the touchpad, at approximately timestamp 1.5
my finger enters the deadzone, and the cursor stops moving.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #14 from Dave  ---
Created attachment 138051
  --> https://bugs.freedesktop.org/attachment.cgi?id=138051&action=edit
full dmesg output

Here's the full dmesg output, let me know if I can filter out something
specific for you. Output from hid-record coming soon

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

Peter Hutterer  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |MOVED
 CC||benjamin.tissoi...@gmail.co
   ||m

--- Comment #13 from Peter Hutterer  ---
Thanks for testing. The fuzz value is now in the systemd PR, so that should
close the bug once merged. The deadzone - there isn't anything we can do in
libinput, we're not getting any events from the hardware. This may be possible
to fix in the kernel but I'm not putting any hopes on that. Please attach a
dmesg and a hid-record log as well. 

https://bentiss.github.io/hid-replay-docs/

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #12 from Dave  ---
Created attachment 138050
  --> https://bugs.freedesktop.org/attachment.cgi?id=138050&action=edit
udevadm info output with fuzz 8

Updated local 61-udevadm-local.hwdb file to include a fuzz value of 8. Jitter
seems to have disappeared or be unnoticeable. Deadzone issue still exists.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #11 from Dave  ---
Created attachment 138049
  --> https://bugs.freedesktop.org/attachment.cgi?id=138049&action=edit
udevadm info output after making evdev.hwdb changes

Added the lines from the systemd PR to my local 61-evdev-local.hwdb file and
ran updates. Running build of libinput from latest master commit.

Deadzone still occurs, jitter is very obvious. Fuzz value of 8 to follow

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

Peter Hutterer  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #10 from Peter Hutterer  ---
PR sent to systemd, please give it a test:
https://github.com/systemd/systemd/pull/8436. Instructions are at the top of
the 60-evdev.hwdb file.

Once you've done this, please also test this entry:
 EVDEV_ABS_00=0::12:8
 EVDEV_ABS_01=0::11:8
 EVDEV_ABS_35=0::12:8
 EVDEV_ABS_36=0::11:8

Note the trailing ":8", the rest stays identical. This should set the fuzz on
the device. Install libinput git master, reboot. This should make LIBINPUT_FUZZ
udev properties show up (udevadm info /sys/class/input/eventX for your event
node) and reduce or remove the jitter. It there's still light jitter, increase
from 8 to 12 and try again.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #9 from Dave  ---
Created attachment 138017
  --> https://bugs.freedesktop.org/attachment.cgi?id=138017&action=edit
corrected touchpad-edge-detector output

I reran touchpad-edge-detector with the correct physical measurements (105x64)
and reattached the output.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #8 from Peter Hutterer  ---
> User-specified touchpad size: 64x105mm

I'm assuming this is supposed to be 105x64? Please re-run so I don't have to do
the calculations in my head.

>From attachment 138006:

> E: 4.936156 0004 0005 5075200   # EV_MSC / MSC_TIMESTAMP5075200
> E: 4.936156     #  SYN_REPORT (0) -- +8ms

All we're getting from the device are timestamps but no finger movements. So
either you held your finger perfectly still or the device/firmare/kernel driver
is buggy and doesn't send input events. Either way, this bit isn't something we
can fix in libinput.

The jitter in attachment 138009 is crazy, but the fixes for bug 104828 would
detect it if we'd switch to y-based jitter (not sure why it only jitters on the
y axis here, very strange). But we also need a tool for measuring fuzz (see bug
105202) so we can use this in the hwdb.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #7 from Dave  ---
Created attachment 138008
  --> https://bugs.freedesktop.org/attachment.cgi?id=138008&action=edit
output of evemu record when cursor is shaking

Attached is the output of evemu-record when the "shaking cursor" behavior is
active

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #6 from Dave  ---
Created attachment 138007
  --> https://bugs.freedesktop.org/attachment.cgi?id=138007&action=edit
outpu of evemu record while finger is in deadzone

Attached is the output of evemu-record for the touchpad with finger in the
deadzone

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #5 from Dave  ---
Created attachment 138006
  --> https://bugs.freedesktop.org/attachment.cgi?id=138006&action=edit
touchpad edge detector output

Attached is the touchpad-edge-detector output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #4 from Peter Hutterer  ---
Run the touchpad-edge-detector tool please and attach the whole output here.
And an evemu-record output of the finger in that dead zone.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

Peter Hutterer  changed:

   What|Removed |Added

 Attachment #137922|text/x-log  |text/plain
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

Peter Hutterer  changed:

   What|Removed |Added

 Attachment #137971|text/x-log  |text/plain
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

Peter Hutterer  changed:

   What|Removed |Added

 CC||peter.hutte...@who-t.net
 Attachment #137921|text/x-log  |text/plain
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #3 from Dave  ---
Also worth mentioning that this is not an isolated case, there are multiple
reports of users with the same laptop having touchpad issues:
https://insider.razerzone.com/index.php?threads/ubuntu-17-10-blade-stealth-late-2017-issues.28967/

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #2 from Dave  ---
Created attachment 137971
  --> https://bugs.freedesktop.org/attachment.cgi?id=137971&action=edit
libinput-debug-events output when holding finger in deadzone

Attached is the libinput debug-events output when a finger is held in the
deadzone, when the "shaking" or "vibrating" behaviour is observed

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

--- Comment #1 from Dave  ---
Created attachment 137922
  --> https://bugs.freedesktop.org/attachment.cgi?id=137922&action=edit
evemu-describe output

Also attached, the evemu-describe output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 105409] Touchpad deadzone on Razer Blade Stealth

2018-03-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105409

Bug ID: 105409
   Summary: Touchpad deadzone on Razer Blade Stealth
   Product: Wayland
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: libinput
  Assignee: wayland-bugs@lists.freedesktop.org
  Reporter: therav...@gmail.com

Created attachment 137921
  --> https://bugs.freedesktop.org/attachment.cgi?id=137921&action=edit
libinput-debug-events

I've noticed with the touchpad on the late-2017 Razer Blade Stealth (with the
i7-8550U), there's a deadzone slightly off-center.

Running kernel: 4.16.0-041600rc4-generic
libinput: built from master at cd966460

The touchpad works fine in Windows, however does not work under Ubuntu (tested
17.10 and 18.04) or Fedora 27. It also occurs on both Wayland and X, and with
both the Synaptics drivers and libinput. The issue appears less significant
when using libinput, but still constant.
If a finger enters this zone, it will register the following in the logs:
> touch 0 from BUTTON_STATE_AREA, event BUTTON_EVENT_UP to BUTTON_STATE_NONE

Occasionally, when a finger is held in that zone, the cursor will seemingly
vibrate.

The device information is:
Device:   1A586753:00 06CB:8323 Touchpad
Kernel:   /dev/input/event16
Group:9
Seat: seat0, default
Size: 102x60mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock:disabled
Left-handed:  disabled
Nat.scrolling:disabled
Middle emulation: disabled
Calibration:  n/a
Scroll methods:   *two-finger edge 
Click methods:*button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   none
Rotation: n/a

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs