View previous topic :: View next topic |
Author |
Message |
Sethiel n00b
Joined: 26 Oct 2008 Posts: 37
|
Posted: Wed Oct 29, 2008 10:01 am Post subject: Touchpad driver |
|
|
OK, once again basic question. I have a touchpad and I'm trying to make it working as touchpad. Now it behaves as mouse. I'd like to, for example, allow the feature to catch an item (scrollbar) by double clicking with leaving my finger on touchpad the second time so I can drag and drop. How can I make this behavior work? _________________ Imagination is the only weapon in the war against reality. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Wed Oct 29, 2008 10:21 am Post subject: |
|
|
Read 'man synaptics'.
'synclient -l' will list current config.
If you enable SHMConfig you can use synclient to change configuration temporarily while X is on.
Mine looks like that (I still have some minor tapping issues sometimes that I don't have the time to workout):
Code: | szczerb@nomad ~ $ cat /etc/hal/fdi/policy/11-x11-synaptics.fdi
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="SynPS/2 Synaptics Touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SendCoreEvents" type="boolean">true</merge>
<merge key="input.x11_options.Protocol" type="string">auto-dev</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
<merge key="input.x11_options.TapButton1" type="integer">1</merge>
<merge key="input.x11_options.RBCornerButton" type="integer">3</merge>
<merge key="input.x11_options.RTCornerButton" type="integer">2</merge>
<merge key="input.x11_options.RightEdge" type="integer">5300</merge>
<merge key="input.x11_options.BottomEdge" type="integer">4300</merge>
<merge key="input.x11_options.TopEdge" type="integer">1600</merge>
<merge key="input.x11_options.FingerPress" type="integer">128</merge>
<merge key="input.x11_options.MaxTapMove" type="integer">40</merge>
</match>
</match>
</device>
</deviceinfo>
|
|
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Wed Oct 29, 2008 11:11 am Post subject: |
|
|
I don't seem to need the hal file (I do for keyboard).
I just have this in my xorg.conf. It provides the tap-thing
you want (you could add many many other features
of course).
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "synaptics"
Option "SHMConfig" "on"
Option "Protocol" "Auto"
Option "Device" "/dev/input/event4"
Option "TapButton1" "1"
Option "RTCornerButton" "2"
Option "AccelFactor" "0.0010"
EndSection
|
_________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Wed Oct 29, 2008 11:20 am Post subject: |
|
|
Oh my tapping does work. I just have some issues with it - it sometimes seems to ignore single taps....
hal is just the new way to configure xorg input devices, but xorg.conf still works. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Wed Oct 29, 2008 12:07 pm Post subject: Re: Touchpad driver |
|
|
Sethiel wrote: | OK, once again basic question. I have a touchpad and I'm trying to make it working as touchpad. Now it behaves as mouse. I'd like to, for example, allow the feature to catch an item (scrollbar) by double clicking with leaving my finger on touchpad the second time so I can drag and drop. How can I make this behavior work? |
I wonder if we made tapping work. I could not on my Lenovo Thinkpad X300. I have side scrolls, central circular scrolls etc, but not tapping.
I use xf86-video-intel-1.5.0 and xf86-input-synaptics-0.15.2 and my xorg.conf (I run stricktly -hal system) has
Code: |
Section "InputDevice"
# Identifier and driver
Identifier "Touchpad"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "SHMConfig" "true"
Option "LeftEdge" "130"
Option "RightEdge" "840"
Option "TopEdge" "130"
Option "BottomEdge" "640"
Option "FingerLow" "5"
Option "FingerHigh" "20"
Option "TapButton1" "1"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "EmulateMidButtonTime" "75"
Option "CornerCoasting" "true"
Option "VertScrollDelta" "20"
Option "HorizScrollDelta" "20"
Option "MinSpeed" "0.60"
Option "MaxSpeed" "1.10"
Option "AccelFactor" "0.030"
Option "EdgeMotionMinSpeed" "200"
Option "EdgeMotionMaxSpeed" "200"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "2"
EndSection
|
(settings a bit on a sensitive side)
I wonder if it has to with Thinkpads now coming not with a real synaptics but Alps touchpads. |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Wed Oct 29, 2008 12:18 pm Post subject: |
|
|
Try setting changing the FingerPress value. After upgrading the drivermy tapping was gone - until I realised that I just have to hit it very hard ;] and setting it to 128 helped me Also had to change MaxTapMove to double tap with the new driver. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Wed Oct 29, 2008 12:46 pm Post subject: |
|
|
szczerb wrote: | Try setting changing the FingerPress value. After upgrading the drivermy tapping was gone - until I realised that I just have to hit it very hard ;] and setting it to 128 helped me Also had to change MaxTapMove to double tap with the new driver. |
Nice suggestion, but, alas, does not seem to help. What is your hardware ?
Also, just hitting the touchpad does work like the first button (touching), it is hitting and hold to drag the window which does not |
|
Back to top |
|
|
blackwhite Apprentice
Joined: 24 Jun 2004 Posts: 250
|
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3269 Location: Canada
|
Posted: Tue Nov 25, 2008 10:39 pm Post subject: |
|
|
blackwhite wrote: | http://wiki.archlinux.org/index.php/Touchpad_Synaptics#My_toutchpad_don.27t_have_tapping_function |
I forgot about this thread. I actually made tapping to work. Had to increase MaxTapTime to 300 from 180 that I had. |
|
Back to top |
|
|
|