New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touchpad Palm Detection not working on Ubuntu #3

Open
MarcusMoeller opened this Issue May 7, 2015 · 112 comments

Comments

Projects
None yet
@MarcusMoeller

MarcusMoeller commented May 7, 2015

On the default installation of Ubuntu 14.04, the touchpad palm detection is not working correctly.

@advancingu

This comment has been minimized.

Show comment
Hide comment
@advancingu

advancingu May 7, 2015

Owner

Which BIOS version are you using?

Owner

advancingu commented May 7, 2015

Which BIOS version are you using?

@MarcusMoeller

This comment has been minimized.

Show comment
Hide comment
@MarcusMoeller

MarcusMoeller commented May 7, 2015

A03

@MarcusMoeller

This comment has been minimized.

Show comment
Hide comment
@MarcusMoeller

MarcusMoeller May 7, 2015

This is the same when booting from a Live USB 15.04 btw

MarcusMoeller commented May 7, 2015

This is the same when booting from a Live USB 15.04 btw

@tgalopin

This comment has been minimized.

Show comment
Hide comment
@dchambers

This comment has been minimized.

Show comment
Hide comment
@dchambers

dchambers May 12, 2015

If this is also an issue in 15.04 than it might make sense to change the title to avoid confusion.

dchambers commented May 12, 2015

If this is also an issue in 15.04 than it might make sense to change the title to avoid confusion.

@anaran

This comment has been minimized.

Show comment
Hide comment
@anaran

anaran May 12, 2015

Is this verified to be a palm detect issue?

I assume the issue described here are spurious cursor jumps and text selections or, worst, even shortcut executions (e.g. when cursor jumps into thunderbird K might actually kill the thread.

I am getting the feeling that CPU load may trigger these effects as I have been very careful to keep my palms clear of the touchpad.

And yes I still see all of this in ubuntu 15.04.

anaran commented May 12, 2015

Is this verified to be a palm detect issue?

I assume the issue described here are spurious cursor jumps and text selections or, worst, even shortcut executions (e.g. when cursor jumps into thunderbird K might actually kill the thread.

I am getting the feeling that CPU load may trigger these effects as I have been very careful to keep my palms clear of the touchpad.

And yes I still see all of this in ubuntu 15.04.

@advancingu advancingu changed the title from Touchpad Palm Detection not working on Ubuntu 14.04 to Touchpad Palm Detection not working on Ubuntu May 12, 2015

@MarcusMoeller

This comment has been minimized.

Show comment
Hide comment
@MarcusMoeller

MarcusMoeller May 14, 2015

My initial report was related to palm detection.

MarcusMoeller commented May 14, 2015

My initial report was related to palm detection.

@anaran

This comment has been minimized.

Show comment
Hide comment
@anaran

anaran May 14, 2015

@MarcusMoeller yeah, I got lost for a bit between the many possibly related issues.
Do you also see those events generated for my recipe in issue #14?

anaran commented May 14, 2015

@MarcusMoeller yeah, I got lost for a bit between the many possibly related issues.
Do you also see those events generated for my recipe in issue #14?

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons May 29, 2015

As native Ubuntu unity 14.04 had several problems (hdpi, touchpad, external monitor, etc.) I made fresh install of Ubuntu Gnome (seems much better than Unity re hdpi issues). All is splendid, except the palm detection of the touchpad which is really annoying. I fiddled with it for quite some time but no solution it seems.
I also tried:
http://stevenkohlmeyer.com/fixing-palm-detect-ubuntu-14-04/
Results:
With 'xinput list' I find two items which relate to the touchpad:

  1. DLL0665:01 06CB:76AD UNKNOWN
  2. PS/2 Synaptics TouchPad

When I enable/ switch off the first (DLL) via xinput in the terminal the touchpad indeed toggles on/off. The touchpad does not react at all to enabling/ switcing off the second (Synaptics). The settings of DLL also correspond to the Gnome GUI settings under 'mouse&touchpad' for all tickmark settings and the ON/OFF button. One exception, it does not change settings when I adjust the pointer speed in the GUI (I see no change in the xinput settings, however the pointer does speed up/ slow down...).

When adjusting the palm detection settings with:
xinput set-prop 12 "Synaptics Palm Detection" 1
xinput set-prop 12 "Synaptics Palm Dimensions" 5, 80

And fiddling a lot with the values I have to conclude: they do not do ANYTHING, i.e. when I stroke with my palm the pointer always reacts.

I would be very happy with a solution as I know use a workaround: completely switching off the touchpad when typing with shortkeys.

Dell XPS 9343 (april 2015)
bios A03
Ubuntu gnome 15.04 (3.19 kernel)

musicformellons commented May 29, 2015

As native Ubuntu unity 14.04 had several problems (hdpi, touchpad, external monitor, etc.) I made fresh install of Ubuntu Gnome (seems much better than Unity re hdpi issues). All is splendid, except the palm detection of the touchpad which is really annoying. I fiddled with it for quite some time but no solution it seems.
I also tried:
http://stevenkohlmeyer.com/fixing-palm-detect-ubuntu-14-04/
Results:
With 'xinput list' I find two items which relate to the touchpad:

  1. DLL0665:01 06CB:76AD UNKNOWN
  2. PS/2 Synaptics TouchPad

When I enable/ switch off the first (DLL) via xinput in the terminal the touchpad indeed toggles on/off. The touchpad does not react at all to enabling/ switcing off the second (Synaptics). The settings of DLL also correspond to the Gnome GUI settings under 'mouse&touchpad' for all tickmark settings and the ON/OFF button. One exception, it does not change settings when I adjust the pointer speed in the GUI (I see no change in the xinput settings, however the pointer does speed up/ slow down...).

When adjusting the palm detection settings with:
xinput set-prop 12 "Synaptics Palm Detection" 1
xinput set-prop 12 "Synaptics Palm Dimensions" 5, 80

And fiddling a lot with the values I have to conclude: they do not do ANYTHING, i.e. when I stroke with my palm the pointer always reacts.

I would be very happy with a solution as I know use a workaround: completely switching off the touchpad when typing with shortkeys.

Dell XPS 9343 (april 2015)
bios A03
Ubuntu gnome 15.04 (3.19 kernel)

@dchambers

This comment has been minimized.

Show comment
Hide comment
@dchambers

dchambers May 29, 2015

@musicformellons, have you seen this comment by @anaran? Does that help at all?

dchambers commented May 29, 2015

@musicformellons, have you seen this comment by @anaran? Does that help at all?

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons May 29, 2015

I looked into Anaran's issue (and watched his video), but I am pretty sure he addresses another issue: he touches the touchpad with his thumb when using/resting at his space bar. I however do not have this issue: I touch the touchpad with my palms now and then (as everybody does...when typing).

musicformellons commented May 29, 2015

I looked into Anaran's issue (and watched his video), but I am pretty sure he addresses another issue: he touches the touchpad with his thumb when using/resting at his space bar. I however do not have this issue: I touch the touchpad with my palms now and then (as everybody does...when typing).

@anaran

This comment has been minimized.

Show comment
Hide comment
@anaran

anaran May 29, 2015

@musicformellons Not sure what you are trying to say. What I addressed and fixed with a modified config in issue #14 is a separate issue, yes. And as I was able to feel my interactions while recording the video I was not touching the upper rim of the touchpad with my thumbs.

This issue #3 is still unresolved for me. I was not able to get my sytem to ignore brushes of my palms. They still cause cursor moves and even button clicks with tap to click on.

Ah, reading your older comment suggests you are just confirming that palm detection does not work for you either.

anaran commented May 29, 2015

@musicformellons Not sure what you are trying to say. What I addressed and fixed with a modified config in issue #14 is a separate issue, yes. And as I was able to feel my interactions while recording the video I was not touching the upper rim of the touchpad with my thumbs.

This issue #3 is still unresolved for me. I was not able to get my sytem to ignore brushes of my palms. They still cause cursor moves and even button clicks with tap to click on.

Ah, reading your older comment suggests you are just confirming that palm detection does not work for you either.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons May 29, 2015

Yes, issue #3 still unresolved for both of us.

musicformellons commented May 29, 2015

Yes, issue #3 still unresolved for both of us.

@Robsteranium

This comment has been minimized.

Show comment
Hide comment
@Robsteranium

Robsteranium Jun 11, 2015

Palm detection is disabled by default. I've just tried turning it on like this:

$ synclient PalmDetect=1

It looks like there's also PalmMinWidth and PalmMinZ settings to tinker with (synclient -l to see the full list). Note that you'll need to add this to your xorg conf to make the changes persist (i.e. after a reboot).

Robsteranium commented Jun 11, 2015

Palm detection is disabled by default. I've just tried turning it on like this:

$ synclient PalmDetect=1

It looks like there's also PalmMinWidth and PalmMinZ settings to tinker with (synclient -l to see the full list). Note that you'll need to add this to your xorg conf to make the changes persist (i.e. after a reboot).

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 11, 2015

@Robsteranium : and does palm detection work for you? Because I have the correct setting but it is pretty clear that it does NOT work. When I use my palm on the touchpad the pointer reacts as if using a finger...

My synclient settings:
~$ synclient -l
Parameter settings:
LeftEdge = 48
RightEdge = 1168
TopEdge = 36
BottomEdge = 644
FingerLow = 25
FingerHigh = 30
MaxTapTime = 180
MaxTapMove = 61
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
EmulateMidButtonTime = 0
EmulateTwoFingerMinZ = 282
EmulateTwoFingerMinW = 7
VertScrollDelta = -27
HorizScrollDelta = -27
VertEdgeScroll = 0
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 1
MinSpeed = 1
MaxSpeed = 1.75
AccelFactor = 0.143575
TouchpadOff = 2
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 2
RBCornerButton = 3
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 3
TapButton3 = 2
ClickFinger1 = 1
ClickFinger2 = 3
ClickFinger3 = 0
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 1
PalmMinWidth = 5
PalmMinZ = 5
CoastingSpeed = 20
CoastingFriction = 50
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
ResolutionDetect = 1
GrabEventDevice = 0
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 6
VertHysteresis = 6
ClickPad = 1
RightButtonAreaLeft = 608
RightButtonAreaRight = 0
RightButtonAreaTop = 557
RightButtonAreaBottom = 0
MiddleButtonAreaLeft = 0
MiddleButtonAreaRight = 0
MiddleButtonAreaTop = 0
MiddleButtonAreaBottom = 0

I followed several links on this topic but settings simply do not work so it is a driver issue I suppose:
https://wiki.archlinux.org/index.php/Touchpad_Synaptics
http://en.community.dell.com/techcenter/os-applications/f/4613/t/19544120
https://wiki.archlinux.org/index.php/Touchpad_Synaptics
http://stevenkohlmeyer.com/fixing-palm-detect-ubuntu-14-04/
http://xps13-9333.appspot.com/#touchpad

Did not try the patch in the last link as it is 'way above my head' and pretty unsure whether this will solve it...

musicformellons commented Jun 11, 2015

@Robsteranium : and does palm detection work for you? Because I have the correct setting but it is pretty clear that it does NOT work. When I use my palm on the touchpad the pointer reacts as if using a finger...

My synclient settings:
~$ synclient -l
Parameter settings:
LeftEdge = 48
RightEdge = 1168
TopEdge = 36
BottomEdge = 644
FingerLow = 25
FingerHigh = 30
MaxTapTime = 180
MaxTapMove = 61
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
EmulateMidButtonTime = 0
EmulateTwoFingerMinZ = 282
EmulateTwoFingerMinW = 7
VertScrollDelta = -27
HorizScrollDelta = -27
VertEdgeScroll = 0
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 1
MinSpeed = 1
MaxSpeed = 1.75
AccelFactor = 0.143575
TouchpadOff = 2
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 2
RBCornerButton = 3
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 3
TapButton3 = 2
ClickFinger1 = 1
ClickFinger2 = 3
ClickFinger3 = 0
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 1
PalmMinWidth = 5
PalmMinZ = 5
CoastingSpeed = 20
CoastingFriction = 50
PressureMotionMinZ = 30
PressureMotionMaxZ = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
ResolutionDetect = 1
GrabEventDevice = 0
TapAndDragGesture = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
HorizHysteresis = 6
VertHysteresis = 6
ClickPad = 1
RightButtonAreaLeft = 608
RightButtonAreaRight = 0
RightButtonAreaTop = 557
RightButtonAreaBottom = 0
MiddleButtonAreaLeft = 0
MiddleButtonAreaRight = 0
MiddleButtonAreaTop = 0
MiddleButtonAreaBottom = 0

I followed several links on this topic but settings simply do not work so it is a driver issue I suppose:
https://wiki.archlinux.org/index.php/Touchpad_Synaptics
http://en.community.dell.com/techcenter/os-applications/f/4613/t/19544120
https://wiki.archlinux.org/index.php/Touchpad_Synaptics
http://stevenkohlmeyer.com/fixing-palm-detect-ubuntu-14-04/
http://xps13-9333.appspot.com/#touchpad

Did not try the patch in the last link as it is 'way above my head' and pretty unsure whether this will solve it...

@dchambers

This comment has been minimized.

Show comment
Hide comment
@dchambers

dchambers Jun 11, 2015

Hi @Robsteranium, the ArchLinux XPS 13 page seems to be the best resource for the XPS 13 I can find, and if you ignore Broadcom Wifi & Bluetooth issues (you can after all purchase an Intel card quite cheaply), then this seems to be the only outstanding issue.

dchambers commented Jun 11, 2015

Hi @Robsteranium, the ArchLinux XPS 13 page seems to be the best resource for the XPS 13 I can find, and if you ignore Broadcom Wifi & Bluetooth issues (you can after all purchase an Intel card quite cheaply), then this seems to be the only outstanding issue.

@gitaarik

This comment has been minimized.

Show comment
Hide comment
@gitaarik

gitaarik Jun 14, 2015

My output of xinput list contained an unknown device:

~ $ xinput
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ DLL0665:01 06CB:76AD UNKNOWN              id=11   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [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)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=14   [slave  keyboard (3)]

You see, the DLL0665:01 06CB:76AD UNKNOWN device. I noticed that this was the device in use and not SynPS/2 Synaptics TouchPad, because setting the Device Enabled property to 0 on the latter didn't disable my touchpad but on the former it did. So I tried setting the Synaptics Palm Detection and Synaptics Palm Dimensions properties on this device but it still didn't have any effect.

I checked the Arch Linux XPS 13 wiki page, it says this:

With the latest BIOS patch, most of the touchpad functions should work, although palm detection does not work in i2c mode yet.

I'm not sure what "i2c mode" is and I'm not sure how to disable it, but I just tried a couple of things and I ended up adding this line:

blacklist i2c_hid

to /etc/modprobe.d/blacklist.conf. This blacklists the linux kernel module i2c_hid, so it won't get loaded. After I rebooted the laptop, I noticed the unknown device disappeared from the xinput list output:

~ $ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [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)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]

Not sure why disabling the i2c_hid module has this effect. Anyway, now changing the Device Enabled property on SynPS/2 Synaptics TouchPad did have effect, but changing the Synaptics Palm Detection and Synaptics Palm Dimensions properties still didn't have any effect.

But while I was experimenting, I noticed that the behavior did change somewhat. I noticed that while I was typing, I didn't have accidental taps anymore. I found out this was because the process syndaemon was running. This is a daemon that disables the touchpad when there's keyboard activity. I checked if this was also running if I didn't blacklist the i2c_hid module and it was, but then it apparently didn't have any effect.

So, as far as I can see, blacklisting the linux kernel module ic2_hid makes an unknown device in xinput list disappear and syndaemon work. When syndaemon works, I actually don't have a lot of issues with the touchpad anymore (at least for now).

Hope this helps anyone. Btw, I have a XPS 13 Core i5 without touchscreen, with Ubuntu 15.04 and the latest BIOS driver (A04).

Edit: Too bad, I just noticed that when I'm blacklisting ic2_hid, the mousepad occasionally freezes (the pointer stops moving for about half a second) every couple of seconds. I checked if this was because of syndaemon but turning that off didn't make a change. Very sad, this is at least as annoying as the occasional palm touches... I might just turn of the tap functionality and use the click functionality of the touch pad only.

gitaarik commented Jun 14, 2015

My output of xinput list contained an unknown device:

~ $ xinput
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ DLL0665:01 06CB:76AD UNKNOWN              id=11   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [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)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=14   [slave  keyboard (3)]

You see, the DLL0665:01 06CB:76AD UNKNOWN device. I noticed that this was the device in use and not SynPS/2 Synaptics TouchPad, because setting the Device Enabled property to 0 on the latter didn't disable my touchpad but on the former it did. So I tried setting the Synaptics Palm Detection and Synaptics Palm Dimensions properties on this device but it still didn't have any effect.

I checked the Arch Linux XPS 13 wiki page, it says this:

With the latest BIOS patch, most of the touchpad functions should work, although palm detection does not work in i2c mode yet.

I'm not sure what "i2c mode" is and I'm not sure how to disable it, but I just tried a couple of things and I ended up adding this line:

blacklist i2c_hid

to /etc/modprobe.d/blacklist.conf. This blacklists the linux kernel module i2c_hid, so it won't get loaded. After I rebooted the laptop, I noticed the unknown device disappeared from the xinput list output:

~ $ xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [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)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Integrated_Webcam_HD                      id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=13   [slave  keyboard (3)]

Not sure why disabling the i2c_hid module has this effect. Anyway, now changing the Device Enabled property on SynPS/2 Synaptics TouchPad did have effect, but changing the Synaptics Palm Detection and Synaptics Palm Dimensions properties still didn't have any effect.

But while I was experimenting, I noticed that the behavior did change somewhat. I noticed that while I was typing, I didn't have accidental taps anymore. I found out this was because the process syndaemon was running. This is a daemon that disables the touchpad when there's keyboard activity. I checked if this was also running if I didn't blacklist the i2c_hid module and it was, but then it apparently didn't have any effect.

So, as far as I can see, blacklisting the linux kernel module ic2_hid makes an unknown device in xinput list disappear and syndaemon work. When syndaemon works, I actually don't have a lot of issues with the touchpad anymore (at least for now).

Hope this helps anyone. Btw, I have a XPS 13 Core i5 without touchscreen, with Ubuntu 15.04 and the latest BIOS driver (A04).

Edit: Too bad, I just noticed that when I'm blacklisting ic2_hid, the mousepad occasionally freezes (the pointer stops moving for about half a second) every couple of seconds. I checked if this was because of syndaemon but turning that off didn't make a change. Very sad, this is at least as annoying as the occasional palm touches... I might just turn of the tap functionality and use the click functionality of the touch pad only.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 17, 2015

@gitaarik: I did follow your settings. In the end the "disable while typing" does not work however, I still have jumps and taps. Are you sure it is working for you?

Some other weird behaviour I noticed:

  • setting the "Synaptics Two-Finger Width" to 1 (xinput set-prop 13 "Synaptics Two-Finger Width" 1) or 10000000 does not do anything (two finger scrolling works but the width does not matter); when I set it to 0 however, the cursor stops all together, so that 'does work'.

It think 2 finger width and palm detection are closely related and both do not work with current drivers.

musicformellons commented Jun 17, 2015

@gitaarik: I did follow your settings. In the end the "disable while typing" does not work however, I still have jumps and taps. Are you sure it is working for you?

Some other weird behaviour I noticed:

  • setting the "Synaptics Two-Finger Width" to 1 (xinput set-prop 13 "Synaptics Two-Finger Width" 1) or 10000000 does not do anything (two finger scrolling works but the width does not matter); when I set it to 0 however, the cursor stops all together, so that 'does work'.

It think 2 finger width and palm detection are closely related and both do not work with current drivers.

@gitaarik

This comment has been minimized.

Show comment
Hide comment
@gitaarik

gitaarik Jun 17, 2015

@musicformellons yes, pretty sure it worked for me. Did you have the unknown device in the xinput list output? What did you try? The id of your device (13) doesn't tell me much.

gitaarik commented Jun 17, 2015

@musicformellons yes, pretty sure it worked for me. Did you have the unknown device in the xinput list output? What did you try? The id of your device (13) doesn't tell me much.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 17, 2015

@gitaarik Yes I had the exact same unknown device. All of your steps were the same. Whether I set the Gnome GUI setting checkbox for "Disable while typing" checked or unchecked does not make a difference it seems.

My settings:
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (272): 1
Device Accel Constant Deceleration (273): 1.000000
Device Accel Adaptive Deceleration (274): 1.000000
Device Accel Velocity Scaling (275): 12.500000
Synaptics Edges (297): 1583, 5359, 1371, 4481
Synaptics Finger (298): 10, 14, 0
Synaptics Tap Time (299): 250
Synaptics Tap Move (300): 350
Synaptics Tap Durations (301): 180, 100, 100
Synaptics ClickPad (302): 1
Synaptics Middle Button Timeout (303): 0
Synaptics Two-Finger Pressure (304): 40
Synaptics Two-Finger Width (305): 12
Synaptics Scrolling Distance (306): -190, -300
Synaptics Edge Scrolling (307): 0, 0, 1
Synaptics Two-Finger Scrolling (308): 1, 1
Synaptics Move Speed (309): 1.000000, 12.000000, 0.022000, 0.000000
Synaptics Off (310): 2
Synaptics Locked Drags (311): 0
Synaptics Locked Drags Timeout (312): 5000
Synaptics Tap Action (313): 2, 3, 0, 8, 1, 3, 2
Synaptics Click Action (314): 1, 3, 0
Synaptics Circular Scrolling (315): 1
Synaptics Circular Scrolling Distance (316): 0.100000
Synaptics Circular Scrolling Trigger (317): 7
Synaptics Circular Pad (318): 0
Synaptics Palm Detection (319): 1
Synaptics Palm Dimensions (320): 5, 5
Synaptics Coasting Speed (321): 20.000000, 50.000000
Synaptics Pressure Motion (322): 30, 160
Synaptics Pressure Motion Factor (323): 1.000000, 1.000000
Synaptics Resolution Detect (324): 1
Synaptics Grab Event Device (325): 0
Synaptics Gestures (326): 1
Synaptics Capabilities (327): 1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (328): 1, 1
Synaptics Area (329): 0, 0, 0, 0
Synaptics Soft Button Areas (330): 3471, 0, 4083, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (331): 28, 28
Device Product ID (259): 2, 7
Device Node (260): "/dev/input/event6"

musicformellons commented Jun 17, 2015

@gitaarik Yes I had the exact same unknown device. All of your steps were the same. Whether I set the Gnome GUI setting checkbox for "Disable while typing" checked or unchecked does not make a difference it seems.

My settings:
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (272): 1
Device Accel Constant Deceleration (273): 1.000000
Device Accel Adaptive Deceleration (274): 1.000000
Device Accel Velocity Scaling (275): 12.500000
Synaptics Edges (297): 1583, 5359, 1371, 4481
Synaptics Finger (298): 10, 14, 0
Synaptics Tap Time (299): 250
Synaptics Tap Move (300): 350
Synaptics Tap Durations (301): 180, 100, 100
Synaptics ClickPad (302): 1
Synaptics Middle Button Timeout (303): 0
Synaptics Two-Finger Pressure (304): 40
Synaptics Two-Finger Width (305): 12
Synaptics Scrolling Distance (306): -190, -300
Synaptics Edge Scrolling (307): 0, 0, 1
Synaptics Two-Finger Scrolling (308): 1, 1
Synaptics Move Speed (309): 1.000000, 12.000000, 0.022000, 0.000000
Synaptics Off (310): 2
Synaptics Locked Drags (311): 0
Synaptics Locked Drags Timeout (312): 5000
Synaptics Tap Action (313): 2, 3, 0, 8, 1, 3, 2
Synaptics Click Action (314): 1, 3, 0
Synaptics Circular Scrolling (315): 1
Synaptics Circular Scrolling Distance (316): 0.100000
Synaptics Circular Scrolling Trigger (317): 7
Synaptics Circular Pad (318): 0
Synaptics Palm Detection (319): 1
Synaptics Palm Dimensions (320): 5, 5
Synaptics Coasting Speed (321): 20.000000, 50.000000
Synaptics Pressure Motion (322): 30, 160
Synaptics Pressure Motion Factor (323): 1.000000, 1.000000
Synaptics Resolution Detect (324): 1
Synaptics Grab Event Device (325): 0
Synaptics Gestures (326): 1
Synaptics Capabilities (327): 1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (328): 1, 1
Synaptics Area (329): 0, 0, 0, 0
Synaptics Soft Button Areas (330): 3471, 0, 4083, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (331): 28, 28
Device Product ID (259): 2, 7
Device Node (260): "/dev/input/event6"

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 17, 2015

@gitaarik BTW: I do not have freezes... I am on Dell XPS 13 9343, ubuntu 15.04 Gnome, bios A03 and kernel 4.1

musicformellons commented Jun 17, 2015

@gitaarik BTW: I do not have freezes... I am on Dell XPS 13 9343, ubuntu 15.04 Gnome, bios A03 and kernel 4.1

@gitaarik

This comment has been minimized.

Show comment
Hide comment
@gitaarik

gitaarik Jun 18, 2015

@musicformellons Did you check if the syndaemon process is running?

ps aux | grep syndaemon

For me this process was always running (as long as the "Disable while typing" checkbox in the touchpad settings was checked), but only worked after I blacklisted i2c_hid and restarted. But yeah, then I had the freezes too.

gitaarik commented Jun 18, 2015

@musicformellons Did you check if the syndaemon process is running?

ps aux | grep syndaemon

For me this process was always running (as long as the "Disable while typing" checkbox in the touchpad settings was checked), but only worked after I blacklisted i2c_hid and restarted. But yeah, then I had the freezes too.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 18, 2015

Not sure about output, but seems to be running?!:
885 0.0 0.0 22352 232 ? Ss 10:44 0:00
/usr/bin/syndaemon -d -t -k -i 2
1010 0.0 0.0 22352 2492 ? S 10:44 0:00 syndaemon -i
1.0 -t -K -R
2063 0.0 0.0 13696 2216 pts/0 R+ 10:46 0:00 grep
--color=auto syndaemon

2015-06-18 10:36 GMT+02:00 Rik notifications@github.com:

@musicformellons https://github.com/musicformellons Did you check if
the syndaemon process is running?

ps aux | grep syndaemon

For me this process was always running (as long as the "Disable while
typing" checkbox in the touchpad settings was checked), but only worked
after I blacklisted i2c_hid and restarted. But yeah, then I had the
freezes too.


Reply to this email directly or view it on GitHub
#3 (comment)
.

musicformellons commented Jun 18, 2015

Not sure about output, but seems to be running?!:
885 0.0 0.0 22352 232 ? Ss 10:44 0:00
/usr/bin/syndaemon -d -t -k -i 2
1010 0.0 0.0 22352 2492 ? S 10:44 0:00 syndaemon -i
1.0 -t -K -R
2063 0.0 0.0 13696 2216 pts/0 R+ 10:46 0:00 grep
--color=auto syndaemon

2015-06-18 10:36 GMT+02:00 Rik notifications@github.com:

@musicformellons https://github.com/musicformellons Did you check if
the syndaemon process is running?

ps aux | grep syndaemon

For me this process was always running (as long as the "Disable while
typing" checkbox in the touchpad settings was checked), but only worked
after I blacklisted i2c_hid and restarted. But yeah, then I had the
freezes too.


Reply to this email directly or view it on GitHub
#3 (comment)
.

@gitaarik

This comment has been minimized.

Show comment
Hide comment
@gitaarik

gitaarik Jun 18, 2015

It even looks like it's running two times for you, /usr/bin/syndaemon -d -t -k -i 2 and syndaemon -i 1.0 -t -K -R. Not sure why it's running two times for you, maybe that's the problem. You can kill one with kill <process-id> where the number on the left in the output is the process id. You can also spin off a new process by entering the command yourself. You can check the options for syndaemon with man syndaemon or maybe syndaemon --help.

gitaarik commented Jun 18, 2015

It even looks like it's running two times for you, /usr/bin/syndaemon -d -t -k -i 2 and syndaemon -i 1.0 -t -K -R. Not sure why it's running two times for you, maybe that's the problem. You can kill one with kill <process-id> where the number on the left in the output is the process id. You can also spin off a new process by entering the command yourself. You can check the options for syndaemon with man syndaemon or maybe syndaemon --help.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 18, 2015

yes, I followed this:
https://wiki.debian.org/SynapticsTouchpad
which runs the /usr/bin/syndaemon

the other one is the one of Gnome GUI checkbox.

Killing one or the other does not work: touchpad remains on while typing.

I did delete the first one as it seems redundant.

Thanks anyways.

2015-06-18 12:37 GMT+02:00 Rik notifications@github.com:

It even looks like it's running two times for you, /usr/bin/syndaemon -d
-t -k -i 2 and syndaemon -i 1.0 -t -K -R. Not sure why it's running two
times for you, maybe that's the problem. You can kill one with kill
where the number on the left in the output is the process
id. You can also spin off a new process by entering the command yourself.
You can check the options for syndaemon with man syndaemon or maybe syndaemon
--help.


Reply to this email directly or view it on GitHub
#3 (comment)
.

musicformellons commented Jun 18, 2015

yes, I followed this:
https://wiki.debian.org/SynapticsTouchpad
which runs the /usr/bin/syndaemon

the other one is the one of Gnome GUI checkbox.

Killing one or the other does not work: touchpad remains on while typing.

I did delete the first one as it seems redundant.

Thanks anyways.

2015-06-18 12:37 GMT+02:00 Rik notifications@github.com:

It even looks like it's running two times for you, /usr/bin/syndaemon -d
-t -k -i 2 and syndaemon -i 1.0 -t -K -R. Not sure why it's running two
times for you, maybe that's the problem. You can kill one with kill
where the number on the left in the output is the process
id. You can also spin off a new process by entering the command yourself.
You can check the options for syndaemon with man syndaemon or maybe syndaemon
--help.


Reply to this email directly or view it on GitHub
#3 (comment)
.

@gitaarik

This comment has been minimized.

Show comment
Hide comment
@gitaarik

gitaarik Jun 18, 2015

@musicformellons are you also still able to tap-to-click with the touchpad while typing?

gitaarik commented Jun 18, 2015

@musicformellons are you also still able to tap-to-click with the touchpad while typing?

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 18, 2015

@gitaarik AAAH! It works! GREAT! As the value of "Synaptics Off" is set to
2 (I tried setting it to 0 before but that stopped my touchpad completely)
I was thinking that the swipes would still occur but that clicks should be
blocked. That is what I tested all the time (so I do not know if it worked
while having syndaemon running twice). But you are right it is stopping
taps form occurring. Very clearly so. So it works for taps which is great!

Actually after fine-tuning the settings I am starting to feel pretty
comfortable about the touchpad. A pity that palm detection does not work
but this is already quite good.

I tried now to set Synaptics Off to 0 (to also block swiping), but it will
not accept this setting it seems. It does not alter the behavior (swipes
continue while typing; taps are blocked). The setting gives this (look at
the end for strange lines..., it seems to toggle back from 0 to 2... ):
~$ xinput --watch-props 13
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (272): 1
Device Accel Constant Deceleration (273): 1.000000
Device Accel Adaptive Deceleration (274): 1.000000
Device Accel Velocity Scaling (275): 12.500000
Synaptics Edges (297): 1583, 5359, 1371, 4481
Synaptics Finger (298): 10, 14, 0
Synaptics Tap Time (299): 180
Synaptics Tap Move (300): 350
Synaptics Tap Durations (301): 180, 100, 100
Synaptics ClickPad (302): 1
Synaptics Middle Button Timeout (303): 0
Synaptics Two-Finger Pressure (304): 40
Synaptics Two-Finger Width (305): 12
Synaptics Scrolling Distance (306): -200, -300
Synaptics Edge Scrolling (307): 0, 0, 1
Synaptics Two-Finger Scrolling (308): 1, 1
Synaptics Move Speed (309): 1.000000, 12.000000, 0.022000, 0.000000
Synaptics Off (310): 2
Synaptics Locked Drags (311): 1
Synaptics Locked Drags Timeout (312): 5000
Synaptics Tap Action (313): 2, 3, 0, 8, 1, 3, 2
Synaptics Click Action (314): 1, 3, 0
Synaptics Circular Scrolling (315): 0
Synaptics Circular Scrolling Distance (316): 0.100000
Synaptics Circular Scrolling Trigger (317): 7
Synaptics Circular Pad (318): 0
Synaptics Palm Detection (319): 1
Synaptics Palm Dimensions (320): 5, 5
Synaptics Coasting Speed (321): 20.000000, 50.000000
Synaptics Pressure Motion (322): 30, 160
Synaptics Pressure Motion Factor (323): 1.000000, 1.000000
Synaptics Resolution Detect (324): 1
Synaptics Grab Event Device (325): 0
Synaptics Gestures (326): 1
Synaptics Capabilities (327): 1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (328): 1, 1
Synaptics Area (329): 0, 0, 0, 0
Synaptics Soft Button Areas (330): 3471, 0, 4083, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (331): 28, 28
Device Product ID (259): 2, 7
Device Node (260): "/dev/input/event5"
Property 'Synaptics Off' changed.
Synaptics Off (310): 0
Property 'Synaptics Off' changed.
Synaptics Off (310): 2
Property 'Synaptics Off' changed.
Synaptics Off (310): 0

2015-06-18 15:04 GMT+02:00 Rik notifications@github.com:

@musicformellons https://github.com/musicformellons are you also still
able to tap-to-click with the touchpad while typing?


Reply to this email directly or view it on GitHub
#3 (comment)
.

musicformellons commented Jun 18, 2015

@gitaarik AAAH! It works! GREAT! As the value of "Synaptics Off" is set to
2 (I tried setting it to 0 before but that stopped my touchpad completely)
I was thinking that the swipes would still occur but that clicks should be
blocked. That is what I tested all the time (so I do not know if it worked
while having syndaemon running twice). But you are right it is stopping
taps form occurring. Very clearly so. So it works for taps which is great!

Actually after fine-tuning the settings I am starting to feel pretty
comfortable about the touchpad. A pity that palm detection does not work
but this is already quite good.

I tried now to set Synaptics Off to 0 (to also block swiping), but it will
not accept this setting it seems. It does not alter the behavior (swipes
continue while typing; taps are blocked). The setting gives this (look at
the end for strange lines..., it seems to toggle back from 0 to 2... ):
~$ xinput --watch-props 13
Device 'SynPS/2 Synaptics TouchPad':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000,
0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (272): 1
Device Accel Constant Deceleration (273): 1.000000
Device Accel Adaptive Deceleration (274): 1.000000
Device Accel Velocity Scaling (275): 12.500000
Synaptics Edges (297): 1583, 5359, 1371, 4481
Synaptics Finger (298): 10, 14, 0
Synaptics Tap Time (299): 180
Synaptics Tap Move (300): 350
Synaptics Tap Durations (301): 180, 100, 100
Synaptics ClickPad (302): 1
Synaptics Middle Button Timeout (303): 0
Synaptics Two-Finger Pressure (304): 40
Synaptics Two-Finger Width (305): 12
Synaptics Scrolling Distance (306): -200, -300
Synaptics Edge Scrolling (307): 0, 0, 1
Synaptics Two-Finger Scrolling (308): 1, 1
Synaptics Move Speed (309): 1.000000, 12.000000, 0.022000, 0.000000
Synaptics Off (310): 2
Synaptics Locked Drags (311): 1
Synaptics Locked Drags Timeout (312): 5000
Synaptics Tap Action (313): 2, 3, 0, 8, 1, 3, 2
Synaptics Click Action (314): 1, 3, 0
Synaptics Circular Scrolling (315): 0
Synaptics Circular Scrolling Distance (316): 0.100000
Synaptics Circular Scrolling Trigger (317): 7
Synaptics Circular Pad (318): 0
Synaptics Palm Detection (319): 1
Synaptics Palm Dimensions (320): 5, 5
Synaptics Coasting Speed (321): 20.000000, 50.000000
Synaptics Pressure Motion (322): 30, 160
Synaptics Pressure Motion Factor (323): 1.000000, 1.000000
Synaptics Resolution Detect (324): 1
Synaptics Grab Event Device (325): 0
Synaptics Gestures (326): 1
Synaptics Capabilities (327): 1, 0, 0, 1, 1, 1, 1
Synaptics Pad Resolution (328): 1, 1
Synaptics Area (329): 0, 0, 0, 0
Synaptics Soft Button Areas (330): 3471, 0, 4083, 0, 0, 0, 0, 0
Synaptics Noise Cancellation (331): 28, 28
Device Product ID (259): 2, 7
Device Node (260): "/dev/input/event5"
Property 'Synaptics Off' changed.
Synaptics Off (310): 0
Property 'Synaptics Off' changed.
Synaptics Off (310): 2
Property 'Synaptics Off' changed.
Synaptics Off (310): 0

2015-06-18 15:04 GMT+02:00 Rik notifications@github.com:

@musicformellons https://github.com/musicformellons are you also still
able to tap-to-click with the touchpad while typing?


Reply to this email directly or view it on GitHub
#3 (comment)
.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Jun 18, 2015

The other syndaemon service (I had before) works as well separately (when I
uncheck 'disable typing') and then I can set the inverval as I like.

2015-06-18 15:04 GMT+02:00 Rik notifications@github.com:

@musicformellons https://github.com/musicformellons are you also still
able to tap-to-click with the touchpad while typing?


Reply to this email directly or view it on GitHub
#3 (comment)
.

musicformellons commented Jun 18, 2015

The other syndaemon service (I had before) works as well separately (when I
uncheck 'disable typing') and then I can set the inverval as I like.

2015-06-18 15:04 GMT+02:00 Rik notifications@github.com:

@musicformellons https://github.com/musicformellons are you also still
able to tap-to-click with the touchpad while typing?


Reply to this email directly or view it on GitHub
#3 (comment)
.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Dec 2, 2015

Holy! So probably a year from now...

musicformellons commented Dec 2, 2015

Holy! So probably a year from now...

@jared-dominguez

This comment has been minimized.

Show comment
Hide comment
@jared-dominguez

jared-dominguez Dec 2, 2015

It's queued for the 4.5 merge window. Once it's accepted for 4.5, my plan is to request it be backported to stable kernel releases. I have a fairly high confidence in it being accepted for backporting.

jared-dominguez commented Dec 2, 2015

It's queued for the 4.5 merge window. Once it's accepted for 4.5, my plan is to request it be backported to stable kernel releases. I have a fairly high confidence in it being accepted for backporting.

@llaumgui

This comment has been minimized.

Show comment
Hide comment
@llaumgui

llaumgui Dec 2, 2015

Have you a link on kernel.org with this patch ? I whould like open a bug on Fedora's bugzilla.

llaumgui commented Dec 2, 2015

Have you a link on kernel.org with this patch ? I whould like open a bug on Fedora's bugzilla.

@7h3kk1d

This comment has been minimized.

Show comment
Hide comment
@7h3kk1d

7h3kk1d Dec 2, 2015

Thanks for all the hard work guys.

7h3kk1d commented Dec 2, 2015

Thanks for all the hard work guys.

@linuxstudio

This comment has been minimized.

Show comment
Hide comment
@linuxstudio

linuxstudio Dec 23, 2015

Today I finally had the time to try the patch and I can confirm that it works very well.
I don't have any more the problem with the missed palm detection on my xps13 9343.
The procedure that I've followed for recompiling the kernel of my Ubuntu 15.10 is the one at this link:
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
Thanks for the great work :)

linuxstudio commented Dec 23, 2015

Today I finally had the time to try the patch and I can confirm that it works very well.
I don't have any more the problem with the missed palm detection on my xps13 9343.
The procedure that I've followed for recompiling the kernel of my Ubuntu 15.10 is the one at this link:
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
Thanks for the great work :)

@timeu

This comment has been minimized.

Show comment
Hide comment
@timeu

timeu Dec 23, 2015

@jared-dominguez: Do you have any news on the backporting ETA ?

timeu commented Dec 23, 2015

@jared-dominguez: Do you have any news on the backporting ETA ?

@soren121

This comment has been minimized.

Show comment
Hide comment
@soren121

soren121 Dec 23, 2015

@timeu He said he would request backports when it's accepted into 4.5. The merge window for 4.5 won't be open until January, so it'll be a while longer.

soren121 commented Dec 23, 2015

@timeu He said he would request backports when it's accepted into 4.5. The merge window for 4.5 won't be open until January, so it'll be a while longer.

@musicformellons

This comment has been minimized.

Show comment
Hide comment
@musicformellons

musicformellons Mar 17, 2016

Do you have status update maybe? I am on Ubuntu Gnome 15.10.

musicformellons commented Mar 17, 2016

Do you have status update maybe? I am on Ubuntu Gnome 15.10.

@iddo

This comment has been minimized.

Show comment
Hide comment
@iddo

iddo Mar 17, 2016

@musicformellons I installed the mainline kernel (4.5) on Ubuntu Gnome 15.10 and the palm detection works perfectly

iddo commented Mar 17, 2016

@musicformellons I installed the mainline kernel (4.5) on Ubuntu Gnome 15.10 and the palm detection works perfectly

@soren121

This comment has been minimized.

Show comment
Hide comment
@soren121

soren121 Mar 17, 2016

@musicformellons Adding on to what iddo said: the patch was accepted into kernel 4.5 as expected. However, I searched the changelogs and it seems it hasn't been backported into older kernels yet.

Unfortunately, the next Ubuntu release, 16.04, will be using kernel 4.4, so even if you upgrade to 16.04, you'll still have to install a newer kernel like @iddo did. I don't personally use Ubuntu so I don't know where to get newer kernel packages.

soren121 commented Mar 17, 2016

@musicformellons Adding on to what iddo said: the patch was accepted into kernel 4.5 as expected. However, I searched the changelogs and it seems it hasn't been backported into older kernels yet.

Unfortunately, the next Ubuntu release, 16.04, will be using kernel 4.4, so even if you upgrade to 16.04, you'll still have to install a newer kernel like @iddo did. I don't personally use Ubuntu so I don't know where to get newer kernel packages.

@smhg

This comment has been minimized.

Show comment
Hide comment
@smhg

smhg Mar 18, 2016

@iddo, so you installed the applicable deb packages from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/ and used xinput to set the properties on the 2 devices?

xinput set-prop "DLL0665:01 06CB:76AD Touchpad" "Synaptics Palm Detection" 1
xinput set-prop "DLL0665:01 06CB:76AD Touchpad" "Synaptics Palm Dimensions" 5, 5
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Palm Detection" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Palm Dimensions" 5, 5

It might improve things a bit, but palm detection is definitely still not very good with these settings.
Did you do anything else? Or use different dimensions?

smhg commented Mar 18, 2016

@iddo, so you installed the applicable deb packages from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily/ and used xinput to set the properties on the 2 devices?

xinput set-prop "DLL0665:01 06CB:76AD Touchpad" "Synaptics Palm Detection" 1
xinput set-prop "DLL0665:01 06CB:76AD Touchpad" "Synaptics Palm Dimensions" 5, 5
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Palm Detection" 1
xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Palm Dimensions" 5, 5

It might improve things a bit, but palm detection is definitely still not very good with these settings.
Did you do anything else? Or use different dimensions?

@urbie-mk2

This comment has been minimized.

Show comment
Hide comment
@urbie-mk2

urbie-mk2 Mar 18, 2016

@smhg I found the palm detection and pressure properties having no effect.

Like I wrote above, I had a problem with small cursor jumps when the palm wipes from the palm rest onto to the touch area because the first touch by your palm seems too small to be detected as a palm. You can avoid these jumps by narrowing down the initial touch area with
AreaLeftEdge = 190
AreaRightEdge = 1100
AreaTopEdge = 110

These values work for me. You might need to adapt them for your ergonomical usage.
I had no problems with unintended cursor movements ever since this change.

Apart from palm detection properly working, I decided to remove the tap delay to have an instant reaction by setting both ClickTime and SingleTapTimeout to 0. Naturally after this change drag and drop by tapping will stop working (this will still work using button clicks). For Drag and Drop I use a three finger gesture using touchegg. To make touchegg work with the synaptics driver, you need to set ClickFinger3 to 0 to allow handling of three touches by touchegg.

urbie-mk2 commented Mar 18, 2016

@smhg I found the palm detection and pressure properties having no effect.

Like I wrote above, I had a problem with small cursor jumps when the palm wipes from the palm rest onto to the touch area because the first touch by your palm seems too small to be detected as a palm. You can avoid these jumps by narrowing down the initial touch area with
AreaLeftEdge = 190
AreaRightEdge = 1100
AreaTopEdge = 110

These values work for me. You might need to adapt them for your ergonomical usage.
I had no problems with unintended cursor movements ever since this change.

Apart from palm detection properly working, I decided to remove the tap delay to have an instant reaction by setting both ClickTime and SingleTapTimeout to 0. Naturally after this change drag and drop by tapping will stop working (this will still work using button clicks). For Drag and Drop I use a three finger gesture using touchegg. To make touchegg work with the synaptics driver, you need to set ClickFinger3 to 0 to allow handling of three touches by touchegg.

@dahabakuk

This comment has been minimized.

Show comment
Hide comment
@dahabakuk

dahabakuk Apr 8, 2016

after upgrading to xenial 16.04 palm detection works now. yippiieee

$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL0665:01 06CB:76AD Touchpad id=12 [slave pointer (2)]

/etc/X11/xorg.conf.d$ cat 99-libinput.conf
Section "InputClass"
Identifier "libinput"
Driver "libinput"
MatchDevicePath "/dev/input/event*"
MatchIsTouchpad "true"
Option "Tapping" "true"
Option "ClickMethod" "clickfinger"
Option "NaturalScrolling" "true"
EndSection

$ cat /etc/modprobe.d/blacklist.conf |grep psmouse
blacklist psmouse

dunno if this settings are necessary anymore they improved the situation in 15.10 but did not solve the palm detection issue. on 16.04 for me everything is working touchpad-wise

dahabakuk commented Apr 8, 2016

after upgrading to xenial 16.04 palm detection works now. yippiieee

$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL0665:01 06CB:76AD Touchpad id=12 [slave pointer (2)]

/etc/X11/xorg.conf.d$ cat 99-libinput.conf
Section "InputClass"
Identifier "libinput"
Driver "libinput"
MatchDevicePath "/dev/input/event*"
MatchIsTouchpad "true"
Option "Tapping" "true"
Option "ClickMethod" "clickfinger"
Option "NaturalScrolling" "true"
EndSection

$ cat /etc/modprobe.d/blacklist.conf |grep psmouse
blacklist psmouse

dunno if this settings are necessary anymore they improved the situation in 15.10 but did not solve the palm detection issue. on 16.04 for me everything is working touchpad-wise

@cerealcable

This comment has been minimized.

Show comment
Hide comment
@cerealcable

cerealcable Apr 8, 2016

I thought the fix was staged for 4.5 and not 4.4 which is what 16.04 has.

Morgan Humes

On Fri, Apr 8, 2016 at 11:01 AM, da_habakuk notifications@github.com
wrote:

after upgrading to xenial 16.04 palm detection works now. yippiieee
xinput --list

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL0665:01 06CB:76AD Touchpad id=12 [slave pointer (2)]

/etc/X11/xorg.conf.d# cat 99-libinput.conf
Section "InputClass"
Identifier "libinput"
Driver "libinput"
MatchDevicePath "/dev/input/event*"
MatchIsTouchpad "true"
Option "Tapping" "true"
Option "ClickMethod" "clickfinger"
#Option "TappingDragLock" "true"
#Option "ClickMethod" "none"
Option "NaturalScrolling" "true"
EndSection
cat /etc/modprobe.d/blacklist.conf |grep psmouse

blacklist psmouse

dunno if this settings are necessary anymore the improved the situation in
15.10 but did not solve the palm detection issue.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#3 (comment)

cerealcable commented Apr 8, 2016

I thought the fix was staged for 4.5 and not 4.4 which is what 16.04 has.

Morgan Humes

On Fri, Apr 8, 2016 at 11:01 AM, da_habakuk notifications@github.com
wrote:

after upgrading to xenial 16.04 palm detection works now. yippiieee
xinput --list

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ DLL0665:01 06CB:76AD Touchpad id=12 [slave pointer (2)]

/etc/X11/xorg.conf.d# cat 99-libinput.conf
Section "InputClass"
Identifier "libinput"
Driver "libinput"
MatchDevicePath "/dev/input/event*"
MatchIsTouchpad "true"
Option "Tapping" "true"
Option "ClickMethod" "clickfinger"
#Option "TappingDragLock" "true"
#Option "ClickMethod" "none"
Option "NaturalScrolling" "true"
EndSection
cat /etc/modprobe.d/blacklist.conf |grep psmouse

blacklist psmouse

dunno if this settings are necessary anymore the improved the situation in
15.10 but did not solve the palm detection issue.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#3 (comment)

@dahabakuk

This comment has been minimized.

Show comment
Hide comment
@dahabakuk

dahabakuk Apr 8, 2016

i normally dont google for others but here you are:
http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/log/?qt=grep&q=MT_QUIRK_VALID_IS_CONFIDENCE

so yes, it won't work with mainline 4.4 :) but with the backported patch for xenial 4.4

dahabakuk commented Apr 8, 2016

i normally dont google for others but here you are:
http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/log/?qt=grep&q=MT_QUIRK_VALID_IS_CONFIDENCE

so yes, it won't work with mainline 4.4 :) but with the backported patch for xenial 4.4

@jared-dominguez

This comment has been minimized.

Show comment
Hide comment
@jared-dominguez

jared-dominguez Apr 8, 2016

@cerealcable as @dahabakuk pointed out I made sure that the patch was backported.

jared-dominguez commented Apr 8, 2016

@cerealcable as @dahabakuk pointed out I made sure that the patch was backported.

@mpalourdio

This comment has been minimized.

Show comment
Hide comment
@mpalourdio

mpalourdio Apr 10, 2016

Hi !

Is this patch supposed to work with libinput driver only or does-it work with synpatic drivers ?

For synaptic, what it the option flag to enable/disable the feature ? How to check from cmd if the feature is implemented ?

Does someone know from which "ubuntu kernel" version this patch is available ? (4.4.0-x ?).

Thanks.

mpalourdio commented Apr 10, 2016

Hi !

Is this patch supposed to work with libinput driver only or does-it work with synpatic drivers ?

For synaptic, what it the option flag to enable/disable the feature ? How to check from cmd if the feature is implemented ?

Does someone know from which "ubuntu kernel" version this patch is available ? (4.4.0-x ?).

Thanks.

@dahabakuk

This comment has been minimized.

Show comment
Hide comment
@dahabakuk

dahabakuk Apr 11, 2016

does not work

$ synclient -l | grep PalmDetect
PalmDetect = 1

what does the synaptic driver do better than the libinput driver?

with libinput palmdetection,single,double,triple click and scrolling work all perfectly

dahabakuk commented Apr 11, 2016

does not work

$ synclient -l | grep PalmDetect
PalmDetect = 1

what does the synaptic driver do better than the libinput driver?

with libinput palmdetection,single,double,triple click and scrolling work all perfectly

@dragon788

This comment has been minimized.

Show comment
Hide comment
@dragon788

dragon788 Apr 17, 2016

Have you guys seen this new kernel patch for the touchpad? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1541671

dragon788 commented Apr 17, 2016

Have you guys seen this new kernel patch for the touchpad? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1541671

@soren121

This comment has been minimized.

Show comment
Hide comment
@soren121

soren121 Apr 17, 2016

@dragon788 That's the patch we've been talking about that was backported in Ubuntu. Nothing new.

soren121 commented Apr 17, 2016

@dragon788 That's the patch we've been talking about that was backported in Ubuntu. Nothing new.

@bburan

This comment has been minimized.

Show comment
Hide comment
@bburan

bburan Apr 21, 2016

Installed 4.6 with intel DRM extensions for my XPS13 9350 running Xenial and palm detection works great.

bburan commented Apr 21, 2016

Installed 4.6 with intel DRM extensions for my XPS13 9350 running Xenial and palm detection works great.

@KlintQinami

This comment has been minimized.

Show comment
Hide comment
@KlintQinami

KlintQinami Oct 23, 2016

I have the XPS13 9350 model. To fix the issue, I blacklisted psmouse after seeing that my friends XPS 13 with Fedora did not use psmouse. To do this, edit

/etc/modprobe.d/blacklist.conf

and add the line

blacklist psmouse

KlintQinami commented Oct 23, 2016

I have the XPS13 9350 model. To fix the issue, I blacklisted psmouse after seeing that my friends XPS 13 with Fedora did not use psmouse. To do this, edit

/etc/modprobe.d/blacklist.conf

and add the line

blacklist psmouse

@Mohamed3on

This comment has been minimized.

Show comment
Hide comment
@Mohamed3on

Mohamed3on Nov 18, 2016

Have the same issue on the new XPS 13 Developer edition. Has it ever been fixed? I've set PalmDetect to 1, but issue persists.

Mohamed3on commented Nov 18, 2016

Have the same issue on the new XPS 13 Developer edition. Has it ever been fixed? I've set PalmDetect to 1, but issue persists.

@blunden

This comment has been minimized.

Show comment
Hide comment
@blunden

blunden Feb 25, 2017

@Mohamed3on You still need to use the libinput driver instead of the synaptic driver as far as I know. Then you'll have working palm detection etc. but you need to add an xorg.conf.d config to enable most of the basic features that the synaptic driver enables by default. Below is an example of what I'm using on my Precision 5510.

Section "InputClass"
        Identifier "libinput"
        Driver "libinput"
        MatchDevicePath "/dev/input/event*"
        MatchIsTouchpad "on"
        Option "Tapping" "True"
        Option "TappingButtonMap" "lmr"
        Option "TappingDragLock" "True"
        Option "PalmDetection" "True"
        Option "DisableWhileTyping" "True"
        Option "NaturalScrolling" "True"
        Option "AccelProfile" "adaptive"
        Option "AccelSpeed" "0.05"
        Option "ClickMethod" "buttonareas"
        Option "MiddleEmulation" "True"
        Option "ScrollMethod" "twofinger"
        Option "HorizontalScrolling" "True"
EndSection

blunden commented Feb 25, 2017

@Mohamed3on You still need to use the libinput driver instead of the synaptic driver as far as I know. Then you'll have working palm detection etc. but you need to add an xorg.conf.d config to enable most of the basic features that the synaptic driver enables by default. Below is an example of what I'm using on my Precision 5510.

Section "InputClass"
        Identifier "libinput"
        Driver "libinput"
        MatchDevicePath "/dev/input/event*"
        MatchIsTouchpad "on"
        Option "Tapping" "True"
        Option "TappingButtonMap" "lmr"
        Option "TappingDragLock" "True"
        Option "PalmDetection" "True"
        Option "DisableWhileTyping" "True"
        Option "NaturalScrolling" "True"
        Option "AccelProfile" "adaptive"
        Option "AccelSpeed" "0.05"
        Option "ClickMethod" "buttonareas"
        Option "MiddleEmulation" "True"
        Option "ScrollMethod" "twofinger"
        Option "HorizontalScrolling" "True"
EndSection
@SoftwareApe

This comment has been minimized.

Show comment
Hide comment
@SoftwareApe

SoftwareApe Aug 18, 2017

I still have this problem in 17. Is there any fix?

SoftwareApe commented Aug 18, 2017

I still have this problem in 17. Is there any fix?

@blunden

This comment has been minimized.

Show comment
Hide comment
@blunden

blunden Aug 22, 2017

@SoftwareApe Using libinput is still the only way to get palm rejection as far as I know.

blunden commented Aug 22, 2017

@SoftwareApe Using libinput is still the only way to get palm rejection as far as I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment