LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2009, 08:02 AM   #1
giberg
Member
 
Registered: Aug 2008
Location: Italy
Distribution: Slackware 13.0
Posts: 34

Rep: Reputation: 16
Touchpad (Alps, driver synaptics, Slackware 13): middle button click doesn't work


Hi,
I have a touchpad with three buttons (if I'm not mistaken it's an Alps). With the middle button (the "wheel") I can scroll but click doesn't work.
Is there any option to configure in 11-x11-synaptics.fdi?

Driver: synaptics
Os: Slackware 13

Code:
gianni@darkstar:~$ synclient -l
Parameter settings:            
    LeftEdge                = 153
    RightEdge               = 870
    TopEdge                 = 115
    BottomEdge              = 652
    FingerLow               = 12 
    FingerHigh              = 14 
    FingerPress             = 127
    MaxTapTime              = 180
    MaxTapMove              = 56 
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    FastTaps                = 0  
    EmulateMidButtonTime    = 75 
    EmulateTwoFingerMinZ    = 139
    EmulateTwoFingerMinW    = 7  
    VertScrollDelta         = 25 
    HorizScrollDelta        = 25 
    VertEdgeScroll          = 1  
    HorizEdgeScroll         = 0  
    CornerCoasting          = 0  
    VertTwoFingerScroll     = 0  
    HorizTwoFingerScroll    = 0  
    MinSpeed                = 0.4
    MaxSpeed                = 0.7
    AccelFactor             = 0.0391236
    TrackstickSpeed         = 40       
    EdgeMotionMinZ          = 14       
    EdgeMotionMaxZ          = 79
    EdgeMotionMinSpeed      = 1
    EdgeMotionMaxSpeed      = 102
    EdgeMotionUseAlways     = 0
    UpDownScrolling         = 1
    LeftRightScrolling      = 1
    UpDownScrollRepeat      = 1
    LeftRightScrollRepeat   = 1
    ScrollButtonRepeat      = 100
    TouchpadOff             = 0
    GuestMouseOff           = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 1
    ClickFinger3            = 1
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 99
    CoastingSpeed           = 0
    PressureMotionMinZ      = 14
    PressureMotionMaxZ      = 79
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 1
 
Old 09-01-2009, 08:28 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
I have an ALPS touchpad on my laptop.
I believe your problem is arising from these lines:
Code:
TapButton1              = 1
    TapButton2              = 0
    TapButton3              = 0
I have TapButton2 = 2 and TapButton3 = 3

I recently developed this 11-x11-synaptics.fdi and keep it in /etc/hal/fdi/policy/. It may save you some time to edit this with your settings, rather than develop from scratch.
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.SHMconfig" type="string">true</merge>
        <merge key="input.x11_options.LeftEdge" type="string">130</merge>
        <merge key="input.x11_options.RightEdge" type="string">900</merge>
        <merge key="input.x11_options.TopEdge" type="string">130</merge>
        <merge key="input.x11_options.BottomEdge" type="string">680</merge>
        <merge key="input.x11_options.FingerLow" type="string">10</merge>
        <merge key="input.x11_options.FingerHigh" type="string">20</merge>
        <merge key="input.x11_options.MaxTapTime" type="string">180</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">30</merge>
        <merge key="input.x11_options.MaxDoubleTapTime" type="string">180</merge>
        <merge key="input.x11_options.SingleTapTimeout" type="string">130</merge>
        <merge key="input.x11_options.ClickTime" type="string">50</merge>
        <merge key="input.x11_options.FastTaps" type="string">false</merge>
        <merge key="input.x11_options.EmulateMidButtonTime" type="string">75</merge>
        <merge key="input.x11_options.VertScrollDelta" type="string">20</merge>
        <merge key="input.x11_options.HorizScrollDelta" type="string">20</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">false</merge>
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">false</merge>
        <merge key="input.x11_options.MinSpeed" type="string">0.30</merge>
        <merge key="input.x11_options.MaxSpeed" type="string">0.75</merge>
        <merge key="input.x11_options.AccelFactor" type="string">0.015</merge>
        <merge key="input.x11_options.EdgeMotionMinZ" type="string">25</merge>
        <merge key="input.x11_options.EdgeMotionMaxZ" type="string">50</merge>
        <merge key="input.x11_options.EdgeMotionMinSpeed" type="string">100</merge>
        <merge key="input.x11_options.EdgeMotionMaxSpeed" type="string">200</merge>
        <merge key="input.x11_options.EdgeMotionUseAlways" type="string">false</merge>
        <merge key="input.x11_options.UpDownScrolling" type="string">true</merge>
        <merge key="input.x11_options.LeftRightScrolling" type="string">true</merge>
        <merge key="input.x11_options.UpDownRepeat" type="string">true</merge>
        <merge key="input.x11_options.LeftRightRepeat" type="string">true</merge>
        <merge key="input.x11_options.ScrollButtonRepeat" type="string">100</merge>
        <merge key="input.x11_options.TouchpadOff" type="string">0</merge>
        <merge key="input.x11_options.GuestMouseOff" type="string">false</merge>
        <merge key="input.x11_options.LockedDrags" type="string">false</merge>
        <merge key="input.x11_options.RTCornerButton" type="string">0</merge>
        <merge key="input.x11_options.RBCornerButton" type="string">0</merge>
        <merge key="input.x11_options.LTCornerButton" type="string">2</merge>
        <merge key="input.x11_options.LBCornerButton" type="string">3</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.TapButton2" type="string">2</merge>
        <merge key="input.x11_options.TapButton3" type="string">3</merge>
        <merge key="input.x11_options.CircularScrolling" type="string">false</merge>
        <merge key="input.x11_options.CircScrollDelta" type="string">0.1</merge>
        <merge key="input.x11_options.CircScrollTrigger" type="string">2</merge>
        <merge key="input.x11_options.CircularPad" type="string">false</merge>
        <merge key="input.x11_options.PalmDetect" type="string">true</merge>
        <merge key="input.x11_options.PalmMinWidth" type="string">10</merge>
        <merge key="input.x11_options.PalmMinZ" type="string">200</merge>
        <merge key="input.x11_options.CoastingSpeed" type="string">0</merge>
        <merge key="input.x11_options.PressureMotionMinZ" type="string">25</merge>
        <merge key="input.x11_options.PressureMotionMaxZ" type="string">50</merge>
        <merge key="input.x11_options.PressureMotionMinFactor" type="string">1</merge>
        <merge key="input.x11_options.PressureMotionMaxFactor" type="string">2</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at runtime
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

        Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics man page
        -->
    </match>
  </device>
</deviceinfo>
 
Old 09-01-2009, 08:42 AM   #3
giberg
Member
 
Registered: Aug 2008
Location: Italy
Distribution: Slackware 13.0
Posts: 34

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by allend View Post
I have an ALPS touchpad on my laptop.
I believe your problem is arising from these lines:
Code:
TapButton1              = 1
    TapButton2              = 0
    TapButton3              = 0
I have TapButton2 = 2 and TapButton3 = 3
Thanks allend.

Yes, TapButton3=3 works. But I don't want to emulate the middle button tapping with three or two fingers. I prefer to use the "middle/scroll" button.
 
Old 09-01-2009, 08:45 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
Quote:
I prefer to use the "middle/scroll" button.
Lucky you! I do not have one of those.
Glad you got it working.
 
Old 09-01-2009, 08:54 AM   #5
giberg
Member
 
Registered: Aug 2008
Location: Italy
Distribution: Slackware 13.0
Posts: 34

Original Poster
Rep: Reputation: 16
With the old Xorg I never used the synaptics driver with my touchpad. The middle button worked, scrolling and clicking.
Now HAL makes it work with the synaptics driver...

Last edited by giberg; 09-01-2009 at 08:56 AM.
 
Old 09-01-2009, 09:05 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
Quote:
With the old Xorg I never used the synaptics driver with my touchpad. The middle button worked, scrolling and clicking.
Hmm. Sounds as though it was being handled by the PS/2 mouse module.
Quote:
Now HAL makes it work with the synaptics driver...
This is an example where using HAL is easier than having to deal with setting up xorg.conf
 
Old 09-01-2009, 09:23 AM   #7
giberg
Member
 
Registered: Aug 2008
Location: Italy
Distribution: Slackware 13.0
Posts: 34

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by allend View Post
Hmm. Sounds as though it was being handled by the PS/2 mouse module.
Right...

I found this:

http://blog.rtg.in.ua/2008/06/aspire...-joystick.html

It's my touchpad.

The only thing I like is the middle button. I don't want the features provided by synaptics.
 
Old 09-01-2009, 09:51 AM   #8
giberg
Member
 
Registered: Aug 2008
Location: Italy
Distribution: Slackware 13.0
Posts: 34

Original Poster
Rep: Reputation: 16
If I press the right and the left button at the same time I can simulate the middle button but I prefer the real one.

Quote:
Originally Posted by giberg View Post
Yes, TapButton3=3 works.
Hmmm... Why I said it works?

It does NOT work!

Maybe I should try to use an xorg.conf with the PS/2 (IMPS/2?) module.
 
Old 09-01-2009, 10:09 AM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,382

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
If you do not want the touchpad, then try
Quote:
<merge key="input.x11_options.TouchpadOff" type="string">1</merge>
You may have to set PS/2 mouse options to get the three button behaviour that you want.
 
Old 11-06-2011, 08:15 AM   #10
wubai
Member
 
Registered: Dec 2009
Posts: 103

Rep: Reputation: 20
hi, i got almost the same problem, the touchpad works very slowly and being very very anoying when typing, i dont find any touchpad being loaded 'xinput list' output
machine:dell inspiron m5110
os:slackware 13.1

here is my xinput list output:

xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=7 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=9 [slave pointer (2)]
⎜ ↳ USB OPTICAL MOUSE id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=6 [slave keyboard (3)]
↳ Dell WMI hotkeys id=8 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
↳ Sleep Button id=12 [slave keyboard (3)]
↳ Power Button id=13 [slave keyboard (3)]
↳ Video Bus id=14 [slave keyboard (3)]
↳ Power Button id=15 [slave keyboard (3)]

any idea how to disable it ? thanks !
 
Old 11-06-2011, 10:58 AM   #11
wubai
Member
 
Registered: Dec 2009
Posts: 103

Rep: Reputation: 20
cox i use a usb mouse, so i tried to 'rmmod psmouse', it turned out touchpad is disabled. i guess psmouse is the module for alps touchpad
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptics touchpad not recognised by synaptics driver (12.1) bogzab Slackware 13 03-22-2009 09:23 PM
Getting Alps touchpad to work in Slackware 12.2 hirts123 Linux - Hardware 2 01-26-2009 11:15 AM
Need to kill touchpad click. (Synaptics Touchpad / FC4) sarysa Linux - Laptop and Netbook 4 02-19-2007 03:15 PM
ALPS touchpad problem using Synaptics 0.14 Module Darwish Linux - Hardware 3 12-25-2005 04:59 PM
stop synaptics touchpad tap click easily Frank Leone Linux - Newbie 6 10-30-2005 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration