Bug 90356 - Touchpad incorrectly detected as clickpad on Razer Blade 2015 laptop
Summary: Touchpad incorrectly detected as clickpad on Razer Blade 2015 laptop
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/synaptics (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-07 01:40 UTC by Alex Cabal
Modified: 2015-06-16 22:19 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
evemu-describe /dev/input/by-id/usb-Razer_Razer_Blade-event-mouse (3.42 KB, text/plain)
2015-05-07 05:06 UTC, Alex Cabal
no flags Details
evemu-describe /dev/input/by-id/usb-Razer_Razer_Blade-if03-event-mouse (1.28 KB, text/plain)
2015-05-07 05:07 UTC, Alex Cabal
no flags Details

Description Alex Cabal 2015-05-07 01:40:43 UTC
The touchpad on a new Razer Blade 2015 works almost 100% out of the box on Ubuntu 15.05 with kernel 4.0; however, it's detected as a clickpad instead of a touchpad.  This makes the system not recognize physical button clicks unless the user has a finger down on the touchpad at the same time.  For regular users who are unaware of this, it makes it seem as if the touchpad is randomly dropping clicks.

The solution is to do:

synclient ClickPad=0

which fixes the issue completely.  However this should be the default, since the Blade's touchpad isn't a clickpad to begin with.

Palm detect is also off by default, which makes typing difficult as the spacebar key is very close to the touchpad.  This is also easily fixed with

synclient PalmDetect=1

but this setting should also be enabled by default.
Comment 1 Peter Hutterer 2015-05-07 04:47:43 UTC
palm detection has been off by default for ages, we won't switch that default, at least not in the synaptics driver (it's not reliable enough). so you'll have to keep enabling that manually.

The clickpad bit sounds like a kernel bug, please attach the output of evemu-describe for this device. Thanks.
Comment 2 Alex Cabal 2015-05-07 05:06:11 UTC
Created attachment 115611 [details]
evemu-describe /dev/input/by-id/usb-Razer_Razer_Blade-event-mouse
Comment 3 Alex Cabal 2015-05-07 05:07:31 UTC
Created attachment 115613 [details]
evemu-describe /dev/input/by-id/usb-Razer_Razer_Blade-if03-event-mouse
Comment 4 Alex Cabal 2015-05-07 05:10:02 UTC
I attached two logs for what looks like the touchpad.  Not sure which one (or if both) are relevant.

There was also the following symlinks in /dev/input/by-id:
usb-Razer_Razer_Blade-if03-mouse
usb-Razer_Razer_Blade-mouse

However running evemu-describe on them, even in a terminal from ctrl + alt + f2, resulted in "error: this device is grabbed and I cannot record events"

If those are the ones you need, let me know how to correctly run evemu-describe and I'll get those logs to you too.
Comment 5 Peter Hutterer 2015-05-07 05:22:45 UTC
don't worry about the error, it doesn't matter here. from the output: 

#   Property  type 2 (INPUT_PROP_BUTTONPAD)

if this property is set, synaptics assumes the device is a clickpad. so definitely a kernel bug. Benjamin?
Comment 6 Benjamin Tissoires 2015-05-08 14:06:12 UTC
(In reply to Peter Hutterer from comment #5)
> #   Property  type 2 (INPUT_PROP_BUTTONPAD)
> 
> if this property is set, synaptics assumes the device is a clickpad. so
> definitely a kernel bug. Benjamin?

Yes, I see what is happening. hid-rmi is not working properly for this touchpad. I'll call for Andrew's help on this as he implemented the razor blade logic.
Comment 7 Peter Hutterer 2015-06-16 22:19:09 UTC
Fix is in Jiri's kernel tree now, so I'm closing this here. Once the patch is available in your distribution kernel, this issue will be fixed.

https://git.kernel.org/cgit/linux/kernel/git/jikos/hid.git/commit/?h=for-4.2/rmi&id=10e87dc42a086c256b25334b6c1c89214feba9a7


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.