simulation of mouse middle and right buttons on touchpad

Hi
moving from 11.0 to 11.1 I’m no more able to configure the simulation of middle and right mouse buttons with the touchpad.

In 11.0 I’m able to simulate:

middle mouse button with two fingers tap
right mouse button with three fingers tap

You need to download and install the file, from the website.

Or to put it another way; it’s completely impossible to answer such a post without specific details - like, you know, which touchpad. :wink:

Sorry
I guess that there was only one type of laptop touchpad :X.
This is what I was able to get from the “dmesg”

Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04731/0xa40000
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input

:wink: No worries - it’s easy to forget these things. Excuse the slightly sarcastic reply, I was tired…

You could try booting to runlevel 3 and running sax2 on the offchance it picks it up again.

Otherwise, I think the standard way to tune a synaptics touchpad these days is with hal fdi files.

There will be a directory in /etc/hal/fdi/policy/. If you put an .fdi file in that directory containing the configuration, it should work.

You can find sample configurations on the Arch wiki here.

The troublesome bit is getting the speed to feel right - there are a few variables that have to be balanced against each other. I suppose you could try a file that just specifies the buttons and doesn’t mention the speed, and hope that it keeps the speed it already has… But I suspect it won’t. :frowning:

Sorry though - that’s the best idea I’ve got. Hopefully someone has a better one…

**

Don’t worry I’m vrey thankfull for the time you are spending to help me :).

Your information are very useful, I heard the first time of fdi file tryng to install 11.2 and noting that sax2 has no more mouse section.

I’m going to try…

No worries - had this problem (and a few similar ones) myself. I hope it works.

If you end up using the .fdi file route I’d be curious to see what minspeed maxspeed and accelfactor you settle on. I’ve never been able to get mine to feel quite right.

I tryed with the file

/etc/hal/fdi/policy/11-x11-synaptics.fdi

pasted from the link

Touchpad Synaptics - ArchWiki

and it doesn’t work >:(

I followed the indication of inserting the option into the device section of xorg,conf

Touchpad Synaptics - ArchWiki

but doesn’t work too.

What had I missed?

Is there a directory in /etc/hal/fdi/policy?

I don’t think it’s supposed to go in /policy itself…

Also, you will probably have to get the right info.product key. And there I can’t help you…

on my system there is no directory under policy so I create the file

11-x11-synaptics.fdi

under policy.

Moreover I cant understand why the option I inserted into the xorg.conf file that was correctly read and reported in the Xorg.0.log are no effect

Did you add the serverlayout and module sections, as well as the inputdevice one?

Sorry… I’m out of ideas. :frowning: Good luck.

This is the server section

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Screen       "Screen[0]"
EndSection

and this the input device

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Emulate3Buttons" "on"
  Option       "TapButton1" "1"
  Option       "TapButton2" "2"
  Option       "TapButton3" "3" 	
  Option       "HorizScrollDelta" "0"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "SHMConfig" "on"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

The arch wiki suggests that you need a Load “synaptics” line in a module section too. If there isn’t a module section, you can create it. Worst you’d have to do is boot to runlevel 3 and remove it again…

Hi
module section in xorg.conf?
Please would you post your xorg.conf mouse section or *.fdi file for help?
I am still unable to make the tapping 2 and 3 working

I’ve just noticed, in 11.2 at least, that gsynaptics does appear to work. Might be worth a shot…

This is my xorg.conf from SUSE 11.2;


Section "Module"
  Load         "dbe"
  Load         "extmod"
  Load         "glx"
  Load         "dri"
EndSection

...]

Section "InputDevice"
  # Driver "mouse" will be disabled unless 'Option "AutoAddDevices" "off"' 
  # is set in "ServerFlags" section. 
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ETPS/2 Elantech Touchpad"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

...]

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

This is from Arch - I don’t use an FDI file at present in SUSE, it seems to work OK of its own accord.

linux-z9ow:/mnt/arch/etc/hal/fdi/policy # cat 11-synaptic-options.fdi


<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>
   <match key="info.product" contains="ETPS/2 Elantech Touchpad">
     <merge key="input.x11_driver" type="string">synaptics</merge>
     <merge key="input.x11_options.SHMConfig" type="string">on</merge>
     <merge key="input.x11_options.MaxSpeed" type="string">1.50</merge>
     <merge key="input.x11_options.MinSpeed" type="string">0.05</merge>
     <merge key="input.x11_options.AccelFactor" type="string">0.15</merge>
     <merge key="input.x11_options.Emulate3Buttons" type="string">on</merge>
     <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
     <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</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.LockedDrags" type="string">1</merge>
   </match>
 </device>
</deviceinfo>