hugegreenbug / xf86-input-cmt

X11 ChromiumOS touchpad driver ported to Linux
BSD 3-Clause "New" or "Revised" License
82 stars 15 forks source link

Can't enable tap-to-click! #3

Closed CoolOppo closed 9 years ago

CoolOppo commented 9 years ago

I am running this on an Acer C720 with Ubuntu 14.10. I have tried a ton of different things, including using xinput and synclient, both of which I have an understanding of. I have also purged and reinstalled the package; it didn't work either.

I am not sure if this is a common issue, but I have looked all over the place for weeks (only once I got frustrated enough that it inhibited my daily work). If you know of any way to fix this, I would appreciate your input a ton (no pun intended)!

hugegreenbug commented 9 years ago

I'm using tap to click every day, so I know it works. You can list all the options with xinput like this:

xinput --list-props 12

where 12 is the id of your touchpad. It should be 12, but it may not be if you have another mouse plugged in. The relevant option to enable tap is: Tap Enable . You can enable it like this:

xinput --set-int-prop 12 "Tap Enable" 8 1

In addition to this driver, I have a lot of pre-built distros for the Acer C720 with this driver built in. See here: www.distroshare.com .

hugegreenbug commented 9 years ago

You can also find a config file that I'm using in my distros here: https://github.com/hugegreenbug/distro-mods/blob/master/acerc720_common/usr/share/X11/xorg.conf.d/50-touchpad-cmt-peppy.conf .

CoolOppo commented 9 years ago

Thanks a ton; I'll try it right now!

CoolOppo commented 9 years ago

Huh, it's not working. I tried setting the property, and then I even saved that file to /usr/share/X11/xorg.conf.d/50-touchpad-cmt-peppy.conf, but it didn't work. Is it possible that somehow I have one or more drivers installed alongside xf86-input-cmt?

Here is what xinput --list-props 12 shows me (my trackpad's ID is 12 as well):

Device 'Cypress APA Trackpad (cyapa)':
    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 (265): 1
    Device Accel Constant Deceleration (266):   2.500000
    Device Accel Adaptive Deceleration (267):   1.000000
    Device Accel Velocity Scaling (268):    12.500000
    Synaptics Edges (269):  34, 836, 25, 445
    Synaptics Finger (270): 0, 0, 0
    Synaptics Tap Time (271):   0
    Synaptics Tap Move (272):   43
    Synaptics Tap Durations (273):  180, 180, 100
    Synaptics ClickPad (274):   1
    Synaptics Middle Button Timeout (275):  0
    Synaptics Two-Finger Pressure (276):    282
    Synaptics Two-Finger Width (277):   7
    Synaptics Scrolling Distance (278): -19, -19
    Synaptics Edge Scrolling (279): 0, 0, 1
    Synaptics Two-Finger Scrolling (280):   1, 1
    Synaptics Move Speed (281): 1.000000, 1.750000, 0.202429, 0.000000
    Synaptics Off (282):    0
    Synaptics Locked Drags (283):   0
    Synaptics Locked Drags Timeout (284):   5000
    Synaptics Tap Action (285): 2, 3, 0, 0, 1, 3, 0
    Synaptics Click Action (286):   1, 3, 0
    Synaptics Circular Scrolling (287): 0
    Synaptics Circular Scrolling Distance (288):    0.100000
    Synaptics Circular Scrolling Trigger (289): 0
    Synaptics Circular Pad (290):   0
    Synaptics Palm Detection (291): 0
    Synaptics Palm Dimensions (292):    10, 0
    Synaptics Coasting Speed (293): 20.000000, 50.000000
    Synaptics Pressure Motion (294):    30, 160
    Synaptics Pressure Motion Factor (295): 1.000000, 1.000000
    Synaptics Resolution Detect (296):  1
    Synaptics Grab Event Device (297):  0
    Synaptics Gestures (298):   1
    Synaptics Capabilities (299):   1, 0, 0, 1, 1, 1, 0
    Synaptics Pad Resolution (300): 10, 10
    Synaptics Area (301):   0, 0, 0, 0
    Synaptics Soft Button Areas (302):  435, 0, 385, 0, 0, 0, 0, 0
    Synaptics Noise Cancellation (303): 4, 4
    Device Node (260):  "/dev/input/event13"
    Tap Drag Enable (305):  1
    Tap Drag Delay (306):   0.060000
    Pointer Sensitivity (307):  4
    Two Finger Scroll Distance Thresh (308):    40.000000
    Two Finger Horizontal Close Distance Thresh (309):  100.000000
    Two Finger Vertical Close Distance Thresh (310):    85.000000
    Two Finger Pressure Diff Thresh (311):  80.000000
    SemiMT Correcting Filter Enable (312):  1
    Synaptics Tap FastTap (541):    0
    Synaptics Guestmouse Off (542): 0

Somehow, there isn't any listing of Tap Enable anywhere in the file. Should I be using sudo possibly? Never mind that part about sudo. I just tried it, and it outputs exactly the same list.

hugegreenbug commented 9 years ago

Oh, you are still using the synaptics driver. See how the synaptics options are showing up? Move the synaptics config file somewhere else or rename it so it doesn't end in .conf. On Dec 17, 2014 4:31 PM, "CoolOppo" notifications@github.com wrote:

Huh, it's not working. I tried setting the property, and then I even saved that file to /usr/share/X11/xorg.conf.d/50-touchpad-cmt-peppy.conf, but it didn't work. Is it possible that somehow I have one or more drivers installed alongside xf86-input-cmt?

Here is what xinput --list-props 12 shows me (my trackpad's ID is 12 as well):

Device 'Cypress APA Trackpad (cyapa)': 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 (265): 1 Device Accel Constant Deceleration (266): 2.500000 Device Accel Adaptive Deceleration (267): 1.000000 Device Accel Velocity Scaling (268): 12.500000 Synaptics Edges (269): 34, 836, 25, 445 Synaptics Finger (270): 0, 0, 0 Synaptics Tap Time (271): 0 Synaptics Tap Move (272): 43 Synaptics Tap Durations (273): 180, 180, 100 Synaptics ClickPad (274): 1 Synaptics Middle Button Timeout (275): 0 Synaptics Two-Finger Pressure (276): 282 Synaptics Two-Finger Width (277): 7 Synaptics Scrolling Distance (278): -19, -19 Synaptics Edge Scrolling (279): 0, 0, 1 Synaptics Two-Finger Scrolling (280): 1, 1 Synaptics Move Speed (281): 1.000000, 1.750000, 0.202429, 0.000000 Synaptics Off (282): 0 Synaptics Locked Drags (283): 0 Synaptics Locked Drags Timeout (284): 5000 Synaptics Tap Action (285): 2, 3, 0, 0, 1, 3, 0 Synaptics Click Action (286): 1, 3, 0 Synaptics Circular Scrolling (287): 0 Synaptics Circular Scrolling Distance (288): 0.100000 Synaptics Circular Scrolling Trigger (289): 0 Synaptics Circular Pad (290): 0 Synaptics Palm Detection (291): 0 Synaptics Palm Dimensions (292): 10, 0 Synaptics Coasting Speed (293): 20.000000, 50.000000 Synaptics Pressure Motion (294): 30, 160 Synaptics Pressure Motion Factor (295): 1.000000, 1.000000 Synaptics Resolution Detect (296): 1 Synaptics Grab Event Device (297): 0 Synaptics Gestures (298): 1 Synaptics Capabilities (299): 1, 0, 0, 1, 1, 1, 0 Synaptics Pad Resolution (300): 10, 10 Synaptics Area (301): 0, 0, 0, 0 Synaptics Soft Button Areas (302): 435, 0, 385, 0, 0, 0, 0, 0 Synaptics Noise Cancellation (303): 4, 4 Device Node (260): "/dev/input/event13" Tap Drag Enable (305): 1 Tap Drag Delay (306): 0.060000 Pointer Sensitivity (307): 4 Two Finger Scroll Distance Thresh (308): 40.000000 Two Finger Horizontal Close Distance Thresh (309): 100.000000 Two Finger Vertical Close Distance Thresh (310): 85.000000 Two Finger Pressure Diff Thresh (311): 80.000000 SemiMT Correcting Filter Enable (312): 1 Synaptics Tap FastTap (541): 0 Synaptics Guestmouse Off (542): 0

Somehow, there isn't any listing of Tap Enable anywhere in the file. Should I be using sudo possibly?

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/3#issuecomment-67416918 .

CoolOppo commented 9 years ago

Alright, will do.

CoolOppo commented 9 years ago

Thanks for your help. I was able to remove the synaptics drivers, and I deleted /usr/share/X11/xorg.conf.d/40-touchpad-cmt.conf. I'm not sure if deleting that file was necessary though.

By the way, I do use your distro for Ubuntu 14.04 with Unity! I upgraded it to 14.10 a while ago though. Thanks for that too, because without it, I would still probably be using crouton on my Chromebook.

hugegreenbug commented 9 years ago

No problem. That file was useful btw. It is for this driver. Anything with "cmt" in the name is related. Cmt=chrome mouse driver.

Cool that you are using my distro. I have a 14.10 version now too. On Dec 17, 2014 4:55 PM, "CoolOppo" notifications@github.com wrote:

Thanks for your help. I was able to remove the synaptics drivers, and I deleted /usr/share/X11/xorg.conf.d/40-touchpad-cmt.conf. I'm not sure if deleting that file was necessary though.

By the way, I do use your distro for Ubuntu 14.04 with Unity! I upgraded it to 14.10 a while ago though. Thanks for that too, because without it, I would still probably be using crouton on my Chromebook.

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/3#issuecomment-67419591 .

CoolOppo commented 9 years ago

That file was useful btw

Whoops. Good thing I mentioned it.

hugegreenbug commented 9 years ago

I just realized that cmt != chrome mouse driver. I don't know what the t stands for, but you get the idea :). On Dec 17, 2014 5:29 PM, "CoolOppo" notifications@github.com wrote:

That file was useful btw

Whoops. Good thing I mentioned it.

— Reply to this email directly or view it on GitHub https://github.com/hugegreenbug/xf86-input-cmt/issues/3#issuecomment-67423094 .